UTERMINAL
TERMINAL
NEXT
$V1$
PAUSE
BOTCLEAN
ENCORE5
CLEAN
ENCORE
BOX
COMMAND
GO
cu
SYNTAX
cu [-sspeed] [-lline] [-h] [-o|-e] dir
cu [-sspeed] [-aacu] [-lline] [-h] [-o|-e] telno
cu telno [-t] [-s speed] [-a acu] [-l line] [#]
FUNCTION
cu calls up another system through a modem
or direct serial connection. It also controls
the transmission and reception of data during
the call. The options of cu must match
a line in the /usr/lib/uucp/L-devices file.
(You'll learn more about this file in the
Advanced System Administrator course.)
cu
NOTE
cu is required only on the local system!
cu is useful for transferring small text
files only and preferably at low speeds.
When transferring binary data or large files or
transferring at high speeds, use uucp!
cu
SOME OPTIONS
-s speed - specifies the transmission speed;
1200 baud is the default, minimum 300, max 9600.
-a acu - specifies the device name of the ACU.
-l line - specifies the device name of the calling-
out port/line, as defined in the directory /dev.
Let us use cu for calling another system by
using the line /dev/serial, at 1200 baud
and the telephone number: 8675309!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
try cu -s1200 -l/dev/serial 8675309
try cu -s1200 -l/dev/serial 8675309
try cu 8675309 -s 1200 -l /dev/serial
try cu 8675309 -s 1200 -l /dev/serial
You will be helped this time.
$PROMPT$
FORGET1
$PROMPT$cu -s1200 -l/dev/serial 8675309
$PROMPT$cu 8675309 -s 1200 -l /dev/serial
Observe the result on the terminal!
Connected
At this point you would either a) get a login prompt
from the remote system, or b) you would have to hit
<CR> or BREAK to get a prompt, or c) you
would get nothing because of some line problems.
After you successfully logged in to the other
system and you were in the desired directory on the
remote system, to send a file outfile from
the local to the remote system use ~%put outfile!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
try ~%put outfile
try ~%put outfile
You will be helped this time.
$PROMPT$
FORGET2
$PROMPT$~%put outfile
Observe the result on the terminal!
noecho; cat >;;;; echo
outfile, 2324 characters
$PROMPT$
To transfer the file infile from the remote
system into the local system, use ~%take infile!
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
try ~%take infile
try ~%take infile
You will be helped this time.
$PROMPT$
FORGET3
$PROMPT$~%take infile
Observe the result on the terminal!
set noecho; jkjkjkljd; cat infile ; echo
infile, 3457 characters
$PROMPT$
To switch from the remote system to the local
system type:
~!<CR>
To go back from the local system to the
remote system enter:
logout
To terminate a cu session, while on
the remote machine, first log off and then enter:
~.