Both sides previous revisionPrevious revision | |
module:rlogin [2021/10/29 19:16] – [Command-line] Updated to match current rlogin.js syntax digital man | module:rlogin [2023/03/09 17:57] (current) – [Command-line] New for rlogin.js v2.0 digital man |
---|
==== Command-line ==== | ==== Command-line ==== |
The RLogin module accepts command-line arguments to control its behavior when invoked. The command-line syntax is: | The RLogin module accepts command-line arguments to control its behavior when invoked. The command-line syntax is: |
?rlogin <address>[:port] [mode] [client-name] [server-name] [terminal-type] | ?rlogin <address>[:port] [options] |
| |
Where: | Where: |
* ''<address>'' is the IPv4 address or host name to connect to | * ''<address>'' is the IPv4 address or host name to connect to |
* ''[:port]'' is the TCP port number to connect to (default is ''513'') | * ''[:port]'' is the optional TCP port number to connect to (default is ''513'') |
* ''[mode]'' is an optional set of one or more [[:module:telgate#mode|telgate mode flags]] (''TG_*'') separated by pipe (''|'') symbols (default is ''0'') | * ''[options]'' are one or more of the following options: |
* ''[client-name]'' is an optional client-side username to include in the RLogin negotiation (default is current user's alias) | |
* ''[server-name]'' is an optional server-side username to include in the RLogin negotiation (default is current user's real name) | ^ Option ^ Value ^ Description ^ |
* ''[terminal-type]'' is an optional terminal type to include in the RLogin negotiation (default is current detected terminal type) | | ''-c'' | client-name | Client-side username to include in the RLogin negotiation (default is current user's alias) | |
| | ''-s'' | server-name | Server-side username to include in the RLogin negotiation (default is current user's real name) | |
| | ''-t'' | terminal-type | Terminal type/speed (or "xtrn=doorcode" to auto-exec door on server) | |
| | ''-T'' | connect-timeout-seconds | Connection timeout (default: 10 seconds) | |
| | ''-m'' | telnet-gateway-mode| Set of one or more [[:module:telgate#mode|telgate mode flags]] (''TG_*'') separated by pipe (''|'') symbols (default is ''0'') | |
| | ''-p'' | //none// | Send current user alias and password as server-name and client-name values, as expected by a Synchronet RLogin Server | |
| | ''-q'' | //none// | Don't display banner or pause prompt (be quiet) | |
| | ''-P'' | //none// | Don't pause for user key-press before connection attempt | |
| | ''-C'' | //none// | Don't clear screen after successful session | |
| |
| Option values may immediately following the option flag or as be provided as the next argument on the command-line (separate by white-space). |
| |
| The legacy command-line syntax which did not use option flags to specify optional arguments is still supported, though deprecated. |
===== Connection ===== | ===== Connection ===== |
The RLogin protocol allows the client to pass 3 strings to the server during connection establishment. These 3 strings defined by the protocol specification are, in order: | The RLogin protocol allows the client to pass 3 strings to the server during connection establishment. These 3 strings defined by the protocol specification are, in order: |