EXTPROC and NOKERNINFO bits.
SCCS-vsn: bin/stty/stty.c 5.18
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)stty.c 5.17 (Berkeley) %G%";
+static char sccsid[] = "@(#)stty.c 5.18 (Berkeley) %G%";
"-crt", ECHOK, ECHOE|ECHOKE|ECHOCTL,
"newcrt", ECHOE|ECHOKE|ECHOCTL, ECHOK|ECHOPRT,
"-newcrt", ECHOK, ECHOE|ECHOKE|ECHOCTL,
"-crt", ECHOK, ECHOE|ECHOKE|ECHOCTL,
"newcrt", ECHOE|ECHOKE|ECHOCTL, ECHOK|ECHOPRT,
"-newcrt", ECHOK, ECHOE|ECHOKE|ECHOCTL,
+ "nokerninfo", NOKERNINFO, 0,
+ "-nokerninfo", 0, NOKERNINFO,
+ "kerninfo", 0, NOKERNINFO,
+ "-kerninfo", NOKERNINFO, 0,
int dodisc;
int debug = 0;
int trace, dotrace;
int dodisc;
int debug = 0;
int trace, dotrace;
#define OUT stdout /* informational output stream */
#define ERR stderr /* error message stream */
#define OUT stdout /* informational output stream */
#define ERR stderr /* error message stream */
put("%d %d\n", win.ws_row, win.ws_col);
exit(0);
}
put("%d %d\n", win.ws_row, win.ws_col);
exit(0);
}
+ if (eq("extrpc", *argv) || eq("-extproc", *argv)) {
+ if (**argv == '-')
+ extproc = 0;
+ else
+ extproc = 1;
+ ioctl(ctl, TIOCEXT, &extproc);
+ }
if (eq("speed", *argv)) {
put("%d\n", cfgetospeed(&t));
exit(0);
if (eq("speed", *argv)) {
put("%d\n", cfgetospeed(&t));
exit(0);
lput("-mdmbuf ",MDMBUF, 0);
lput("-flusho ",FLUSHO, 0);
lput("-pendin ",PENDIN, 0);
lput("-mdmbuf ",MDMBUF, 0);
lput("-flusho ",FLUSHO, 0);
lput("-pendin ",PENDIN, 0);
+ lput("-nokerninfo ",NOKERNINFO, 0);
+ lput("-extproc ",EXTPROC, 0);