Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ct(1C) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

login(1)

getty(1M)




ct(1C) ct(1C)
NAME ct - runs login on a dial-up line SYNOPSIS ct [-cdevice-type] [-h] [-ldevice-name] [-sbaud-rate] [-v] [-wtime-limit] [-xdebug-level] telephone-number ... ARGUMENTS -cdevice-type Causes ct to use only those entries in the Devices file whose device-type field matches the specified value. If you use this option, you must also supply a device name by using the -l option. -h Prevents ct from hanging up the current line. If you use this option, you cannot enter another command until ct is done. -ldevice-name Specifies the name of the device to use for establishing the connection. If you do not use the -s option with the -l option, ct uses the baud rate of the first entry in the Devices file whose device-name field matches the value of device-name. If the baud rate of the selected entry is Any, the default baud rate, as specified by the Default_Baudrate keyword in the Config file, is used. If you use both the -l and the -s options, ct searches the Devices file to verify that specified baud rate is available. -sbaud-rate Sets the baud rate. The default is 2400. telephone-number Specifies the telephone number to dial. You can use numbers from 0 to 9, the minus sign (-), the equal sign (=), the asterisk (*), and the number sign (#). Use an equal sign to wait for a secondary dial tone and a minus sign to pause. The maximum length of telephone-number is 31 characters. If you specify more than one telephone number, ct tries each number in succession until one answers. -v Specifies verbose mode. If you use this option, ct writes a log of its actions on the standard error. -wtime-limit Specifies in minutes the time to wait for a free dialer before giving up. The value of time-limit must be greater than 0. -xdebug-level January 1992 1



ct(1C) ct(1C)
Causes ct to write a detailed account of its actions on the standard error. The value of debug-level must be a number from 0 to 9. Higher numbers produce more detailed debugging information. DESCRIPTION ct dials a telephone number and runs login on the line if a connection is established. The connection can be to a terminal or another computer. You can use cron to run ct at a specified time, in which case, be sure to use the -h option. If getty is set up on the remote A/UX system to handle both dial-in and dial-out connections, you can dial in to that system and run ct, which drops your dial-in connection and calls you back. EXAMPLES Here is an example of using ct when you have used a dial-in connection to log in to an A/UX system whose getty is set up to handle both dial-in and dial-out connections. First, run the tty command to find out the name of the device that is being used for your current connection. Then run ct. Here is a command that runs ct on tty0 at 2400 baud: ct -ltty0 -s2400 5551212 The ct command then displays this message: Allocated ACU dialer device-name [this line] at baud-rate baud Confirm hangup? (y/n) If you enter n, ct exits and your prompt is returned. If you enter y, ct drops the connection and calls you back, using the telephone number you supplied on the ct command line, and presents the login prompt. When you are ready to end the connection, log out; ct issues this prompt: Reconnect? If you want to reconnect, enter yes. If you want to disconnect, enter no. FILES /bin/ct Executable file /usr/lib/uucp/Config File that specifies the value of UUCP configuration parameters /usr/lib/uucp/Devices File that describes the devices that can be used /usr/spool/uucp/.Admin/ctlog File that logs the use of ct on your system 2 January 1992



ct(1C) ct(1C)
SEE ALSO login(1) getty(1M) in A/UX System Administrator's Reference Chapter 8, ``Setting Up the UUCP System,'' in A/UX Network System Administration January 1992 3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026