mgettydefs (4) Linux Manual Page
mgettydefs – speed and terminal settings used by mgetty
Description
The /etc/gettydefs file contains information used by mgetty(1) to set up the speed and terminal settings for a line. It also supplies information on what the login prompt should look like. Many versions of UNIX have a version of getty(1) that also reads /etc/gettydefs. Both mgetty and getty expect similar formats in /etc/gettydefs except that, when used by mgetty, extended functionality is available. Even so, the additional functions are simply ignored by standard getty, so they can co-exist using the same file. Note, however, that mgetty can be compiled to use a file different from /etc/gettydefs if your getty gets upset about the extensions. This manual page documents /etc/gettydefs and describes the extended functionality available when used by mgetty(1). This document will refer to getty(1) except where mgetty‘s behaviour is different. Each entry in /etc/gettydefs has the following format:
- label# initial-flags # final-flags # login-prompt #next-label
Each entry is followed by a blank line. The login prompt field can contain quoted characters which will be converted to other values. The sequences and their substitutions are:
- newline
- carriage return
\g- beep
- backspace
- vertical tab (VT)
- formfeed
- tab
\L- portname
\C- time in ctime(3) format.
\N- number of users currently logged in
