ct(1c) ct(1c)
NAME
ct - spawn getty to a remote terminal
SYNOPSIS
ct [-h] [-v] [-wn] [-sspeed] telno ...
DESCRIPTION
ct dials the phone number of a modem that is attached to a
terminal, and spawns a getty process to that terminal.
telno is a telephone number, with equals signs for secondary
dial tones and minus signs for delays at appropriate places.
If more than one telephone number is specified, ct will try
each in succession until one answers; this is useful for
specifying alternate dialing paths.
ct will try each line listed in the file /usr/lib/uucp/L-
devices until it finds an available line with appropriate
attributes or runs out of entries. If there are no free
lines, ct will ask if it should wait for one, and if so, for
how many minutes it should wait before it gives up. ct will
continue to try to open the dialers at one-minute intervals
until the specified limit is exceeded. The dialogue may be
overridden by specifying the -wn flag option, where n is the
maximum number of minutes that ct is to wait for a line.
Normally, ct will hang up the current line, so that that
line can answer the incoming call. The -h flag option will
prevent this action. If the -v flag option is used, ct will
send a running narrative to the standard error output
stream.
The data rate may be set with the -s flag option, where
speed is expressed in baud. The default rate is 300.
After the user on the destination terminal logs out, ct
prompts, Reconnect?. If the response begins with the letter
n the line will be dropped; otherwise, getty will be started
again and the login: prompt will be printed.
Of course, the destination terminal must be attached to a
modem that can answer the telephone.
EXAMPLE
ct -w15 -s1200 555-9999
dials from the terminal the given modem phone number (555-
9999), spawning a login process at 1200 baud. If the dialer
line is busy, ct will continue to try to open the dialer at
one-minute intervals for a total of 15 minutes (as set by
the -w flag option).
FILES
Page 1 (last mod. 1/16/87)
ct(1c) ct(1c)
/bin/ct
/usr/lib/uucp/L-devices
/usr/adm/ctlog
SEE ALSO
cu(1C), login(1), uucp(1C).
Page 2 (last mod. 1/16/87)