• exec/rlogin.js

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Fri Oct 29 19:11:13 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/334e768c5362ba4913316e7f
    Modified Files:
    exec/rlogin.js
    Log Message:
    Allow the client-name, server-name, and term-type to be passed as argumentsOptional, for easier use with game servers that take one of the 3 rloginnegotation parameters as the name/code of the door to execute. A telgatemode flag value argument must be provided (use 0 for default behavior)if
    you want to provide any of the other arguments to override the defaults(the user's alias, real name, and current detected terminal type).
    --- SBBSecho 3.14-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 Mar 9 17:40:35 2023
    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 behaviorPreviously, in order to just specify the terminal-type string, the sysopwould also have to pass new values for the tg-mode, client-name andserver-name, which was not very friendly. We still support the old syntaxwhere 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 sessionFor arguments that take a value (e.g. -c, -s, -t, -T, -m), the value mayimmediately follow the option letter (e.g. "-cMyName") or be specifiedin the following argument (e.g. "-c MyName"). Multiple options cannot bestuck 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 theRLogin 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)