*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> ct (1)              


 ct(1)                                                                 ct(1)

 NAME    [Toc]    [Back]
      ct - spawn getty to a remote terminal (call terminal)

 SYNOPSIS    [Toc]    [Back]
      ct [-w n] [-x n] [-h] [-v] [-s speed] telno...

 DESCRIPTION    [Toc]    [Back]
      ct dials telno, the telephone number of a modem that is attached to a
      terminal, and spawns a getty(1M) process to that terminal.

      ct tries each line listed in file /etc/uucp/Devices until it finds an
      available line with appropriate attributes or runs out of entries.  If
      no lines are free, ct asks whether it should wait for a line, and if
      so, how many minutes it should wait before giving up.  ct searches
      again for an available line at one-minute intervals until the
      specified limit is exceeded.  Note that normally, ct disconnects the
      current tty line, so that the line can answer the incoming call.  This
      is because ct assumes that the current tty line is connected to the
      terminal to spawn the getty process.

      The telno argument specifies the telephone number, which can be
      composed of characters 0 through 9, -, =, *, 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, ct tries each in
      succession until one answers; this is useful for specifying alternate
      dialing paths.

      When ct disconnects the current line, getty should not be spawned on
      this line if ct is going to make use of the same line to reconnect.
      To do this, set the entry for this line in the inittab file to uugetty
      instead of getty (see inittab(4)).

    Options    [Toc]    [Back]
      ct recognizes the following options and command-line arguments:

           -wn            Instruct ct to wait for a line a maximum of n
                          number of minutes, if lines are busy.  If this
                          option is specified, ct does not query the user
                          about whether to wait for a line.

           -xn            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 -x9.

           -h             Prevent ct 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 ct to spawn the getty.

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 ct(1)                                                                 ct(1)

           -v             Verbose mode.  The -v option is used with the -h
                          option and causes ct to send a running narrative
                          to the standard error output stream.

           -sspeed        Set the data rate 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 begins with the letter n the line is
      dropped.  Otherwise, getty is restarted and the login: prompt is

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

 FILES    [Toc]    [Back]

 SEE ALSO    [Toc]    [Back]
      cu(1), login(1), uucp(1), getty(1M), uugetty(1M).

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
gettydefs IRIX speed and terminal settings used by getty
gettydefs HP-UX speed and terminal settings used by getty
cu HP-UX call another (UNIX) system; terminal emulator
termios Linux get and set terminal attributes, line control, get and set baud rate, get and set terminal foregroun...
rpc Tru64 Remote procedure call file
rpcgen NetBSD Remote Procedure Call (RPC) protocol compiler
rpc IRIX Remote Procedure Call (RPC) library routines
rpcinfo Tru64 report remote procedure call (RPC) information
rpc_svc_err IRIX library routines for server side remote procedure call errors
svcerr_weakauth FreeBSD library routines for server side remote procedure call errors
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service