Fix build errors.

This commit is contained in:
Serge Vakulenko
2015-09-13 02:21:03 -07:00
parent 0087168ba6
commit 3b1e8d40d7
5 changed files with 26 additions and 2 deletions

View File

@@ -201,7 +201,8 @@ This character is an additional character causing wakeup.
.TP 10
.B dec
set all modes suitable for Digital Equipment Corp. operating systems
users; (erase, kill, and interrupt characters to ^?, ^U, and ^C, and ``crt''.)
users; (erase, kill, and interrupt characters to ^?, ^U, and ^C,
decctlq and ``crt''.)
.ns
.TP 10
.B 0
@@ -270,6 +271,18 @@ Print two backspaces following the EOT character (control D).
Control characters echo as themselves; in cooked mode EOT (control-D)
is not echoed.
.TP 10
.B decctlq
After output is suspended (normally by ^S), only a start character
(normally ^Q) will restart it. This is compatible with DEC's vendor
supplied systems.
.br
.ns
.TP 10
.B \-decctlq
After output is suspended, any character typed will restart it;
the start character will restart output without providing any input.
(This is the default.)
.TP 10
.B tostop
Background jobs stop if they attempt terminal output.
.br

View File

@@ -106,6 +106,8 @@ struct MODES lmodes[] = {
"-ctlecho", 0, LCTLECH,
"pendin", LPENDIN, 0,
"-pendin", 0, LPENDIN,
"decctlq", LDECCTQ, 0,
"-decctlq", 0, LDECCTQ,
"noflsh", LNOFLSH, 0,
"-noflsh", 0, LNOFLSH,
0
@@ -430,6 +432,7 @@ prmodes(all)
nothing = 0;
}
lpit(LPENDIN, "-pendin ");
lpit(LDECCTQ, "-decctlq ");
lpit(LNOFLSH, "-noflsh ");
if (any || nothing)
fputc('\n', stderr);