|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3358 (0xd1e)
Types: TextFile
Notes: UNIX file
Names: »cu16.1«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/man1/cu16.1«
.ig @(#)cu16.1 2.1 7/1/84 @(#)Copyright (C) 1983 by National Semiconductor Corp. .. .if t .ds T (ua\ .if n .ds T (ua .TH CU16 1 .SH NAME cu16 \- remote terminal program .SH SYNOPSIS .B cu16 [ .B -s [ .B \-b ] 110 300 600 1200 2400 4800 9600 ] .SH DESCRIPTION .I Cu16 opens a remote line as a terminal. It talks to a tty device connected to a serial port on another system. It manages an interactive conversation and echoes terminal input. .I Cu16 uses the value of the .I DDTPORT environment variable to find which device to open as a remote line. .PP The default transmission speed for the port is 9600 baud. The .B \-s flag sets transmission speeds (110, 300, 600, 1200, 2400, 4800, 9600 baud). .I Cu16 does not support modems for dial-up connections. .PP After making the connection, .I cu16 runs as two processes: the .I send process reads the standard input and passes most of it to the remote system; the .I receive process reads from the remote system and passes most data to the standard output. Lines beginning with `\*T' have special meanings. .PP The .I send process interprets the following: .TP 18 \(ap\|\f3.\| terminate the conversation. .br .ns .TP 18 \(uaEOT terminate the conversation. .TP 18 \(ap< file send the contents of .I file to the remote system, as though typed at the terminal. .TP 18 \(ap \(ua Z suspend the .I cu16 program. Note that the control-Z must be followed by a newline. .TP 18 \(ap# sends a break. .TP 18 \(ap! invoke an interactive shell on the local system. .TP 18 \(ap!cmd ... run the command on the local system (via .BR "sh \-c" ")." .TP 18 \(ap$cmd ... run the command locally and send its output to the remote system. .TP 18 \(ap%take from [to] copy file `from' (on the remote system) to file `to' on the local system. If `to' is omitted, the `from' name is used both places. .TP 18 \(ap%put from [to] copy file `from' (on local system) to file `to' on remote system. If `to' is omitted, the `from' name is used both places. .TP 18 \(ap: during an output diversion, this toggles whether the operation of .I cu16 will be silent, i.e., whether information received from the remote system will be written to the standard output. This allows a ``progress report'' during long transfers. .TP 18 \(ap\(ap\f3\|.\|.\|.\fP send the line ` \(ap\|.\|.\|.'. .PP Both the .I send and .I receive processes handle output diversions of the following form: .PP \(ap > [ > ] [:] file .br zero or more lines to be written to file .br \ap> .PP In any case, output is diverted (or appended, if `>>' used) to the file. If ` .B : ' is used, the diversion is .I silent, i.e., it is written only to the file. If ` : ' is omitted, output is written both to the file and to the standard output. The trailing `(ua>' terminates the diversion. .PP The use of .B " \(ap%put requires .I stty and .I cat on the remote side. It also requires that the erase and kill characters on the remote system be identical to the ones on the local system. Backslashes are inserted at appropriate places. .PP The use of .B " \(ap%take requires the existence of .I echo and .I tee on the remote system. Also, .B "stty tabs" mode is required on the remote system if tabs are to be copied without expansion. .SH FILES /dev/tty?? the remote line to open .SH "SEE ALSO" tty(4), stty(1) .SH DIAGNOSTICS Exit code is zero for normal exit, nonzero otherwise.