ct(1) General Commands Manual ct(1)
NAME
ct - spawn getty to a remote terminal (call terminal)
SYNOPSIS
n] n] speed] telno...
DESCRIPTION
dials telno, the telephone number of a modem that is attached to a terminal, and spawns a getty(1M) process to that terminal.
tries each line listed in file until it finds an available line with appropriate attributes or runs out of entries. If no lines are free,
asks whether it should wait for a line, and if so, how many minutes it should wait before giving up. searches again for an available line
at one-minute intervals until the specified limit is exceeded. Note that normally, disconnects the current tty line, so that the line can
answer the incoming call. This is because assumes that the current tty line is connected to the terminal to spawn the process.
The telno argument specifies the telephone number, which can be composed of characters through and Use equal signs to signify secondary
dial tones and minus signs for delays at appropriate places. The maximum length of telno is 31 characters. If more than one telephone
number is specified, tries each in succession until one answers; this is useful for specifying alternate dialing paths.
When disconnects the current line, should not be spawned on this line if is going to make use of the same line to reconnect. To do this,
set the entry for this line in the file to instead of (see inittab(4)).
Options
recognizes the following options and command-line arguments:
Instruct to wait for a line a maximum of n number of minutes, if lines are busy. If this option is specified, does not query
the user about whether to wait for a line.
Produce detailed output from program execution
on the standard error output. This option is used for debugging. The debugging level n is a single digit; the most
useful value is
Prevent from disconnecting ("hanging up") the current tty line. This option is necessary if the user is using a different
tty line than the one used by to spawn the
Verbose mode. The option is used with the option and causes to send a running narrative to the standard error output stream.
Set the data rate where
speed is expressed in baud. The default rate is
After the user on the destination terminal logs out, prompts, If the response begins with the letter the line is dropped. Otherwise, is
restarted and the prompt is printed.
Of course, the destination terminal must be attached to a modem that can automatically answer incoming calls.
FILES
SEE ALSO
cu(1), login(1), uucp(1), getty(1M), uugetty(1M).
ct(1)