Commit | Line | Data |
---|---|---|
46d26631 BJ |
1 | .th TTYTYPE VI 11/15/77 |
2 | .sh NAME | |
3 | ttytype \- indicate (or inquire about) terminal type in system data base | |
4 | .sh SYNOPSIS | |
5 | .bd ttytype | |
6 | [ | |
7 | .bd \-n | |
8 | ] [ | |
9 | [ | |
10 | .bd \-d | |
11 | ] | |
12 | type | |
13 | ] | |
14 | .sh DESCRIPTION | |
15 | The system maintains a data base giving the type of each terminal and the | |
16 | home directory of the user logged in on that terminal. | |
17 | This information is initialized at login \- | |
18 | the terminal type from the | |
19 | .it ttytype | |
20 | data base, | |
21 | and the home directory from the user's entry in the password file. | |
22 | .it Ttytype | |
23 | can be used to interrogate and change the teletype type portion | |
24 | of this information. | |
25 | The most common use for | |
26 | .it ttytype | |
27 | is when using a dial-up port. | |
28 | .it Ttytype | |
29 | is necessary in this case because the system cannot know the type of | |
30 | terminal being used. | |
31 | .s3 | |
32 | The options of | |
33 | .it ttytype | |
34 | are: | |
35 | .s3 | |
36 | .lp +6 5 | |
37 | \fB\-d\fR Perform the action implied by the rest of the command | |
38 | only if the terminal in use is a dial-up port. | |
39 | .s3 | |
40 | .lp +6 5 | |
41 | \fB\-n\fR Print the type codes for terminals on this system. | |
42 | .s3 | |
43 | .i0 | |
44 | If | |
45 | .it ttytype | |
46 | is given no arguments, | |
47 | it prints the type recorded in the data base for this terminal. | |
48 | If given a | |
49 | .it type | |
50 | the type recorded in the data base will be changed to that type. | |
51 | Thus to tell the system that you dialed up on an | |
52 | \s-2LSI ADM-3A\s0 | |
53 | you could use the command | |
54 | .s3 | |
55 | .dt | |
56 | .bd " ttytype adm3a" | |
57 | .s3 | |
58 | If you frequently dial-up on a | |
59 | \s-2DECWRITER\-II\s0 | |
60 | you could put the command | |
61 | .s3 | |
62 | .dt | |
63 | .bd " ttytype \-d decwriter" | |
64 | .s3 | |
65 | in your | |
66 | .bd \&.start_up | |
67 | file. | |
68 | .s3 | |
69 | The more common types and abbreviations at UC Berkeley are: | |
70 | .s3 | |
71 | .ta .75i 1.5i 2.25i 3i 3.75i | |
72 | .nf | |
73 | adm3a 3a | |
74 | adm3 3 | |
75 | dw2 decwriter | |
76 | diablo dtc | |
77 | dialup | |
78 | gt40 40 | |
79 | gt42 42 | |
80 | hazeltine 2000 | |
81 | hp2645 2645 | |
82 | ti700 ti733 7 | |
83 | tty tty33 tty35 teletype | |
84 | unknown u | |
85 | .fi | |
86 | .s3 | |
87 | .sh FILES | |
88 | /etc/htmp data base | |
89 | .br | |
90 | /etc/utmp who file | |
91 | .br | |
92 | /etc/ttycap for \fB\-n\fR option | |
93 | .sh "SEE ALSO" | |
94 | sethome (VI), htmp (V), tset (VI), htmp (VII) | |
95 | .sh AUTHOR | |
96 | William Joy | |
97 | .sh BUGS |