diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-01 22:32:59 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-01 22:32:59 +0000 |
commit | 54b445b18b1c9fbfb6ed7e4b1538195e2ddeb9e9 (patch) | |
tree | 002dc7c4618e9fb63e824a0a12bba66dc60c17ef /term | |
parent | 64e050268aaa22309597bf9dd3fc8d29a8c3e2ad (diff) |
(set_state): Make EXTPROC bit read only.
Diffstat (limited to 'term')
-rw-r--r-- | term/users.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/term/users.c b/term/users.c index 4ed20299..db1e189e 100644 --- a/term/users.c +++ b/term/users.c @@ -760,6 +760,12 @@ set_state (io_t port, bcopy (ccs, termstate.c_cc, NCCS); termstate.__ispeed = speeds[0]; termstate.__ospeed = speeds[1]; + + if (external_processing) + termstate.c_lflag |= EXTPROC; + else + termstate.c_lflag &= ~EXTPROC; + if (!(termstate.c_cflag & CIGNORE)) (*bottom->set_bits) (); if (oldlflag & ICANON) |