• exec/text_sec.js

    From rswindell@VERT to CVS commit on Tuesday, March 24, 2020 19:55:47
    exec text_sec.js 1.3 1.4
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19979

    Modified Files:
    text_sec.js
    Log Message:
    Fix bug introduced in previous commit of this file: files outside of the text/data/<code> dir were not viewable at all.
    Now, not only can files be located outside of text/data/<code>, but the path can also include command-line specifiers (e.g. %z for text, %j for data) so
    the paths remain valid even if directory paths are reconfigured in SCFG.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, April 03, 2020 00:52:30
    exec text_sec.js 1.4 1.5
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv22881

    Modified Files:
    text_sec.js
    Log Message:
    Use the .ini formatted index files now (created/migrated by update.js.
    New per-file properties supported:
    - ars: access requirement string
    - tail: print (view) the last n-lines of a text file rather than entire file
    - mode: override P_mode flags (default is now P_OPENCLOSE | P_CPM_EOF)

    The 'E' opertor command allows each file description to be edited too.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, April 03, 2020 16:57:10
    exec text_sec.js 1.5 1.6
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv23729

    Modified Files:
    text_sec.js
    Log Message:
    Better abort (Ctrl-C) detection in various places.
    An auto-add type feature (fills in the next non-indexed filename for you).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, May 02, 2020 00:02:22
    exec text_sec.js 1.6 1.7
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv11892

    Modified Files:
    text_sec.js
    Log Message:
    Save the path of the file added.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, May 04, 2020 01:01:51
    exec text_sec.js 1.7 1.8
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv25807

    Modified Files:
    text_sec.js
    Log Message:
    When editing a descripton, actuallly save it.
    When viewing, default to view the next file.
    Support a "petscii_graphics=true" setting for displaying PETSCII files that use the Upper/Graphics character set rather than the Upper/Lower character set but lack the control code to switch the mode.
    Trim whitespace off the end of paths.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sunday, September 13, 2020 11:36:58
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/3c0e406faa91acf3b7523b8e
    Modified Files:
    exec/text_sec.js
    Log Message:
    Display an error message to the user when attempting to view non-existent file

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sunday, September 13, 2020 15:26:23
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/89f1f0c65b0e42698afb7b9f
    Modified Files:
    exec/text_sec.js
    Log Message:
    Display a nice error message if the file is 0-bytes in size.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sunday, July 21, 2024 13:59:00
    https://gitlab.synchro.net/main/sbbs/-/commit/4bdaebf9072001d4b8f46aa2
    Modified Files:
    exec/text_sec.js
    Log Message:
    Check console.aborted flag in display loops

    So that hitting 'N' at pause prompt will abort the loop.
    Reported by phigz via irc.synchro.net

    ---
    þ 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 Friday, September 20, 2024 21:19:12
    https://gitlab.synchro.net/main/sbbs/-/commit/12857f64c4061cc80279b0b2
    Modified Files:
    exec/text_sec.js
    Log Message:
    Add edit option when adding text files that don't already exist

    Revisiting this script due to usability issues reported by W5jsn (TUCUMCAR).

    Dynamically figure out the file path rather than storing another property ('path') in the list objects (which ends up in the .ini file). The absence of the path property (when the file didn't exist) could result in script-ending exceptions.

    .ini files are supposed to be open for read/write access (even when just writing), so open the file in "w+t" mode in write_list().

    Clear console.aborted flag before menu listings: hitting Ctrl-C in some
    point could display just header and prompt of lists with no contents.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From W5jsn@VERT/TUCUMCAR to Rob Swindell (on Debian Linux) on Tuesday, September 24, 2024 18:32:14
    Revisiting this script due to usability issues reported by W5jsn (TUCUMCAR).

    I don't know if this is the setting to express appreciation, but this is a great fix and enhancement! Thanks!

    ---
    þ Synchronet þ Tucumcari BBS