home *** CD-ROM | disk | FTP | other *** search
- Terminal Control Command Switches
- =================================
-
- FTP, TELNET, FINGER have had their command syntax extend to allow
- terminal control options and expect/send strings to be appended to the
- basic command. See the file "Chat for precise details of expect/send
- pairs.
-
- This change, makes no alteration to the basic use of the FTP, TELNET and
- finger commands.
-
-
- \ This character must occure on it's own to mark the
- end of command specific parameters and the start of
- terminal options, or the end of terminal options and the
- start of expect / send strings.
-
- ! Prefixing any of the following options causes the
- reverse effect, "!E" disables local echo. In the case
- of "!X" and "!Y", the incidental effect is to restore
- default width or height.
-
- B Opens the commands edit box at the top of the window
-
- W Cursor wrap mode on
-
- R Causes the window to be read only
-
- E Enable local echo.
-
- N Enable newline mode
-
- F Causes window to follow the cursor
-
- I Switches to Inverse video
-
- L Enables line editing mode, rather than raw character
- mode.
-
- C<n> Enables split screen chat mode, n is the line number of
- the split point.
-
- X<n> Sets the terminal window width in characters
-
- Y<n> Sets the terminal window height in lines
-
- ><name> Starts spooling with escape code to named file
- >><name> Start spooling without escape codes to named file
-
- @<name> Attach the named macro menu to the command box
-
-
- "*" may be used in place of <name> to cause spooling to a unique
- temporary file which is auto-loaded into a text editor when either the
- spool file is closed, or the session ends.
-
- Each of these options must be separated by a space. There must be no
- space between an option and it associated parameter.
-
- All of these switches, except "R" have menu or dialogue box equivelents.
-
- expect and send strings (case sensitive) follow the switches where
- required.
-
- The main purpose of these command extensions is to allow terminal
- settings to be preset via user-defined hierarchicial menu based macro
- commands that will be added in a later release. These menu will be
- available from the menu button in the command editing box.
-
- Currently the only option on this menu is "Clear" which clears the
- contents of the command box.
-
- For example, to connect to, and login to Demon's ftp server, with a 100
- line terminal screen, spooling to a temporary file that will be loaded
- into !edit when the session is closed:
-
- ftp ftp.demon.co.uk \ Y100 >>* \ "name: " "anonymous\r\n" "word:" "adam@\r\n"
-
- Start of options --^ ^-- Start of expect and send strings.
-
- The "\r\n" are needed as eol characters are NOT auto appended to send
- strings, allowing send strings to be effectively single key presses.
-
- Currently expect strings may be upto 16 characters. If anyone feels this
- to be insufficient, I can easily extend it.
-
-