Fix build errors.
This commit is contained in:
@@ -781,7 +781,6 @@ file /include/machine/machparam.h
|
|||||||
file /include/machine/pic32mx.h
|
file /include/machine/pic32mx.h
|
||||||
file /include/machine/rd_sdramp_config.h
|
file /include/machine/rd_sdramp_config.h
|
||||||
file /include/machine/sdram.h
|
file /include/machine/sdram.h
|
||||||
file /include/machine/ssd1926.h
|
|
||||||
file /include/machine/usb_ch9.h
|
file /include/machine/usb_ch9.h
|
||||||
file /include/machine/usb_device.h
|
file /include/machine/usb_device.h
|
||||||
file /include/machine/usb_function_cdc.h
|
file /include/machine/usb_function_cdc.h
|
||||||
|
|||||||
@@ -201,7 +201,8 @@ This character is an additional character causing wakeup.
|
|||||||
.TP 10
|
.TP 10
|
||||||
.B dec
|
.B dec
|
||||||
set all modes suitable for Digital Equipment Corp. operating systems
|
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
|
.ns
|
||||||
.TP 10
|
.TP 10
|
||||||
.B 0
|
.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)
|
Control characters echo as themselves; in cooked mode EOT (control-D)
|
||||||
is not echoed.
|
is not echoed.
|
||||||
.TP 10
|
.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
|
.B tostop
|
||||||
Background jobs stop if they attempt terminal output.
|
Background jobs stop if they attempt terminal output.
|
||||||
.br
|
.br
|
||||||
|
|||||||
@@ -106,6 +106,8 @@ struct MODES lmodes[] = {
|
|||||||
"-ctlecho", 0, LCTLECH,
|
"-ctlecho", 0, LCTLECH,
|
||||||
"pendin", LPENDIN, 0,
|
"pendin", LPENDIN, 0,
|
||||||
"-pendin", 0, LPENDIN,
|
"-pendin", 0, LPENDIN,
|
||||||
|
"decctlq", LDECCTQ, 0,
|
||||||
|
"-decctlq", 0, LDECCTQ,
|
||||||
"noflsh", LNOFLSH, 0,
|
"noflsh", LNOFLSH, 0,
|
||||||
"-noflsh", 0, LNOFLSH,
|
"-noflsh", 0, LNOFLSH,
|
||||||
0
|
0
|
||||||
@@ -430,6 +432,7 @@ prmodes(all)
|
|||||||
nothing = 0;
|
nothing = 0;
|
||||||
}
|
}
|
||||||
lpit(LPENDIN, "-pendin ");
|
lpit(LPENDIN, "-pendin ");
|
||||||
|
lpit(LDECCTQ, "-decctlq ");
|
||||||
lpit(LNOFLSH, "-noflsh ");
|
lpit(LNOFLSH, "-noflsh ");
|
||||||
if (any || nothing)
|
if (any || nothing)
|
||||||
fputc('\n', stderr);
|
fputc('\n', stderr);
|
||||||
|
|||||||
@@ -161,6 +161,7 @@ struct ttysize {
|
|||||||
#define PASS8 0x08000000
|
#define PASS8 0x08000000
|
||||||
#define CTLECH 0x10000000 /* echo control chars as ^X */
|
#define CTLECH 0x10000000 /* echo control chars as ^X */
|
||||||
#define PENDIN 0x20000000 /* tp->t_rawq needs reread */
|
#define PENDIN 0x20000000 /* tp->t_rawq needs reread */
|
||||||
|
#define DECCTQ 0x40000000 /* only ^Q starts after ^S */
|
||||||
#define NOFLSH 0x80000000 /* no output flush on signal */
|
#define NOFLSH 0x80000000 /* no output flush on signal */
|
||||||
/* locals, from 127 down */
|
/* locals, from 127 down */
|
||||||
#define TIOCLBIS _IOW('t', 127, int) /* bis local mode bits */
|
#define TIOCLBIS _IOW('t', 127, int) /* bis local mode bits */
|
||||||
@@ -180,6 +181,7 @@ struct ttysize {
|
|||||||
#define LPASS8 ((int)(PASS8>>16))
|
#define LPASS8 ((int)(PASS8>>16))
|
||||||
#define LCTLECH ((int)(CTLECH>>16))
|
#define LCTLECH ((int)(CTLECH>>16))
|
||||||
#define LPENDIN ((int)(PENDIN>>16))
|
#define LPENDIN ((int)(PENDIN>>16))
|
||||||
|
#define LDECCTQ ((int)(DECCTQ>>16))
|
||||||
#define LNOFLSH ((int)(NOFLSH>>16))
|
#define LNOFLSH ((int)(NOFLSH>>16))
|
||||||
#define TIOCSBRK _IO ('t', 123) /* set break bit */
|
#define TIOCSBRK _IO ('t', 123) /* set break bit */
|
||||||
#define TIOCCBRK _IO ('t', 122) /* clear break bit */
|
#define TIOCCBRK _IO ('t', 122) /* clear break bit */
|
||||||
|
|||||||
@@ -1225,6 +1225,13 @@ erasenb:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
endcase:
|
endcase:
|
||||||
|
/*
|
||||||
|
* If DEC-style start/stop is enabled don't restart
|
||||||
|
* output until seeing the start character.
|
||||||
|
*/
|
||||||
|
if (t_flags & DECCTQ && tp->t_state & TS_TTSTOP &&
|
||||||
|
tp->t_startc != tp->t_stopc)
|
||||||
|
return;
|
||||||
restartoutput:
|
restartoutput:
|
||||||
tp->t_state &= ~TS_TTSTOP;
|
tp->t_state &= ~TS_TTSTOP;
|
||||||
tp->t_flags &= ~FLUSHO;
|
tp->t_flags &= ~FLUSHO;
|
||||||
|
|||||||
Reference in New Issue
Block a user