01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CU ( lC ) CU ( lC )<br />

NAME cu - call another UNIX system<br />

SYNOPSIS<br />

cu [ -sspeed ] [ -lline ] [ -h ] [ -t ] [ -d ] [ -m] [-ol -e ]<br />

telno I dir<br />

DESCRIPTION<br />

Cu calls up another UNIX system, a terminal, or possibly a non­<br />

UNIX system. It manages an interactive conversation with possible<br />

transfers of ASCII files. Speed gives the transmission speed<br />

( llO, 150, 300, 600, 1200, 4800, 9600); 300 is the default value.<br />

Most of our modems are either 300 or 1200 baud. For dial out<br />

lines, cu will choose a modem speed (300 or 1200) as the slowest<br />

available which will handle the specified transmission speed.<br />

Directly connected lines may be set to speeds higher than 1200<br />

baud.<br />

The -1 value may be used to specify a device name for the communications<br />

line device to be used. This can be used to override<br />

searching for the first available line having the right speed. The -s<br />

option allows the user to override the line speed specified in the<br />

file fusr/lib/uucpfL-devices. However, if the -s option is not used,<br />

the line speed will be taken from the L-devices file. The -h<br />

option emulates local echo, supporting calls to other computer systems<br />

which expect terminals to be in half-duplex mode. The -t<br />

option is used when dialing an ASCII terminal which has been set<br />

to auto-answer. Appropriate mapping of carriage-returns to<br />

carriage-return-line-feed pairs is set. The -d option cause diagnostic<br />

traces to be printed. The -m option specifies a direct line<br />

which has modem control. The -e ( -o) option designates that<br />

even (odd) parity is to be generated for data sent to the remote.<br />

The -d option causes diagnostic traces to be printed. Telno is<br />

the telephone number, with '=' (equal signs) for secondary dial<br />

tone. ':' (colons) for pausing 10 seconds, and for pausing 2 seconds<br />

at appropriate places. The string dir for telno may be used for<br />

directly connected lines, and implies a null ACU. Using dir<br />

insures that a line has been specified by the -1 option. When<br />

using the internal modem line, phO and ph1 make sure the phone<br />

status of the line to be used shows DATA, otherwise the call will<br />

fail. The phone line supports 300 and 1200 for the -s option.<br />

Cu will try each line listed in the file fusrflibfuucpfL-devices<br />

until it finds an available line with appropriate attributes or runs<br />

out of entries. After making the connection, cu runs as two<br />

processes: the transmit process reads data from the standard input<br />

and, except for lines beginning with -, passes it to the remote system;<br />

the receive process accepts data from the remote system<br />

and, except for lines beginning with -, passes it to the standard<br />

output. Normally, an automatic DC3/DC1 protocol is used to control<br />

input from the remote so the buffer is not overrun. Lines<br />

beginning with - have special meanings.<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!