ct(1bnu)


ct -- spawn login to a remote terminal

Synopsis

ct [options] telno ...

Description

The ct command dials the telephone number of a modem that is attached to a terminal and spawns a login(1) process to that terminal.

Options

The ct command takes the following options:

-h
By default, ct hangs up the current line so it can be used to answer the incoming call. This option prevents this action. It also waits for the termination of the specified ct process before returning control to the user's terminal.

-s speed
This option sets the data rate, where speed is expressed in baud rates. The default baud rate is 1200.

-v
This option specifies verbose mode: ct sends a running narrative to stderr.

-w maxmins
If there are no free lines ct asks if it should wait for one, and if so, for how many minutes it should wait before it gives up. ct continues to try to open the dialers at one minute intervals until the specified limit is exceeded. This dialogue may be overridden by specifying this option where maxmins is the maximum number of minutes that ct is to wait for a line.

-x num
This option is used for debugging; it produces a detailed output of the program execution on standard error. num is an integer between 0 and 9 inclusive, where 9 indicates the most detailed debugging information.

Files


/etc/uucp/Devices

Usage

The telno argument is a telephone number with equal signs (=) for secondary dial tones, and minus signs (-) for delays at appropriate places. The set of valid characters for telno is: the digits 0 through 9, ``-'', ``='', ``*'' and ``#''. The maximum length of telno is 31 characters. If more than one telephone number is specified, ct tries each in succession until one answers; this is useful for specifying alternate dialing paths.

ct tries each line listed in the Devices(4bnu) file until it finds an available line with appropriate attributes, or runs out of entries.

After the user on the destination terminal logs out, there are two things that could occur, depending on what type of port monitor is monitoring the port.

If there is no port monitor, ct prompts with Reconnect?. If the response begins with the letter ``n'', the line is dropped; otherwise, ttymon(1M) is started again and the login: prompt is printed.

If a port monitor is monitoring the port, the port monitor reissues the login: prompt.

The user should log out properly before disconnecting.

Warnings

The ct program will not work with a DATAKIT Multiplex interface.

For a shared port (one used for both dial in and dial out), the ttymon program running on the line must have the -r and -b options specified.

References

cu(1bnu), Devices(4bnu), login(1), uucp(1bnu) ttymon(1M)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004