Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!zehntel!dual!amdcad!fortune!hpda!hplabs!hao!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix Subject: Re: Re: LaserJet printercap for BSD 4.2? Message-ID: <1469@umcp-cs.UUCP> Date: Thu, 29-Nov-84 17:53:09 EST Article-I.D.: umcp-cs.1469 Posted: Thu Nov 29 17:53:09 1984 Date-Received: Sun, 2-Dec-84 03:59:31 EST References: <2395@pur-ee.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 33 > ...the LLITOUT mode is slightly broken. If you do a "stty litout" I > think it always works but if you just set the appropiate bit with an > ioctl it doesn't catch. Someone posted a note about this recently. If you apply the following change in ..ioctl (dhioctl, dzioctl, dmfioctl, whatever else you have) then TIOCLBIS, TIOCLBIC, and TIOCLSET (which change the local mode word) will force the line parameter registers to be fixed up. sys/vaxuba/dh.c (original): error = ttioctl(tp, cmd, data, flag); if (error >= 0) { if (cmd == TIOCSETP || cmd == TIOCSETN) dhparam(unit); return (error); } new: error = ttioctl(tp, cmd, data, flag); if (error >= 0) { if (cmd == TIOCSETP || cmd == TIOCSETN || cmd == TIOCLBIS || cmd == TIOCLBIC || cmd == TIOCLSET) dhparam(unit); return (error); } (of course, change "dh" as appropriate). -- (This line accidently left nonblank.) In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (301) 454-7690 UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland