Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ct(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cu(1)

login(1)

uucp(1)

ttymon(1M)

ct(1)                                                                 ct(1)

NAME
     ct - spawn port monitor for a remote terminal

SYNOPSIS
     ct[ option] telno...

DESCRIPTION
     ct dials the telephone number of a modem that is attached to a remote
     terminal and spawns a getty process to that terminal.

OPTIONS
     -h   ct occupies the current line so that it cannot be used to answer
          the incoming call immediately. It also waits for the specified
          process to terminate before returning control to the user's ter-
          minal.

          -h not specified:

          ct hangs up the current line and keeps it free so that incoming
          calls can be handled immediately.

     -sspeed
          Sets the data rate for ct in baud.

          -sspeed not specified:

          The baud rate defaults to 1200.

     -v   (verbose) Causes ct to report what it is doing on standard error.

     -wn  If there are no free lines, ct normally asks if it should wait
          for one, and if so, how long it should wait before it giving up
          and returning to command level. ct will then continue to dial the
          specified telephone numbers at one-minute intervals until a modem
          is reached or the specified time limit is exceeded. You can use
          the -w option to specify in advance the maximum number of minutes
          (n) that ct is to wait for a line.

     -xn  This option is used for debugging; it produces a detailed output
          of the program execution on standard error. n is a single number
          between 0 and 9 and specifies the debugging level. -x9 provides
          the most information.

     telno
          Telephone number of the modem connected to the remote terminal.
          The maximum permissible length for telno is 31 characters. The
          set of legal characters for telno comprises the digits 0 through
          9, and the special characters -, =, * and #. The latter charac-
          ters are interpreted as shown below during connection setup:






Page 1                       Reliant UNIX 5.44                Printed 11/98

ct(1)                                                                 ct(1)

          -  the equal sign (=) as secondary dial tones

          -  the minus sign (-) as delays at appropriate places

          -  the other characters (* and #) have their usual meanings as
             tone dial characters.

          You may specify more than one telephone number. If you do, ct
          will try each in succession until one of the selected modems
          answers.

   Mode of operation

     ct tries each line listed in the file /etc/uucp/Devices until it finds
     an available line with appropriate attributes or reaches the end of
     the list.

     After the user on the remote terminal logs out, ct prompts the user
     with Reconnect? to check whether a connection is to be reestablished.
     If the response begins with the letter n, the line will be dropped;
     otherwise, the ttymon daemon is started again and the "login:" prompt
     is issued. The user should log out properly (with <CTRL-D>) before
     disconnecting.

     Caution:
          On a bidirectional line with a single dial-up number, the ttymon
          program running on the line must have the -r and -b options
          specified [see ttymon(1M)].

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

FILES
     /usr/uucp/Devices
          Lists lines and their attributes.

SEE ALSO
     cu(1), login(1), uucp(1), ttymon(1M).

















Page 2                       Reliant UNIX 5.44                Printed 11/98

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