tip - Connects to a remote system
tip [-v] [-baud_rate] system|telephone_number
command connects to a remote system and allows
you to work on the remote system as if logged in directly.
Displays sets of variables (see
as they are read from the
Overrides the default baud rate, which is 1200 baud.
You must have a login account on the remote system to use the tip command.
Either the system argument or the telephone_number argument is required. The system argument specifies the name of a remote system to be contacted over a direct or modem connection. The telephone_number argument specifies the number to dial over a modem connection.
The actions of the tip command can be controlled using flags, escape signals, and variables. The tip command also uses the /etc/remote file to find out how to contact a remote system and discover the escape-send sequence to use when communicating with that system.
When tip prompts for a response, edit the line as you type using the standard Erase and Kill keys. Entering a null line in response to a prompt or pressing the Interrupt key sequence will abort the tip dialog and return you to the remote system.
The tip command uses lock files in the /var/spool/locks directory to lock devices against multiple access.
You can use the tip command to transfer files to and from the remote system. Several variables work together to control file transfers. File transfers normally use tandem mode to control the flow of data. If the remote system does not support tandem mode, set the echocheck variable to on to cause tip to synchronize with the remote system after transmitting each character. When transferring files with the ~> and ~< commands, use the eofread and eofwrite variables to specify the end of a file when writing, and recognize the end of a file when reading.
If the verbose variable is set to on, the tip command: Writes a running count of the number of lines transferred during a file transfer. Writes messages indicating its actions as it dials a telephone number.
You can use scripting to record the conversations you have with the
command. Use the
variable to start
The tip command uses variables that control its operation. These variables can be numeric, string, character, or Boolean values. Some of these variables can be changed by any user who can run the tip command. However, the following variables can be changed only by a user with superuser authority: baudrate, dialtimeout, host, phones, and remote.
Variables can be initialized at run time in the $HOME/.tiprc file. Additionally, you can display and set the variables while already running the tip command by using the ~s command.
Certain common variables have abbreviations.
Following are the common variables, their types and abbreviations, and their default values. (Boolean; abbreviated be) Discards unprintable characters when a session is being scripted. Does not discard characters specified with the exceptions variable. The default is on. (Numeric; abbreviated ba) Specifies the baud rate of the connection.
You can use escape signals to instruct tip to terminate, log off from the remote system, and transfer files. Using the escape character as the first character of the line indicates an escape signal. The default escape character is a ~ (tilde). The character can be changed using the escape variable. All other typed characters are transmitted directly to the remote system. The tip command recognizes the following escape signals: Terminates the connection and exits. You can still be logged in on the remote system; if so, you can issue another tip command to reconnect to that system. Depending on the interconnection hardware, it may be necessary to use ~^D to terminate the conversation, even if the normal logout sequence was used. Same as ~^D: terminates the connection and exits. You can still be logged in on the remote system; if so, you can issue another tip command to reconnect to that system. Depending on the interconnection hardware, it may be necessary to use ~. to terminate the conversation, even if the normal logout sequence was used. Changes to the directory specified by the directory variable. If you do not include the directory variable, tip changes to your home directory. Escapes to a shell on the local system. When you exit from the shell, you return to the tip command. Copies file from the local system to the remote system. The tip command prompts you for the name of the local file. Before executing this command, you should start a command on the remote system to capture the incoming file as it is sent. Otherwise, the file contents are treated as stdin to the shell running on the remote system. Using the cat > destfile command is recommended where supported. The output EOF string sent after the file is transferred (defined by oe in /etc/remote and typically ^D for UNIX systems) should terminate the command on the remote system that is capturing the file. Copies file from the remote system to the local system. The tip command prompts you for the command to be executed on the remote system to list the file to be copied, for example, cat srcfile. The copy of the file completes when the local system reads an EOFREAD character from the remote system. The local system defines the EOFREAD character(s) expected from the remote system by the ie entry in /etc/remote. (For UNIX systems, this is usually #, %, or $, the most common prompts for the different shells.) The EOFREAD character should be sent to the local system after the command to list the remote file completes. The remote system's prompt character is suggested for the EOFREAD character. Sends the from file to a remote host that must support the cat command. The put command causes the remote system to run the command string cat > to, while tip sends it the from file. If to is not specified, the cat command uses the name of the from file. This command is a special case of the ~> command. Transfers the from file from a remote system that must support the cat command. As in the put command, the to file defaults to the from filename if it is not specified. The remote host executes the command string cat from;echo ^A to send the file to tip. This command is a special case of the ~< command. Pipes the output of a remote command to a local process. The command string sent to the local system is processed by the shell. Pipes the output from a local process to the remote system. The command string sent to the remote system is processed by the shell. Sends a BREAK signal to the remote system. Sets or queries the tip command variables.
To specify a baud rate when making a direct connection, enter: tip -300 hera
Contains automatic call unit descriptions.
Contains lock files that prevent multiple uses of devices
and multiple calls to systems.
Contains global system descriptions.
Contains global telephone phone number database.
Contains private system descriptions.
Contains private telephone numbers.
Defines initial settings for the
command scripts (default
filename). By default, stored in the current directory. You can change the
filename and directory using the
Commands: cu(1), uucp(1)
Files: acucap(4), phones(4), remote(4)