cu(1) | cu(1) |
NAME
cu - call another (UNIX) system; terminal emulator
SYNOPSIS
cu
XPG4 Syntax:
cu
DESCRIPTION
cu calls up another system, which is usually a UNIX operating system, but can be a terminal or a non- UNIX operating system. cu manages all interaction between systems, including possible transfers of ASCII ®les.
Options
cu recognizes the following options and |
| ||||||
Specify the transmission speed (110, 150, 300, 600, 1200, 2400, 3600, 4800, 7200, 9600, | |||||||
| 19200). The default value is 300. |
|
| ||||
Specify a device name to use as the communication line. This can be used to override | |||||||
| searching for the ®rst available line having the right speed. When the | ||||||
| used | without | the | option, | the speed | of a line is obtained from ®le | |
| /etc/uucp/Devices. | When the | |||||
| cu searches | /etc/uucp/Devices to determine whether the requested speed for | |||||
| the requested line is available. If so, the connection is made at the requested speed; | ||||||
| otherwise, an error message is printed and the call is not made. The speci®ed device | ||||||
| is usually a directly connected asynchronous line (such as /dev/ttyapb ). In this | ||||||
| case, a telephone number is not required, but the string dir can be used to specify | ||||||
| that a dialer is not required. If the speci®ed device is associated with an | ||||||
| telephone number must be provided. |
| |||||
Emulate local echo, supporting calls to other computer systems that expect terminals | |||||||
| to be set to |
|
| ||||
Use ENQ/ACK handshake (remote system sends ENQ, cu sends ACK.) | |||||||
Used when dialing an ASCII terminal that has been set to | |||||||
| mapping of | ||||||
Print diagnostic traces. level is a number from | |||||||
| detail in the diagnostic messages. |
|
| ||||
(XPG4 only.) Print diagnostic traces. The level is always 9. | |||||||
Generate even (odd) parity for data sent to the remote. | |||||||
Specify a direct line that has modem controls. Modem controls are ignored by cu. | |||||||
Cause the telephone number that | cu dials to be requested interactively from the user | ||||||
| rather than taking it from the command line. |
| |||||
telno | When using an automatic dialer, telno is the telephone number, with equal signs for | ||||||
| secondary dial tone or minus signs for delays appropriately placed in the telno string. | ||||||
systemname | A UUCP system name can be used instead of a telephone number (see uucp(1)); in | ||||||
| this case, | cu | obtains | an appropriate direct line or telephone number from | |||
| /etc/uucp/Systems (including appropriate baud rate). cu dials each telephone | ||||||
| number or direct line for systemname in the Systems ®le until a connection is made | ||||||
| or all the entries are tried. |
|
| ||||
dir | Using | dir ensures that | cu uses the line speci®ed by the |
After making the connection, cu runs as two processes:
∙transmit process reads data from the standard input and, except for lines beginning with Ä, passes it to the remote system;
∙receive process accepts data from the remote system and, except for lines beginning with Ä, passes it to the standard output.
− 1 − | Section 1−153 |
c