Lines 464-469
Link Here
|
464 |
if (tp->t_flags & TF_ZOMBIE) |
464 |
if (tp->t_flags & TF_ZOMBIE) |
465 |
return (EIO); |
465 |
return (EIO); |
466 |
|
466 |
|
|
|
467 |
if (tp->t_termios.c_lflag & FLUSHO) { |
468 |
uio->uio_resid = 0; |
469 |
return (0); |
470 |
} |
471 |
|
467 |
/* |
472 |
/* |
468 |
* We don't need to check whether the process is the foreground |
473 |
* We don't need to check whether the process is the foreground |
469 |
* process group or if we have a carrier. This is already done |
474 |
* process group or if we have a carrier. This is already done |
Lines 896-901
Link Here
|
896 |
|
901 |
|
897 |
/* Special control characters that are implementation dependent. */ |
902 |
/* Special control characters that are implementation dependent. */ |
898 |
if (CMP_FLAG(l, IEXTEN)) { |
903 |
if (CMP_FLAG(l, IEXTEN)) { |
|
|
904 |
/* Discard (^O) */ |
905 |
if (CMP_CC(VDISCARD, c)) { |
906 |
if (!(tp->t_termios.c_lflag & FLUSHO)) |
907 |
ttyoutq_write_nofrag(&tp->t_outq, "^O", 2); |
908 |
tp->t_termios.c_lflag ^= FLUSHO; |
909 |
return(0); |
910 |
} |
911 |
|
899 |
/* Accept the next character as literal. */ |
912 |
/* Accept the next character as literal. */ |
900 |
if (CMP_CC(VLNEXT, c)) { |
913 |
if (CMP_CC(VLNEXT, c)) { |
901 |
if (CMP_FLAG(l, ECHO)) { |
914 |
if (CMP_FLAG(l, ECHO)) { |