TIP( IC) USER COMMANDS TIP(lC) 0 multiple processes from sampling the terminal line. In addition, tip honors the locking protocol used by uucp(IC). AUTO-CALL UNITS Tip may be used to dial up remote systems using a number of auto-call unit's {ACU's). When the remote system description contains the 'du' attribute, tip uses the call-unit ('cu'), ACU type ('at'), and phone numbers {'pn') supplied. Normally tip displays verbose messages as it dials. See remote(5) for details of the remote host specification. Depending on the type of auto-dialer being used to establish a connection the remote host may have garbage characters sent to it upon connection.
The user should never assume that the first characters typed to the foreign host are the first ones presented to it. The recommended prac- tice is to immediately type a 'kill' character upon establishing a connection (most UNIX systems support '@' as the initial kill character). Tip currently supports the Ventel MD-212+ autodialer modem and the Hayes SmartModem 1200. REMOTE HOST DESCRIPTIONS Descriptions of remote hosts are normally located in the system-wide file /etc/remote. However, a user may maintain personal description files {and phone numbers) by defining and exporting the REMOTE shell variable.
The remote file must be readable by tip, but a secondary file describing phone numbers may be maintained readable only by the user. This secondary phone number file is / etc/phones, unless the shell variable PHONES is defined and exported. As described in remote(5), the phones file is read when the host description's phone number(s) capability is an '@'. The phone number file contains lines of the form: system-name phone-number 0 Each phone number found for a system is tried until either a connection is established, or an end of file is reached.
Phone numbers are constructed from '0123456789-=*', where the '=' and '*' are used to indicate a second dial tone should be waited for {ACU dependent). TIP INTERNAL VARIABLES Tip maintains a set of variables which are used in normal operation. Some of these variables are read-only to normal users (root is allowed to change anything of interest). Variables may be displayed and set through the ,- s' escape. The syntax for variables is patterned after vi{l) and mail(l). Supplying 'all' as an argument to the set command displays all variables that the user can read. Alternatively, the user may request display of a particular variable by attaching a '?' to the end.
For example 'escape?' displays the current escape character. Variables are numeric, string, character, or Boolean values. Boolean variables are set merely by specifying their name. They may be reset by prepending a '!' to the name. Other variable types are set by appending an '=' and the value. The entire assignment must not have any blanks in it. A single set command may be used to interrogate as well as set a number of variables. Variables may be initialized at run time by placing set commands (without the •-s• prefix) in a .tiprc file in one's home directory. The -v option makes tip display the sets as they are made. Comments preceded by a '#' sign can appear in the .tiprc file.
Finally, the variable names must either be completely specified or an abbreviation may be given. The following list details those variables known to tip, their abbreviations (surrounded by brack- ets), and their default values. Those variables initialized from the remote file are marked with a '*'· A mode is given for each variable - capitalization indicates the read or write capability is given only to the super-user. Variable Type Mode Default Description 0 [beJautify bool rw true discard unprintables when scripting 316 Last change: 11 February 1985 Sun Release 1.4