|
|
1.1 root 1:
2:
3: ttys File Format ttys
4:
5:
6:
7:
8: Describe terminal ports
9:
10:
11: The file /eettcc/ttttyyss describes the terminals in the COHERENT
12: system. The process iinniitt reads this file when it brings up the
13: system in multi-user mode.
14:
15: /eettcc/ttttyyss contains one line for each terminal. Each line
16: consists of the following four fields:
17:
18: 11. The first field is one character long, and indicates if the
19: device is enabled for logins: `0' indicates that the device
20: is not enabled, and `1' (one) indicates that logins are
21: enabled for the device.
22:
23: 22. The second field is one character long, and indicates
24: whether the device is local (i.e., a terminal) or remote
25: (i.e., a modem): `r' indicates remote, and `l' (lower-case
26: LL) indicates local. If `r' is used and a password is
27: included for rreemmaacccc (remote access) in /eettcc/ppaasssswwdd, then
28: persons logging in on this device will be required to supply
29: the remote-access password. (See the Lexicon entry for
30: ppaasssswwdd for more about rreemmaacccc).
31:
32: 33. The third field is one character long, and sets the baud
33: rate for the device. Note that a device can have either a
34: fixed baud rate, or a variable baud rate. The following
35: table gives the codes for fixed baud rates:
36:
37: CC 110
38: GG 300
39: II 1200
40: LL 2400
41: NN 4800
42: PP 9600
43: QQ 19200
44:
45: The common variable-speed codes terminal types are as
46: follows:
47:
48: 00 300, 1200, 150, 110
49: 33 2400, 1200, 300
50:
51: When a user dials into a variable-speed line, a message is
52: sent to the terminal using the first speed listed. If the
53: message is unintelligible, the user hits the <bbrreeaakk> key and
54: the system tries the next speed; and so on, until the
55: correct speed is selected.
56:
57: 44. The fourth field names the port that this device is plugged
58: into. The following table names the ports that COHERENT
59: recognizes:
60:
61: ccoonnssoollee The tube and keyboard on your computer
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
67:
68:
69: ttys File Format ttys
70:
71:
72:
73: ccoomm11ll Serial port ccoomm11, local device
74: ccoomm11rr Serial port ccoomm11, remote device
75: ccoomm11ppll Serial port ccoomm11, local device
76: ccoomm11pprr Serial port ccoomm11, remote device
77: ccoomm22ll Serial port ccoomm22, local device
78: ccoomm22rr Serial port ccoomm22, remote device
79: ccoomm22ppll Serial port ccoomm22, local device
80: ccoomm22pprr Serial port ccoomm22, remote device
81: ccoomm33ll Serial port ccoomm33, local device
82: ccoomm33rr Serial port ccoomm33, remote device
83: ccoomm33ppll Serial port ccoomm33, local device
84: ccoomm33pprr Serial port ccoomm33, remote device
85: ccoomm44ll Serial port ccoomm44, local device
86: ccoomm44rr Serial port ccoomm44, remote device
87: ccoomm44ppll Serial port ccoomm44, local device
88: ccoomm44pprr Serial port ccoomm44, remote device
89:
90: Note that if field 2 (described above) says that this is a
91: local device, then you must use a port descriptor that ends
92: in `l'; likewise, if field 2 states that this is a remote
93: device, the port descriptor must end in `r'. Doing
94: otherwise will result in trouble. See Lexicon entry ccoomm for
95: further details.
96:
97: Do not leave trailing spaces at the end of an entry in /eettcc/ttttyyss.
98: Leaving blanks at the end of a line usually results in errors
99: that state that a device could not be found.
100:
101: After you have edited /eettcc/ttttyyss, the following command forces
102: COHERENT to re-read the file and use the new descriptions:
103:
104:
105: kill quit 1
106:
107:
108: ***** Examples *****
109:
110: Consider the following ttttyyss entry:
111:
112:
113: 1lPconsole
114:
115:
116: Field 1 is the first character. Here it is set to `1' (one),
117: which indicates that the device is enabled for logins. Field 2
118: is the second character. Here it is set to `l' (lower-case LL),
119: which indicates that this is a local device. Field 3 is the
120: third character. Here, it is set to `P', which indicates that
121: the device operates at the fixed baud rate of 9600 baud. This
122: field is ignored by the console device driver since the console
123: is not a serial device. Finally, field 4 is the remainder of the
124: line. Here, it indicates that the device in question is the
125: console.
126:
127:
128:
129:
130: COHERENT Lexicon Page 2
131:
132:
133:
134:
135: ttys File Format ttys
136:
137:
138:
139: Now, consider another example:
140:
141:
142: 1r3com3r
143:
144:
145: Field 1 is the first character. Here it is set to `1' (one),
146: which indicates that the device is enabled for logins. Field 2
147: is the second character. Here it is set to `r', which indicates
148: that this is a remote device, i.e., a modem. Field 3 is the
149: third character. Here, it is set to `3', which indicates that
150: the device operates at variable baud rates of 2400, 1200, and
151: 300. By hitting the <bbrreeaakk> key on the terminal, the user can
152: select from among those three baud rates, in that order.
153: Finally, field 4 is the remainder of the line. Here, it
154: indicates that the device in question is plugged into port ccoomm33,
155: and is accessed via special file /ddeevv/ccoomm33rr.
156:
157: ***** Files *****
158:
159: /eettcc/ttttyyss
160:
161: ***** See Also *****
162:
163: ccoomm, ffiillee ffoorrmmaattss, ggeettttyy, iinniitt, llooggiinn, ssttttyy, tteerrmmiinnaall, ttttyy
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196: COHERENT Lexicon Page 3
197:
198:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.