• exec/str_cmds.js

    From rswindell@1:103/705 to CVS commit on Tue Feb 6 03:22:48 2018
    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.


    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Dec 22 14:52:55 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


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ragnarok@1:103/705 to rswindell on Sat Dec 22 23:01:06 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
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Dec 24 18:48:38 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)").

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Tue Jan 1 05:38:51 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.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Tue Apr 9 14:13:24 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.



    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Jul 24 15: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)



    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Aug 7 21: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).


    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Aug 7 21: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.


    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Aug 7 21: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. :-)


    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Mar 25 13: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).

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Mar 28 20: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).


    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Apr 18 20: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.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Apr 18 21: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.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Apr 19 23: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.

    --- 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 2 01: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.

    --- 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 Thu Sep 17 15: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)
    --- 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 Sat Jan 30 19: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 areasTo locate all message or file areas that contain a specific word in their nameor description type: ;find wordAlso, only display transfer-area commands when the current node
    action is/wasNODE_XFER.
    --- 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 Apr 16 17: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 undefineddir 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 longerenumerable) years ago, in favor of the dir/dir_list[].is_offlineproperty,
    so use that property instead for skipping offline dirs.Reported by xbit (XBITBBS)Also, make sure the ;upload and other lib/all search commands areabortable with Ctrl-C.
    --- 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 Apr 18 17: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
    --- 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 Mon Jun 7 20: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.
    --- 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 Tue Jan 11 17: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.
    --- 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 Tue Feb 22 22: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)
    --- 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 Wed Feb 23 18: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)
    --- 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 Wed Mar 9 22: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-linesFix issue #372
    --- 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 Fri Apr 15 23: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 theevent log.This addresses issue #360. --- 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 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 numberRequires the
    latest v3.20a for sytem.matchuserdata() to support deleted andinactive user record searching.This is part of the fix for the issue described in issue #513 where theUEDIT sysop command was falling back (displaying/editing) user #1 becausethe sysop-specified user number or alias was not an active user account.The fallback to display/editing user #1 still happens, but first we tryreally hard to find the user that the sysop specified as an argument tothe UEDIT command.
    --- SBBSecho 3.20-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 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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)