• src/sbbs3/scfg/scfg.c

    From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Sun Mar 26 19:58:08 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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Mon Mar 27 17:59:20 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 451084And display an error message upon failure.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 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 SCFGCommand-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)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 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 memleaksUse a static char string list for the main menu options. These can't be constbecaue 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 byvalgrind when looking for real issues.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wed Aug 30 17:05:20 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)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Mon May 13 22:50:26 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).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 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)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Sun Dec 22 15:40:10 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/c8d9d95c19cac4f2fd113abc
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    When using -f (force save), don't write sbbs.ini contents to xtrn.ini

    Bug
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Wed Jan 1 15:08:34 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/59fe82a21dcaace5f5a22f9a
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Add additional key/combinatino help text

    Many sysops probably don't realize these keys do special stuff.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Jan 6 13:47:10 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/6dccd65657f2f6fbff03a8f1
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    When we set the title, grab the length and use it.

    Since "FreeBSD" is longer than "Win32" or "Linux", we can't use
    a fixed position/length here or the version number will get chopped
    off.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Jan 6 16:40:06 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/c9220e83f6b490623e42a89f
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Check UIFC_XF_QUIT when asking to exit
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Jan 7 00:48:50 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/985865eb2321ae4f5958ddfa
    Modified Files:
    src/sbbs3/scfg/scfg.c
    Log Message:
    Use the new thing to make "Save Changes?" things ATEXIT.

    If ESC is pressed, clears the UIFC_XF_QUIT and aborts the exit.
    Otherwise, continues exiting.

    Not sure if there's anywhere else that needs the ATEXIT change to
    avoid infinite exit loopage.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)