• exec/str_cmds.js

    From rswindell@VERT to CVS commit on Sat Dec 22 09:52:00 2018
    exec str_cmds.js 1.42 1.43
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv23644

    Modified Files:
    str_cmds.js
    Log Message:
    Resolve error reported by Ragnarok when no arg supplied to "NS" command: !JavaScript /sbbs/exec/str_cmds.js line 166: Error: can't convert parseInt(str) to an integer



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to rswindell on Sat Dec 22 18:01:00 2018
    El 22/12/18 a las 19:52, rswindell escribió:
    exec str_cmds.js 1.42 1.43
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv23644

    Modified Files:
    str_cmds.js
    Log Message:
    Resolve error reported by Ragnarok when no arg supplied to "NS" command: !JavaScript /sbbs/exec/str_cmds.js line 166: Error: can't convert parseInt(str) to an integer

    thanks!

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From rswindell@VERT to CVS commit on Mon Dec 24 13:48:00 2018
    exec str_cmds.js 1.43 1.44
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv7932

    Modified Files:
    str_cmds.js
    Log Message:
    Added a "EVENT" string command to force a timed event to execute. If the
    event code is not passed as a parameter, the available (enabled) timed events are displayed and the sysop can choose the proper one by number.
    This change requires the latest (as of now) load/sbbsdefs.js.
    Also updated a lot of the parameter prompting to actually indicate the kind of parameter string that is being asked for (e.g. "QWKnet ID" instead of just "Parameter(s)").


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jan 1 00:38:00 2019
    exec str_cmds.js 1.44 1.45
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv28426

    Modified Files:
    str_cmds.js
    Log Message:
    Allow filename argument to "EDIT" string command.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Apr 9 10:13:00 2019
    exec str_cmds.js 1.45 1.46
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv6962

    Modified Files:
    str_cmds.js
    Log Message:
    Updated bbs.exec() mode flags (use EX_STDIO instead of EX_OUTR|EX_INR).
    Added EX_NOLOG to *nix shell mode - don't log the shell output.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Jul 24 11:13:48 2019
    exec str_cmds.js 1.46 1.47
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv27484

    Modified Files:
    str_cmds.js
    Log Message:
    Add new sysop commands:
    - "ECHO" (useful for testing @-codes)
    - "EVAL" (useful for testing JavaScript expressions)

    "TYPE" and "CAT" are now aliases for "LIST" (display a text file)




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Aug 7 17:08:21 2019
    exec str_cmds.js 1.48 1.49
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv2195

    Modified Files:
    str_cmds.js
    Log Message:
    Catch "eval" exceptions and print an alert to the sysop (don't log).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Aug 7 17:15:51 2019
    exec str_cmds.js 1.49 1.50
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv3052

    Modified Files:
    str_cmds.js
    Log Message:
    Print a CRLF after evalulating the "eval" parameter, so the auto-pause line-counters knows the sysop (*not* in expert menu mode) hasn't seen the printed-result.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Aug 7 17:33:10 2019
    exec str_cmds.js 1.50 1.51
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv5262

    Modified Files:
    str_cmds.js
    Log Message:
    Same as last commit, but for "echo" string command. I really should test more in novice menu mode. :-)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Mar 25 09:38:57 2020
    exec str_cmds.js 1.51 1.52
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv8420

    Modified Files:
    str_cmds.js
    Log Message:
    EVAL command prints result (with type).
    Fixed issues with NODE, LOG, SLOG, and NLOG commands:
    No executefile file extension specified, so problems (on Windows) would occur if you had to both exec/node and exec/node.exe (for example). Windows would
    try to run "node" (e.g. a Linux native executable).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Mar 28 16:14:21 2020
    exec str_cmds.js 1.52 1.53
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv384

    Modified Files:
    str_cmds.js
    Log Message:
    Add a string command (e.g. sysop command) parameter history (persisted in bbs.mods.str_cmds_parameter_history): the sysop can use the up/down arrow
    keys to scroll back through command parameter history (for the current login-session).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Apr 18 16:21:29 2020
    exec str_cmds.js 1.53 1.54
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv13937

    Modified Files:
    str_cmds.js
    Log Message:
    Fix ;anon bug reported by altere (bbs.node_settings is something totally different than node.misc).
    A couple of other cosmetic changes.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Apr 18 17:02:38 2020
    exec str_cmds.js 1.54 1.55
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19746

    Modified Files:
    str_cmds.js
    Log Message:
    Optimization: use cached libraries to do the things, like printing node's status.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 19 19:20:32 2020
    exec str_cmds.js 1.55 1.56
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv7597

    Modified Files:
    str_cmds.js
    Log Message:
    Stop reading/displaying files at Ctrl-Z (CP/M EOF) when using the TYPE/LIST/CAT command.
    Allow Ctrl-A codes in the ECHO comand string.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri May 1 21:09:26 2020
    exec str_cmds.js 1.56 1.57
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv13076

    Modified Files:
    str_cmds.js
    Log Message:
    Make ;cat command not expand @-codes or terminate on Ctrl-Z char.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Thu Sep 17 11:34:42 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/c7955a8a9f31b41956a0ecc7
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Add ;avail sysop command to toggle sysop-availability (to chat)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Jan 30 14:23:46 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/140dfdfa13772e42f3e2a59d
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Add FIND command that anyone can use to find msg and file areas

    To locate all message or file areas that contain a specific word in their name or description type: ;find word

    Also, only display transfer-area commands when the current node action is/was NODE_XFER.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Apr 16 13:11:24 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/edd76adb4bdc54d6eeda7503
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Fix TypeError: file_area.lib_list[i].dir is undefined

    dir is not a property of lib_list[], appears to be a typo.

    Also, in the "lib" scope commands, j was not defined.

    The offline_dir property appears to have been deprecated (no longer
    enumerable) years ago, in favor of the dir/dir_list[].is_offline
    property, so use that property instead for skipping offline dirs.
    Reported by xbit (XBITBBS)

    Also, make sure the ;upload and other lib/all search commands are
    abortable with Ctrl-C.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 18 13:44:53 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/62a1a2cf3c9405d6912f01a3
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Remove commands: ALTUL, RESORT, CLOSE no longer applicable in v3.19

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Jun 7 16:17:58 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/ee9608027df75c36cb4caf2d
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Use K_TRIM mode flag with getstr() through-out.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Jan 11 12:16:12 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/ba264d5a2862cc75381c71f6
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Remove comment about requiring semicolon prefix, not all shells do.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Feb 22 17:00:29 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/61e6d386b707bf53d6450317
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Add "MSGS" command to redisplay instant messages (notices/telegrams)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Feb 23 13:21:54 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/3425a0c3f04f0e5d7573c09a
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Optimize the help display for MSGS command (fits on one line)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 9 17:26:29 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/a5e7b69dc332a1334b669fe4
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Fix typos and add the -pause option to the node command-lines

    Fix issue #372

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Apr 15 19:12:48 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/bdb08f664ad86d41b9b03e75
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Log string command invoked by users via log()

    On *nix, log() output can go to syslog() and on Windows, it can go to the
    event log.

    This addresses issue #360.

    ---
    þ 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 Thu Feb 9 11:57:38 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/4f8a243a83c0cb77e03e4a75
    Modified Files:
    exec/str_cmds.js
    Log Message:
    All UEDIT sysop command to pull up deleted users by alias or number

    Requires the latest v3.20a for sytem.matchuserdata() to support deleted and inactive user record searching.

    This is part of the fix for the issue described in issue #513 where the
    UEDIT sysop command was falling back (displaying/editing) user #1 because
    the sysop-specified user number or alias was not an active user account.

    The fallback to display/editing user #1 still happens, but first we try
    really hard to find the user that the sysop specified as an argument to
    the UEDIT command.

    ---
    þ 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 Thu Dec 14 21:32:20 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/7c0ccd302ce595ef7c90cf9d
    Modified Files:
    exec/str_cmds.js
    Log Message:
    Don't log anything for empty commands

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