home *** CD-ROM | disk | FTP | other *** search
- Howard Chu
- 10-10-90
-
- tip - ("terminal interface program") This is a small, stupid terminal
- program modeled after the BSD 4.3 Unix program of the same name. It is
- meant to be used with MiNT, though can easily be changed to work fully
- with MicroRTX or plain old TOS as well. I wrote it to tide me over until
- I have some better tools working with MGR. (Like KA9Q and a Unix-Windows
- look alike, for example...)
-
- Synopsis
- tip [speed]
-
- Description
- Tip establishes a full-duplex connection to another machine
- through the ST serial port. Typed characters are normally
- transmitted directly to the remote machine (which does the
- echoing as well). A tilde (`~') appearing as the first
- character of a line is an escape signal for introducing
- commands; the following are recognized:
-
- ~^D ~. Exit the program (the connection is left intact).
-
- ~! Escape to a shell (exiting the shell will return
- you to tip).
-
- ~# Send a BREAK to the remote system.
-
- ~s Set a variable (see below).
-
- ~^Z Stop tip (only available with job control).
-
- ~? Get a summary of the tilde escapes.
-
- Tip uses a default baud rate of 9600 bps, which may be changed
- by specifying the desired speed on the command line.
-
- When tip prompts for an argument (e.g. when setting a variable)
- the input line may be edited with the usual erase and line-kill
- characters. A null line in response to a prompt will abort the
- operation. Typing an interrupt character (e.g. `^C') at this
- point will cause tip to crash.
-
- Variables
-
- Tip maintains a set of variables which control its operation.
- Variables may be displayed and set through the `s'' escape.
- Supplying ``all'' as an argument to the set command displays
- all variables and their current values. Variables are numeric,
- string, character, or boolean values. Values are assigned by
- typing the name, followed by either `=' or ` ' (space), then
- the value. (For boolean variables, the value is either ``on''
- or ``off''.) Variable names may be abbreviated to any length,
- one character or greater. The following is a list of currently
- implemented variables and their default values.
-
- baudrate
- (num) The current baud rate setting. Any ST supported
- speeds may be specified. Default is 9600.
-
- flowcontrol
- (str) The current flow control method. Accepted values are
- ``none'', ``xon/xoff'', and ``rts/cts''. Default is none.
-
- localecho
- (bool) Echo keypresses locally, for half-duplex sessions.
- Default is off.
-
- parity
- (str) The parity and word size to use. Accepted values are
- ``none'', ``odd'', and ```even''. The word size is set to
- 8 bits when parity=none, and 7 bits otherwise. Default is
- none.
-
- escape
- (char) The command prefix (escape) character. Default
- value is `~'.
-
- shell
- (str) The name of the shell to use for the ~! command. The
- default value is taken from the environment. If no setting
- is found from the environment, no default value is set.
-
- Bugs
- You tell me... I think it works fine, for an evening's hack.
- Feel free to improve it, and please notify me of your changes.
- hyc@math.lsa.umich.edu
-