File Formats ttydefs(4)
NAME
ttydefs - file contains terminal line settings information
for ttymonDESCRIPTION
/etc/ttydefs is an administrative file that contains records
divided into fields by colons (":"). This information used by ttymon to set up the speed and terminal settings for a TTY port.The ttydefs file contains the following fields:
ttylabel The string ttymon tries to match against the TTY port's ttylabel field in the port monitor administrative file. It often describes the speed at which the terminal is supposed to run, for example, 1200.initial-flags Contains the initial termio(7I) settings
to which the terminal is to be set. For example, the system administrator will be able to specify what the default erase andkill characters will be. initial-flags must
be specified in the syntax recognized by the stty command.final-flags final-flags must be specified in the same
format as initial-flags. ttymon sets these
final settings after a connection request has been made and immediately prior to invoking a port's service.autobaud If the autobaud field contains the charac-
ter 'A,' autobaud will be enabled. Other-
wise, autobaud will be disabled. ttymon determines what line speed to set the TTY port to by analyzing the carriage returns entered. If autobaud has been disabled, thehunt sequence is used for baud rate deter-
mination.nextlabel If the user indicates that the current ter-
minal setting is not appropriate by sendinga BREAK, ttymon searchs for a ttydefs entry
whose ttylabel field matches the nextlabel field. If a match is found, ttymon uses that field as its ttylabel field. A seriesSunOS 5.11 Last change: 27 Jan 1994 1
File Formats ttydefs(4)
of speeds is often linked together in this way into a closed set called a hunt sequence. For example, 4800 may be linked to 1200, which in turn is linked to 2400, which is finally linked to 4800.SEE ALSO
sttydefs(1M), ttymon(1M), termio(7I)
System Administration Guide: Basic AdministrationSunOS 5.11 Last change: 27 Jan 1994 2