Text File

Aucbvax.5480 net.bugs.2bsd utzoo!decvax!ucbvax!dist2 Tue Dec 15 03:02:40 1981 Re: fix to init (sri-unix.214) There is no reason for the suggested code change to init.c. The file kernel/src/cmd/getty.c already includes code (beginning at line 139) to ensure that the line discipline is reset. However, the code in getty.c assumes that the old line discipline is 0 instead of using the defined constant OTTYDISC from sys/ioctl.h. This should be changed:

diff kernel/src/cmd/getty.c.old kernel/src/cmd/getty.c 142c142 ldisc = OTTYDISC;

This change should be applied to all tapes written before 12/15/81.

Carl

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.