Aucbvax.4333 net.2bsd-bugs utzoo!decvax!ucbvax!dist2 Thu Oct 8 19:17:22 1981 FIX: to kernel/sys/dev/dhdm.c and kernel/sys/dev/dz.c Although kernel/src/cmd/stty.c supports the LNOHANG local mode bit, the drivers themselves ignored its state. The fixes necessary to make them work correctly are: diff kernel/sys/dev/dhdm.c.old kernel/sys/dev/dhdm.c 116c116,117 t_state&WOPEN)==0) { --- > if ((tp->t_state&WOPEN)==0 && > (tp->t_local&LNOHANG)==0) { diff kernel/sys/dev/dz.c.old kernel/sys/dev/dz.c 304c304,305 t_state&CARR_ON) { --- > if ((tp->t_state&CARR_ON) && > (tp->t_local&LNOHANG)==0) { These fixes should be applied to all tapes written before 10/9/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.