projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b244d95
)
dont reset oki line discipline
author
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Sun, 13 Jul 1980 11:01:17 +0000
(
03:01
-0800)
committer
Bill Joy
<bill@ucbvax.Berkeley.EDU>
Sun, 13 Jul 1980 11:01:17 +0000
(
03:01
-0800)
SCCS-vsn: sys/kern/tty.c 3.10
usr/src/sys/kern/tty.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/sys/kern/tty.c
b/usr/src/sys/kern/tty.c
index
2b2318e
..
c60b04e
100644
(file)
--- a/
usr/src/sys/kern/tty.c
+++ b/
usr/src/sys/kern/tty.c
@@
-1,4
+1,4
@@
-/* tty.c 3.
9
%G% */
+/* tty.c 3.
10
%G% */
/*
* general TTY subroutines
/*
* general TTY subroutines
@@
-90,7
+90,8
@@
register struct tty *tp;
}
tp->t_state &= ~WOPEN;
tp->t_state |= ISOPEN;
}
tp->t_state &= ~WOPEN;
tp->t_state |= ISOPEN;
- tp->t_line = 0; /* conservative */
+ if (tp->t_line != OKILDISC)
+ tp->t_line = 0; /* conservative */
}
/*
}
/*
@@
-133,7
+134,8
@@
register struct tty *tp;
tp->t_pgrp = 0;
wflushtty(tp);
tp->t_state = 0;
tp->t_pgrp = 0;
wflushtty(tp);
tp->t_state = 0;
- tp->t_line = 0;
+ if (tp->t_line != OKILDISC)
+ tp->t_line = 0;
}
/*
}
/*