• exec/xtrn_sec.js

    From rswindell@1:103/705 to CVS commit on Sat Mar 14 01:28:56 2020
    exec xtrn_sec.js 1.21 1.22
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv24290

    Modified Files:
    xtrn_sec.js
    Log Message:
    Forced-reset the console attributes when returning from a door.


    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Mar 22 02:45:25 2020
    exec xtrn_sec.js 1.22 1.23
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv3690

    Modified Files:
    xtrn_sec.js
    Log Message:
    This change allow with an upcoming change to text.dat allows > 25 chars
    of external program names to be displayed:
    32 chars in multicolumn mode
    40 chars in singlecolumn mode

    New modopts.ini [xtrn_sec] keys:
    - multicolumn_separator (default: " ")
    - singlecolumn_margin (default: 7)
    - singlecolumn_height (default: screen rows - singlecolumn_margin)
    - singlecolumn_lstfmt (default: "\x01h\x01c%3u \xb3 \x01n\x01c%s\x01h ")



    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Apr 22 16:01:18 2020
    exec xtrn_sec.js 1.23 1.24
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19256

    Modified Files:
    xtrn_sec.js
    Log Message:
    For Nelgin: if text/menu/xtrn#_head.* exists, display it before the auto-generated program list for that section # or the custom menu for that section.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Apr 22 18:33:31 2020
    exec xtrn_sec.js 1.24 1.25
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv7529

    Modified Files:
    xtrn_sec.js
    Log Message:
    Allow all the displayed strings to be over-ridden with modopts.ini [xtrn_sec] key values (the defaults of which mostly come from text.dat).

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Apr 22 18:58:48 2020
    exec xtrn_sec.js 1.25 1.26
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv10788

    Modified Files:
    xtrn_sec.js
    Log Message:
    Clear the screen from here (rather than depending on menu/header files or text.dat strings to do it) by default. Set "clear_screen = false" in
    [xtrn_sec] of modopts.ini to disable.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat May 9 03:05:15 2020
    exec xtrn_sec.js 1.27 1.28
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv18348

    Modified Files:
    xtrn_sec.js
    Log Message:
    Add hotspots to 2nd column, when multicolumn.


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat May 9 03:11:23 2020
    exec xtrn_sec.js 1.28 1.29
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19425

    Modified Files:
    xtrn_sec.js
    Log Message:
    Define "use strict" - insure no \001's sneak into this file.


    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Sun Sep 13 22:58:30 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/45afbcddaede90ca17cafd10
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Reset to attributes to normal (lightgray, black bg) before executing xtrns
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Tue Nov 3 12:44:51 2020
    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.* filesUsing the xtrn program section internal code protects against renumbering uponconfiguration changes (inserting/removing program sections).At Nelgin's suggestion/request.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to Main/master on Tue Nov 24 15:37:04 2020
    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 removedsome hard-coded console.crlf() calls that were added. If you have acustom 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.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to Git commit to main/sbbs/master on Mon Nov 30 18:18:25 2020
    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 willdisplay the file after the list of external programs.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Nov 30 18:18:25 2020
    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 tailSee merge request main/sbbs!48
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Nov 30 18:37:03 2020
    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 menumode.Also, using the P_NOERROR mode flag for bbs.menu() to simplify all the if/elselogic.And use require() instead of load().
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael Long@1:103/705 to Git commit to main/sbbs/master on Mon Nov 30 20:19:24 2020
    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 menuuse options.clear_screen for clear instead of hardcoded value in SelectItemHdrremove redundant code for input in main section menu
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Nov 30 20:19:24 2020
    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 menuSee merge request main/sbbs!49
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Dec 6 14:30:20 2020
    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 suppressionAdd support for modopts.ini "center=true" option to center single-columnprogram listing in the terminal.When a custom section header files (xtrn<sec>_head.*) is displayed, don'tprint the XtrnProgLstHdr string from the text.dat.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Dec 6 15:56:46 2020
    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 treatmentDon'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.inioption is set.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael Long@1:103/705 to Git commit to main/sbbs/master on Fri Jan 1 18:21:34 2021
    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
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Fri Jan 1 18:21:34 2021
    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 wellSee merge request main/sbbs!67
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Fri Jan 1 20:10:28 2021
    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.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Wed Jan 26 20:22:19 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/0deb94c785d2f6223a00e258
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Fix default program section selectionHitting [Enter] is supposed to select the current/default programsection. Instead, it was quitting. This was apparently broken aspart of the xtrn_sec.js refactor a year or so ago by/with mlong.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Jul 3 16:04:04 2022
    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 neededFor program listings, if the program number is fewer digits than the totalprogram list count (number of digits), then a carriage return is requiredto launch that program. Automate this for the mouse hotspot value, so clickingProgram #1 in a list of 10+ will just run that program and not require theuser to hit the Enter key.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Jul 16 17:43:28 2022
    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 shownAs pointed out via DOVE-Net by DesotoFireflite (VALHALLA):When xtrn_sec.* display file/menu is used, there's no auto-generatedprompt (with a default section number indicated). So hitting Enterin this case and having the previous/default program section selectedwould be surprising behavior to a user. So, only support a defaultsection selection when there was no xtrn_sec.* menu/display file.
    --- SBBSecho 3.15-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 Sat Mar 2 18:40:01 2024
    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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)