• exec/str_cmds.js

    From deuce@VERT to CVS commit on Wednesday, February 04, 2015 17:05:21
    exec str_cmds.js 1.38 1.39
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv26429

    Modified Files:
    str_cmds.js
    Log Message:
    Remove obsolete ANSCAP command.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Monday, July 13, 2015 15:20:11
    exec str_cmds.js 1.39 1.40
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv17160

    Modified Files:
    str_cmds.js
    Log Message:
    Fix LIST command when used with a filename argument


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Sunday, January 03, 2016 23:25:32
    exec str_cmds.js 1.40 1.41
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv2148

    Modified Files:
    str_cmds.js
    Log Message:
    Fix NEXEC command. Was not skipping the entire command result in always attempting to execute 'C'.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, February 06, 2018 03:22:48
    exec str_cmds.js 1.41 1.42
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv7088

    Modified Files:
    str_cmds.js
    Log Message:
    Let's not call bbs.exec() with blank strings.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, December 22, 2018 14:52:55
    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 Saturday, December 22, 2018 23:01:06
    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 Monday, December 24, 2018 18:48:38
    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 Tuesday, January 01, 2019 05:38:51
    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 Wednesday, July 24, 2019 15:13:48
    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 Wednesday, August 07, 2019 21:08:21
    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 Wednesday, August 07, 2019 21:15:51
    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 Wednesday, August 07, 2019 21:33:10
    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 Wednesday, March 25, 2020 13:38:57
    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 Saturday, March 28, 2020 20:14:21
    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 Saturday, April 18, 2020 20:21:29
    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 Saturday, April 18, 2020 21:02:38
    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 Sunday, April 19, 2020 23:20:32
    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 Saturday, May 02, 2020 01:09:26
    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 Thursday, September 17, 2020 15:34:42
    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 Saturday, January 30, 2021 19:23:46
    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 Friday, April 16, 2021 17:11:24
    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 Sunday, April 18, 2021 17:44:53
    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 Monday, June 07, 2021 20:17:58
    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 Tuesday, January 11, 2022 17:16:12
    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 Tuesday, February 22, 2022 22:00:29
    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 Wednesday, February 23, 2022 18:21:54
    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 Wednesday, March 09, 2022 22:26:29
    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 Friday, April 15, 2022 23:12:48
    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 Thursday, February 09, 2023 11:57:38
    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 Thursday, December 14, 2023 21:32:20
    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