• exec/xtrn_sec.js

    From Rob Swindell@VERT to Git commit to sbbs/master on Tuesday, November 03, 2020 12:44:51
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/8dfb469c0581ef03ec736dae
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Support text/menu/xtrn<sec-code>.* and text/menu/xtrn<sec-code>_head.* files

    Using the xtrn program section internal code protects against renumbering upon configuration changes (inserting/removing program sections).
    At Nelgin's suggestion/request.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to Main/master on Tuesday, November 24, 2020 15:37:04
    https://gitlab.synchro.net/main/sbbs/-/commit/dc70b7de09629773a2303acd
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Refactor commit b63b3bb3a85 (customizable xtrn program section menu)

    Use the text.dat strings that corresponded with the previous behavior
    (used by console.uselect()). The defaults include new-lines, so removed
    some hard-coded console.crlf() calls that were added. If you have a
    custom section_header_fmt, you'll likely need to add a \r\n to it.

    Allow the "External Program Section" title string to be customized
    (separately from section_header_fmt, e.g. for localization).

    Save/use the current section.

    Mouse-enable the program section list.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to Git commit to main/sbbs/master on Monday, November 30, 2020 18:18:25
    https://gitlab.synchro.net/main/sbbs/-/commit/15c4611531def3af43843599
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Add similar functionality to the xtrn<secnum>_head file but will
    display the file after the list of external programs.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, November 30, 2020 18:18:25
    https://gitlab.synchro.net/main/sbbs/-/commit/0d0863d2a79c3803146b4173
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Merge branch 'nelgin/xtrn_tail' into 'master'

    Nelgin/xtrn tail

    See merge request main/sbbs!48

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, November 30, 2020 18:37:03
    https://gitlab.synchro.net/main/sbbs/-/commit/b4fbc321e479305a3afe809b
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Support text/menu/xtrn*_tail even when xtrn<secnum|name> menu exists.

    Previously, the xtrn*_tail menu was only displayed in the programmatic menu mode.

    Also, using the P_NOERROR mode flag for bbs.menu() to simplify all the if/else logic.

    And use require() instead of load().

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Michael Long@VERT to Git commit to main/sbbs/master on Monday, November 30, 2020 20:19:24
    https://gitlab.synchro.net/main/sbbs/-/commit/bab4a66824b99bb9f940d6d7
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    add global head and tail for both section menu and external program menu
    use options.clear_screen for clear instead of hardcoded value in SelectItemHdr remove redundant code for input in main section menu

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, November 30, 2020 20:19:24
    https://gitlab.synchro.net/main/sbbs/-/commit/d995e889e9ad303dc1a01bde
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Merge branch 'mlong/xtrnheadtail' into 'master'

    add global head and tail for both section menu and external program menu

    See merge request main/sbbs!49

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, December 06, 2020 14:30:20
    https://gitlab.synchro.net/main/sbbs/-/commit/3470d723eb6163b64fed0734
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    "center" feature/option added and text.dat section header suppression

    Add support for modopts.ini "center=true" option to center single-column program listing in the terminal.

    When a custom section header files (xtrn<sec>_head.*) is displayed, don't
    print the XtrnProgLstHdr string from the text.dat.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, December 06, 2020 15:56:46
    https://gitlab.synchro.net/main/sbbs/-/commit/400c5e0b0f452096aeeeae55
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Give the section selection menu the same center & header suppression treatment

    Don't display the text.dat SelectItemHdr if an xtrn_sec_head.* file was shown. Center the sections and the "Which" prompt when the "center=true" modopts.ini option is set.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Michael Long@VERT to Git commit to main/sbbs/master on Friday, January 01, 2021 18:21:34
    https://gitlab.synchro.net/main/sbbs/-/commit/62c559efa674be5d6e2fdcd1
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    If you aren't using a custom xtrn menu head per section, then you might fall back on a global one...but the prior logic would not display the actual section heading if it used a global (xtrn_head) file. If you are using xtrn_head, you don't have anything in there with a section name, so display the section name from code again

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, January 01, 2021 18:21:34
    https://gitlab.synchro.net/main/sbbs/-/commit/b71a818491f7a3b500d89491
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Merge branch 'xtrnhead' into 'master'

    If using xtrn_head, display section name/header as well

    See merge request main/sbbs!67

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, January 01, 2021 20:10:28
    https://gitlab.synchro.net/main/sbbs/-/commit/b3b4d332acd1b61cdbbd6d8d
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Please test before you commit and a submit merge request.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, January 26, 2022 20:22:19
    https://gitlab.synchro.net/main/sbbs/-/commit/0deb94c785d2f6223a00e258
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Fix default program section selection

    Hitting [Enter] is supposed to select the current/default program
    section. Instead, it was quitting. This was apparently broken as
    part of the xtrn_sec.js refactor a year or so ago by/with mlong.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, July 03, 2022 16:04:04
    https://gitlab.synchro.net/main/sbbs/-/commit/0021b378b3edf3ebd36df174
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Add a carriage-return to the mouse hotspot value when needed

    For program listings, if the program number is fewer digits than the total program list count (number of digits), then a carriage return is required
    to launch that program. Automate this for the mouse hotspot value, so clicking Program #1 in a list of 10+ will just run that program and not require the
    user to hit the Enter key.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, July 16, 2022 17:43:28
    https://gitlab.synchro.net/main/sbbs/-/commit/8651f2afd696e49a0eb783eb
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Don't treat Enter as choosing default section when no prompt was shown

    As pointed out via DOVE-Net by DesotoFireflite (VALHALLA):
    When xtrn_sec.* display file/menu is used, there's no auto-generated
    prompt (with a default section number indicated). So hitting Enter
    in this case and having the previous/default program section selected
    would be surprising behavior to a user. So, only support a default
    section selection when there was no xtrn_sec.* menu/display file.

    ---
    þ 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 Saturday, March 02, 2024 18:40:01
    https://gitlab.synchro.net/main/sbbs/-/commit/ec6e617029885b4e1ebd7a0e
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Don't try to center on terminals < 80 columns wide

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