• src/sbbs3/scfg/scfg.c

    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 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