Both sides previous revisionPrevious revisionNext revision | Previous revision |
module:telgate [2024/08/12 22:39] – [Command-line] document -v option digital man | module:telgate [2024/08/19 19:04] (current) – [Command-line] document new -N option digital man |
---|
| ''-P'' | //none// | Don't pause for user key-press before connection attempt | | | ''-P'' | //none// | Don't pause for user key-press before connection attempt | |
| ''-C'' | //none// | Don't clear screen after successful session | | | ''-C'' | //none// | Don't clear screen after successful session | |
| | ''-N'' | //none// | Send a blank line (CRLF) after connecting (may be used multiple times) | |
| ''-s'' | characters | Send string of characters after connecting (may be used multiple times) | | | ''-s'' | characters | Send string of characters after connecting (may be used multiple times) | |
| ''-S'' | characters | Send CRLF-terminated string of characters after connecting (may be used multiple times) | | | ''-S'' | characters | Send CRLF-terminated string of characters after connecting (may be used multiple times) | |
| ''TG_NOLF'' | Do not send line-feeds | | | ''TG_NOLF'' | Do not send line-feeds | |
| ''TG_RLOGINSWAP'' | Swap the RLogin alias/real-names | | | ''TG_RLOGINSWAP'' | Swap the RLogin alias/real-names | |
| | ''TG_RAW'' | Connect to a raw TCP (not Telnet) server | |
| | ''TG_EXPANDLF'' | Expand received sole-LFs to CR/LF pairs | |
| |
Multiple mode flags may be specified by ORing them together with the pipe (''|'') character, like so: | Multiple mode flags may be specified by ORing them together with the pipe (''|'') character, like so: |
| |
The Baja ''TELNET_GATE'' function and the corresponding ''[[dir:exec]]/*gate.bin'' files have been deprecated. Use the corresponding JavaScript alternatives instead. | The Baja ''TELNET_GATE'' function and the corresponding ''[[dir:exec]]/*gate.bin'' files have been deprecated. Use the corresponding JavaScript alternatives instead. |
| |
| ===== Configure ===== |
| |
| The default Telnet Gateway option values and display messages can be over-ridden by creating/editing key in the ''[telgate]'' section of your ''[[dir:ctrl]]/[[config:modopts.ini]]'' file. |
| |
| ^ Key ^ Default ^ Description ^ |
| | quiet | false | Don't display banner or pause prompt (quiet) | |
| | pause | true | Pause for user key-press before connecting | |
| | clear | true | Clear screen after disconnect | |
| | timeout | 10 | Connect timeout (in seconds) | |
| | verbosity | 0 | Display remote host address/port when non-zero | |
| | help_msg | //see code// | Message to display for help ("" to disable) | |
| | connecting_msg | //see code// | Message to display when connecting to remote host ("" to disable) | |
| | failed_conntect_msg | //see code// | Message to display upon connection failure ("" to disable) | |
| |
| **Note**:\\ |
| You'll likely want to use string literal syntax for message strings. |
| |
===== See Also ===== | ===== See Also ===== |