|
|
coherent
ttys File Format ttys
Describe terminal ports
The file /eettcc/ttttyyss describes the terminals in the COHERENT
system. The process iinniitt reads this file when it brings up the
system in multi-user mode.
/eettcc/ttttyyss contains one line for each terminal. Each line
consists of the following four fields:
11. The first field is one character long, and indicates if the
device is enabled for logins: `0' indicates that the device
is not enabled, and `1' (one) indicates that logins are
enabled for the device.
22. The second field is one character long, and indicates
whether the device is local (i.e., a terminal) or remote
(i.e., a modem): `r' indicates remote, and `l' (lower-case
LL) indicates local. If `r' is used and a password is
included for rreemmaacccc (remote access) in /eettcc/ppaasssswwdd, then
persons logging in on this device will be required to supply
the remote-access password. (See the Lexicon entry for
ppaasssswwdd for more about rreemmaacccc).
33. The third field is one character long, and sets the baud
rate for the device. Note that a device can have either a
fixed baud rate, or a variable baud rate. The following
table gives the codes for fixed baud rates:
CC 110
GG 300
II 1200
LL 2400
NN 4800
PP 9600
QQ 19200
The common variable-speed codes terminal types are as
follows:
00 300, 1200, 150, 110
33 2400, 1200, 300
When a user dials into a variable-speed line, a message is
sent to the terminal using the first speed listed. If the
message is unintelligible, the user hits the <bbrreeaakk> key and
the system tries the next speed; and so on, until the
correct speed is selected.
44. The fourth field names the port that this device is plugged
into. The following table names the ports that COHERENT
recognizes:
ccoonnssoollee The tube and keyboard on your computer
COHERENT Lexicon Page 1
ttys File Format ttys
ccoomm11ll Serial port ccoomm11, local device
ccoomm11rr Serial port ccoomm11, remote device
ccoomm11ppll Serial port ccoomm11, local device
ccoomm11pprr Serial port ccoomm11, remote device
ccoomm22ll Serial port ccoomm22, local device
ccoomm22rr Serial port ccoomm22, remote device
ccoomm22ppll Serial port ccoomm22, local device
ccoomm22pprr Serial port ccoomm22, remote device
ccoomm33ll Serial port ccoomm33, local device
ccoomm33rr Serial port ccoomm33, remote device
ccoomm33ppll Serial port ccoomm33, local device
ccoomm33pprr Serial port ccoomm33, remote device
ccoomm44ll Serial port ccoomm44, local device
ccoomm44rr Serial port ccoomm44, remote device
ccoomm44ppll Serial port ccoomm44, local device
ccoomm44pprr Serial port ccoomm44, remote device
Note that if field 2 (described above) says that this is a
local device, then you must use a port descriptor that ends
in `l'; likewise, if field 2 states that this is a remote
device, the port descriptor must end in `r'. Doing
otherwise will result in trouble. See Lexicon entry ccoomm for
further details.
Do not leave trailing spaces at the end of an entry in /eettcc/ttttyyss.
Leaving blanks at the end of a line usually results in errors
that state that a device could not be found.
After you have edited /eettcc/ttttyyss, the following command forces
COHERENT to re-read the file and use the new descriptions:
kill quit 1
***** Examples *****
Consider the following ttttyyss entry:
1lPconsole
Field 1 is the first character. Here it is set to `1' (one),
which indicates that the device is enabled for logins. Field 2
is the second character. Here it is set to `l' (lower-case LL),
which indicates that this is a local device. Field 3 is the
third character. Here, it is set to `P', which indicates that
the device operates at the fixed baud rate of 9600 baud. This
field is ignored by the console device driver since the console
is not a serial device. Finally, field 4 is the remainder of the
line. Here, it indicates that the device in question is the
console.
COHERENT Lexicon Page 2
ttys File Format ttys
Now, consider another example:
1r3com3r
Field 1 is the first character. Here it is set to `1' (one),
which indicates that the device is enabled for logins. Field 2
is the second character. Here it is set to `r', which indicates
that this is a remote device, i.e., a modem. Field 3 is the
third character. Here, it is set to `3', which indicates that
the device operates at variable baud rates of 2400, 1200, and
300. By hitting the <bbrreeaakk> key on the terminal, the user can
select from among those three baud rates, in that order.
Finally, field 4 is the remainder of the line. Here, it
indicates that the device in question is plugged into port ccoomm33,
and is accessed via special file /ddeevv/ccoomm33rr.
***** Files *****
/eettcc/ttttyyss
***** See Also *****
ccoomm, ffiillee ffoorrmmaattss, ggeettttyy, iinniitt, llooggiinn, ssttttyy, tteerrmmiinnaall, ttttyy
COHERENT Lexicon Page 3
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.