fix to init

utzoo!decvax!ucbvax!menlo70!sri-unix!sjk utzoo!decvax!ucbvax!menlo70!sri-unix!sjk
Sun Dec 13 15:20:24 AEST 1981


This fix insures that the line discipline is reset upon logout, some folks
may not wish to find themselves in the new tty driver by default.   scott

/usr/src/cmd/init.c:
3a4,5
> #include <whoami.h>
> #include <sgtty.h>
271c273
< 
---
> 	int ldisc;
284a287,288
> 		ldisc = 0;
> 		ioctl(0, TIOCSETD, &ldisc);


PS - I've used different pathnames than those on the distribution tape since
     I don't have the tape handy to check them and I've shuffled things around
     here.



More information about the Comp.bugs.2bsd mailing list