• src/sbbs3/scfg/scfg.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Dec 17 01:09:00 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/f632d40707b8b91f2175cbad
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Print the Synchronet REVISION (e.g. 318c) and Git info on stdout

    Uses the git_branch and git_hash files created in sbbs3 (first).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sat Feb 11 13:35:16 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/0a5404db9ec78ae79838c22e
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Set the Window title to override the default: "SyncConsole"

    This appeared in the ChromeOS taskbar, so now it'll say
    "Synchronet Configuration" instead.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Fri Feb 17 20:29:43 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/22576e6cc91a06cc2b9e4430
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    A little cosmetic adjustment to the setup wizard

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Fri Feb 17 20:38:03 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/deaee15785b8df2eb4944c97
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Fix compile error about label and statements from gcc version 10.2.1

    Interestingly, gcc version 12.2 and MSVC 2019 had no problem with this code.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Fri Feb 17 23:16:37 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/4478ff19c293c86961a2f2b7
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Display the system password prompt in the Wizard with no border

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Sat Feb 18 18:50:27 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/737989d7fd5bdc0b289c0d96
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Use 'logon' instead of 'login' in the config wizard

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Sun Feb 19 13:31:55 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/49c65b356ec808c66ddf505a
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Add a figlet logo to the wizard welcome page

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sun Mar 26 19:58:09 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/0348ea8ae616e084cfc77825
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    The '-f' (force save) option now read/re-writes the sbbs.ini file too

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Mon Mar 27 17:59:21 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/526742b0be2014ad0a14725c
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Check result of sbbs_write_ini() - CID 451084

    And display an error message upon failure.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Fri Apr 14 00:01:52 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f881f667decbdc5aff630b45
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Break with legacy command-line syntax (e.g. don't support /options) for SCFG

    Command-line options must begin with '-' (not ye olde CPM/DOS '/option') Command-line options are now all case sensitive (e.g. '-a' not '-A').

    Remove '-d' (long deprecated for '-id')
    Remove '-t' (long deprecated, do nothing)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Fri Apr 14 00:01:52 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/b3c63244d5d4e7148c92fe6e
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Add -A (capital a) option to enable alternate/ASCII arrow symbol mode

    The CP437 character characters used for the arrow indicators aren't always mapped to the expected characters in all fonts (e.g. on Windows), so add an option to use ASCII alternatives (<>^v) when that's a problem.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Mon May 1 12:06:14 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/880ad0752fe20e08fde6ac77
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Call crptEnd() when exiting to make valgrind (more) happy

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Mon May 1 12:40:36 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f1efee2441bee930b236b820
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Resolve some "possibly lost" valgrind-reported memleaks

    Use a static char string list for the main menu options. These can't be const becaue uifc.list() *can* modify them (!) - if they're too long.

    Free the global opt[] (option list) when exiting.

    These really are not of themselves important, but reduce the noise reported by valgrind when looking for real issues.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Aug 30 17:05:21 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/3b269fb54906012d51da9d0f
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Fix "Error writing /path/to/sbbs.ini" when using '-f' option.

    Wasn't opening the sbbs.ini file for modify access.

    As reported via DOVE-Net by Accession (PHARCYDE)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Nov 22 15:30:20 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/2adf1459c4a90ca1001199bc
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Fix CID 465170

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri May 3 19:37:52 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/c1847394828b08393e5d6f17
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Re-assign the dirnum and subnum fields after sorting dirs or subs

    The dirnum and subnum are used for the next/previous (left and right) arrow
    nav through sub-boards and directories. For message groups or file libs that are configured to auto-sort the sub-boards or directory list, when importing
    an unsorted list, the dirnum and subnum values would then be wrong after the qsort() at the end of the import thus making the left/right nav thing broken (jump to other groups/libs and such).

    This fixes that.

    Could I have fixed this by passing an index value to the next/prev_dirnum()
    and _subnum() functions and returning the next/previous index value instead of relying on the subnum/dirnum elemment to be correct? Maybe. <shrug>
    Do I like second guessing myself? Not really.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Mon May 13 22:50:27 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/834c21eb95ffd488fbcf4ff4
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Allow SCFG ciolib and uifc parameters to be read from ctrl/scfg.ini

    If a sysop wants to override the default user interface/console I/O library behavior of SCFG without using command-line arguments, they can create a ctrl/scfg.ini file with the following optional [section] keys:

    [uifc]
    mode (advanced uses, e.g. disabling mouse support)
    height (in lines)
    insert (keyboard insert mode, not overwrite)
    esc_delay (ESC-key delay)

    [ciolib]
    mode (advanced uses)
    scaling (fractional values, e.g. 1.5, supported)
    height (in pixels)
    width (in pixels)

    Command-line arguments take precedence over scfg.ini settings (if set).

    The scfg.ini file is read *before* parsing command-line args, so if a ctrl directory is specified on the command-line (e.g. rather than via environment variable), the scfg.ini file won't be read from that specified location but rather the default (/sbbs/ctrl) or the SBBSCTRL env var value.

    Another attempt to make Nelgin happy and close out issue #749, though no, this doesn't auto-save the current parameters (you'll have to create/edit the scfg.ini file by hand).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed May 15 19:15:04 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/3bcd89b864fa03a3989a4101
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Overhaul scfg.ini keys

    All keys are now in the root/global section and they are now:

    video_mode (default: 42)
    uifc_mode (default: 0)
    ciolib_mode (default: 0)
    scaling (default: 0)
    lines (default: 25)
    insert (default: false)
    esc_delay (default: 25)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat May 25 15:19:06 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/86730e2a9fdbb08ef9c4101a
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Use new read_uifc_ini() to scfg.ini or (if it doesn't exist), uifc.ini

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Mar 14 20:58:13 2020
    src/sbbs3/scfg scfg.c 1.106 1.107
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv32187

    Modified Files:
    scfg.c
    Log Message:
    Use puts() rather tha uifc.msg() if uifc hasn't been initialized.
    When importing an area list using the -import=<filename> option, if any
    error occurred, scfg would segfault while trying to display the error
    message because it was trying to use uifc.msg() which was a NULL pointer.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Mar 24 20:27:45 2020
    src/sbbs3/scfg scfg.c 1.108 1.109
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv13675

    Modified Files:
    scfg.c
    Log Message:
    Enter text file section internal codes in upper case
    (in the same vein as internal codes are entered in the rest of SCFG).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Mar 24 20:46:16 2020
    src/sbbs3/scfg scfg.c 1.109 1.110
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv18111

    Modified Files:
    scfg.c
    Log Message:
    Command shell internal codes should be entered in ALL CAPS TOO!


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Mar 24 20:53:34 2020
    src/sbbs3/scfg scfg.c 1.110 1.111
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv19875

    Modified Files:
    scfg.c
    Log Message:
    Move Internal Code up (above Access Requirements) in the Command Shell
    and Text Section configuration menus to be consistent with other areas of
    SCFG.
    Don't default a new text section name to "ANSI Artwork" any more.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Mar 31 13:23:21 2020
    src/sbbs3/scfg scfg.c 1.112 1.113
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv2006

    Modified Files:
    scfg.c
    Log Message:
    Fix off-by-one in -faddr argument value parsing.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 3 13:50:40 2020
    src/sbbs3/scfg scfg.c 1.113 1.114
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv13663

    Modified Files:
    scfg.c
    Log Message:
    Remove some useless cruft that appears to be leftover from the time when help files were external to the executable (to conserve that precious 640KB of RAM!) Some more use of SAFEPRINTF for good mesaure.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Apr 7 13:31:15 2020
    src/sbbs3/scfg scfg.c 1.115 1.116
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/home/rswindell/sbbs/src/sbbs3/scfg

    Modified Files:
    scfg.c
    Log Message:
    Eliminate unused variable: exepath (moreo cruft from external help files)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 12 11:28:36 2020
    src/sbbs3/scfg scfg.c 1.116 1.117
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/home/rswindell/sbbs/src/sbbs3/scfg

    Modified Files:
    scfg.c
    Log Message:
    Added support for -iI to force curses ASCII mode.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Aug 16 17:48:43 2020
    src/sbbs3/scfg scfg.c 1.117 1.118
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/home/rswindell/sbbs.cvssync/src/sbbs3/scfg

    Modified Files:
    scfg.c
    Log Message:
    Merge from gitlab master branch (experiment).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Thu Sep 17 15:33:17 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/c1136cddc4f532b89a9d9f3d
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Added missing/better online help on Command Shells.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Dec 1 21:17:48 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/62364efc6971545919e953e6
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Document the -insert option... finally.

    It enables the keyboard insert mode by default (for Nelgin).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Nov 1 17:16:04 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/cf33ffcf7a1e4b27b601625c
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    The wizard progress bar is wider now (more pages), so need to adjust position

    to not overwrite help "screen" borders

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net