Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ct(C) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cu(C)

login(M)

uucp(C)

getty(M)



     CT(C)                    XENIX System V                     CT(C)



     Name
          ct - spawn getty to a remote terminal

     Syntax
          ct [ -wn ] [ -xn ] [ -h ] [ -v ] [ -sspeed ] telno ...

     Description
          ct dials the telephone number of a modem that is attached to
          a terminal, and spawns a getty process to that terminal.
          Telno is a telephone number, with equal signs for secondary
          dial tones and minus signs for delays at appropriate places.
          (The set of legal characters for telno is 0 thru 9, -, =, *,
          and #.  The maximum length telno is 58 characters).  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 ACU line listed in the file
          /usr/lib/uucp/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 option,
          where n is the maximum number of minutes that ct is to wait
          for a line.

          The -xn option is used for debugging; it produces a detailed
          output of the program execution on stderr.  The debugging
          level, n, is a single digit; -x9 is the most useful value.
          If the -v option is used, ct will send a running narrative
          to the standard error output stream.

          Normally, ct will hang up the current line, so the line can
          answer the incoming call.  The -h option will prevent this
          action.  The -h option will also wait for the termination of
          the specified ct process before returning control to the
          user's terminal.

          The data rate may be set with the -s option, where speed is
          expressed in baud.  The default rate is 1200.

          After the user on the destination terminal logs out, ct
          prompts, Reconnect?  If the response does not begin with the
          letter y, the line will be dropped; otherwise, getty will be
          started again and the login:  prompt will be printed.

          To log out properly, the user must type control D.

          Of course, the destination terminal must be attached to a
          modem that can answer the telephone.



     Page 1                                           (printed 2/7/91)





     CT(C)                    XENIX System V                     CT(C)



     Files
          /usr/lib/uucp/Devices
          /usr/lib/uucp/LCK..(tty-device)
          /usr/adm/ctlog

     See Also
          cu(C), login(M), uucp(C), getty(M).

     Notes
          In hangup mode (-h not specified), when a suitable dialer
          has been allocated, ct prompts ``Proceed to hang-up?''  If
          the response does not begin with the letter y, the program
          simply exits.  If you are logged in on a computer through a
          local terminal and you want to connect a remote terminal to
          the computer, you should use nohup with ct to accomplish
          this:

               nohup ct -h -sspeed phone

          After the command is executed, a login prompt is displayed
          on the remote terminal.  The user can then log in and work
          on the computer just as on a local terminal.

































     Page 2                                           (printed 2/7/91)



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