TIP( IC) USER COMMANDS TIP (IC) 0 -r Get a summary of the tilde escapes Copying files requires some cooperation on the part of the remote host. When a -> or - escape is used to send a file, tip prompts for a file name (to be transmitted or received) and a command to be sent to the remote system, in case the file is being transferred from the remote system. The default end of transmission string for transferring a file from the local system to the remote is specified as the 'oe' parameter in the remote(5) file, but may be changed by the set command. While tip is transferring a file the number of lines transferred will be continuously displayed on the screen.
A file transfer may be aborted with an interrupt. An example of the dialogue used to transfer files is given below (input typed by the user is shown in bold face). arpa% tip monet [connected] ... ( assume we are talking to another UNIX system) ... ucbmonet login: sam Password: monet% cat> sylvester.c -> Filename: sylvester.c 32 lines transferred in 1 minute 3 seconds monet% monet% - reply.c List command for remote host: cat reply.c 65 lines transferred in 2 minutes monet% ... ( or, equivalently) ... monet% -p sylvester.c ... ( actually echoes as -{put/ sylvester.c) ... 32 lines transferred in 1 minute 3 seconds monet% monet% -t reply.c ... ( actually echoes as -{take} reply.c) ...
6.5 lines transrerred in 2 minutes monet% ... ( to print a file locally) ... monet% -:r,ocal command: pr ~h sylvester.c I Ipr List command for remote host: cat sylvester.c 0 monet% -·o [EOT] ... ( back on the local system) ... The remote(5) file contains the definitions for remote systems known by tip; refer to the remote manual page for a full description. Each system has a default baud rate with which to establish a connection. If this value is not suitable, the baud rate to be used may be specified on the com- mand line, for example: tip -300 mda When tip establishes a connection it sends out a connection message to the remote system.
The default value for this string may be found in the remote file. At any time that tip prompts for an argument (for example, during setup of a file transfer) the line typed may be edited with the standard erase and kill characters. A null line in response to a prompt, or an interrupt, aborts the dialogue and returns you to the remote machine. 0 When tip attempts to connect to a remote system, it opens the associated device with an exclusive-open ioct/(2) call. Thus only one user at a time may access a device. This is to prevent Sun Release 1.4 Last change: 11 February 1985 315