1ct(1C)                      Communication Commands                      ct(1C)
2
3
4

NAME

6       ct - spawn login to a remote terminal
7

SYNOPSIS

9       ct [options] telno...
10
11

DESCRIPTION

13       The  ct  utility dials the telephone number of a modem that is attached
14       to a terminal and spawns a login process to that terminal. The telno is
15       a telephone number, with equal signs for secondary dial tones and minus
16       signs for delays at appropriate places. (The set  of  legal  characters
17       for  telno  is 0 through 9, -, =, *, and #. The maximum length telno is
18       31 characters). If more than one telephone number is specified, ct will
19       try each in succession until one answers; this is useful for specifying
20       alternate dialing paths.
21
22
23       ct will try each line listed in the  file  /etc/uucp/Devices  until  it
24       finds  an  available  line  with appropriate attributes, or runs out of
25       entries.
26
27
28       After the user on the destination terminal  logs  out,  there  are  two
29       things that could occur depending on what type of port monitor is moni‐
30       toring the port. In the case of no port monitor, ct prompts: Reconnect?
31       If  the  response  begins  with the letter n, the line will be dropped;
32       otherwise, ttymon will be started again and the login: prompt  will  be
33       printed.  In  the  second  case, where a port monitor is monitoring the
34       port, the port monitor reissues the login: prompt.
35
36
37       The user should log out properly before disconnecting.
38

OPTIONS

40       The following options are supported:
41
42       -h         Normally,  ct will hang up the current line so that  it  can
43                  be  used  to  answer  the incoming call.  The -h option will
44                  prevent this action. The -h option will also  wait  for  the
45                  termination  of  the  specified  ct process before returning
46                  control to the user's terminal.
47
48
49       -sspeed    The data rate may be  set  with  the  -s  option.  speed  is
50                  expressed in baud rates.  The default baud rate is 1200.
51
52
53       -v         If  the -v (verbose) option is used,  ct will send a running
54                  narrative to the standard error output stream.
55
56
57       -wn        If there are no free lines ct will ask if  it  should  wait,
58                  and  for how many minutes,  before it gives up. ct will con‐
59                  tinue to try to open the  dialers  at  one-minute  intervals
60                  until  the specified limit is exceeded. This dialogue may be
61                  overridden by specifying the -wn option. n  is  the  maximum
62                  number of minutes that ct is to wait for a line.
63
64
65       -xn        This  option  is  used for debugging; it produces a detailed
66                  output of the program execution on stderr.  n  is  a  single
67                  number  between  0 and 9. As n increases to 9, more detailed
68                  debugging information is given.
69
70

FILES

72       /etc/uucp/Devices
73
74
75       /var/adm/ctlog
76
77

ATTRIBUTES

79       See attributes(5) for descriptions of the following attributes:
80
81
82
83
84       ┌─────────────────────────────┬─────────────────────────────┐
85       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
86       ├─────────────────────────────┼─────────────────────────────┤
87       │Availability                 │SUNWbnuu                     │
88       └─────────────────────────────┴─────────────────────────────┘
89

SEE ALSO

91       cu(1C), login(1), uucp(1C), ttymon(1M), attributes(5)
92

NOTES

94       The ct program will not work with a DATAKIT Multiplex interface.
95
96
97       For a shared port, one used for both dial-in and dial-out,  the  ttymon
98       program  running  on the line must have the -r and -b options specified
99       (see ttymon(1M)).
100
101
102
103SunOS 5.11                        14 Sep 1992                           ct(1C)
Impressum