• exec/rlogin.js

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Thursday, March 09, 2023 17:40:00
    https://gitlab.synchro.net/main/sbbs/-/commit/d7b387f4b76421dbb76d01fa
    Modified Files:
    exec/rlogin.js
    Log Message:
    Re-write to allow options in any order, more control over all behavior

    Previously, in order to just specify the terminal-type string, the sysop
    would also have to pass new values for the tg-mode, client-name and server-name, which was not very friendly. We still support the old syntax
    where order of arguments matters, but also a new better syntax for options (which may now come before or after the required address[:port] argument):

    -c <client-name> (default: user alias)
    -s <server-name> (default: user real name)
    -t <terminal-type> (e.g. "xtrn=doorcode" to auto-exec door on server)
    -T <connect-timeout-seconds> (default: 10 seconds)
    -m <telnet-gateway-mode> (Number or TG_* vars OR'd together, default: 0)
    -p send current user alias and password as server and client-name values
    -q don't display banner or pause prompt displayed (quiet)
    -P don't pause for user key-press
    -C don't clear screen after successful session

    For arguments that take a value (e.g. -c, -s, -t, -T, -m), the value may immediately follow the option letter (e.g. "-cMyName") or be specified
    in the following argument (e.g. "-c MyName"). Multiple options cannot be
    stuck together in the same option (e.g. use '-C -P' instead of '-CP').

    If the RLogin server is a Synchronet BBS, you probably want to specify the
    '-p' option which will send the current user's alias and password in the
    RLogin connection parameters that Synchronet expects them.

    The sysop now has better control over the output (banner, screen-clearing)
    and the pause prompt that was previously hard-coded.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Friday, August 09, 2024 21:40:00
    https://gitlab.synchro.net/main/sbbs/-/commit/c286eb9f79a2bd10e0383ab2
    Modified Files:
    exec/rlogin.js
    Log Message:
    Fixed typo

    ---
    þ 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 Monday, October 21, 2024 11:32:07
    https://gitlab.synchro.net/main/sbbs/-/commit/454ef936c5163eece13fbe00
    Modified Files:
    exec/rlogin.js
    Log Message:
    The P, C, and v options would report 'unrecognized option'

    Fix for issue #798

    ---
    þ 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 Tuesday, October 29, 2024 13:45:03
    https://gitlab.synchro.net/main/sbbs/-/commit/f654c1d758fad83eaa3d19b1
    Modified Files:
    exec/rlogin.js
    Log Message:
    Allow multiple uses of -c and -s options to built-up an auth string

    To solve problem of adding some kind of prefix/tag to a user alias when connecting to a door server. e.g. ?rlogin server -s [TAG] -s %a

    Hopefully you don't need/want a space separating the string elements, as
    that's not really doable with this solution.

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