Local mode flags (lflags) affect various and sundry characteristics of terminal processing. Historically the term "local" pertained to new job control features implemented by Jim Kulp on a PDP-11/70 at IIASA. Later the driver ran on the first VAX at Evans Hall, UC Berkeley, where the job control details were greatly modified but the structure definitions and names remained essentially unchanged. The second interpretation of the 'l' in lflag is ``line discipline flag'' which corresponds to the
c_lflag of the
termios structure.
isig (-isig)
Enable (disable) the checking of characters against the special control characters INTR, QUIT, and SUSP.
icanon (-icanon)
Enable (disable) canonical input (ERASE and KILL processing).
iexten (-iexten)
Enable (disable) any implementation defined special control characters not currently controlled by icanon, isig, or ixon.
echo (-echo)
Echo back (do not echo back) every character typed.
echoe (-echoe)
The ERASE character shall (shall not) visually erase the last character in the current line from the display, if possible.
echok (-echok)
Echo (do not echo) NL after KILL character.
echoke (-echoke)
The KILL character shall (shall not) visually erase the current line from the display, if possible.
echonl (-echonl)
Echo (do not echo) NL, even if echo is disabled.
echoctl (-echoctl)
If echoctl is set, echo control characters as ^X. Otherwise control characters echo as themselves.
echoprt (-echoprt)
For printing terminals. If set, echo erased characters backwards within ``\'' and ``/''. Otherwise, disable this feature.
noflsh (-noflsh)
Disable (enable) flush after INTR, QUIT, SUSP.
tostop (-tostop)
Send (do not send) SIGTTOU for background output. This causes background jobs to stop if they attempt terminal output.
altwerase (-altwerase)
Use (do not use) an alternative word erase algorithm when processing WERASE characters. This alternative algorithm considers sequences of alphanumeric/underscores as words. It also skips the first preceding character in its classification (as a convenience since the one preceding character could have been erased with simply an ERASE character.)
mdmbuf (-mdmbuf)
If set, flow control output based on condition of Carrier Detect. Otherwise writes return an error if Carrier Detect is low (and Carrier is not being ignored with the CLOCAL flag.)
flusho (-flusho)
Indicates output is (is not) being discarded.
pendin (-pendin)
Indicates input is (is not) pending after a switch from non-canonical to canonical mode and will be re-input when a read becomes pending or more input arrives.