home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!umd5!roissy.umd.edu!mark
- From: mark@roissy.umd.edu (Mark Sienkiewicz)
- Newsgroups: comp.sys.hp
- Subject: Re: Problem with hp laser II
- Message-ID: <17491@umd5.umd.edu>
- Date: 11 Dec 92 20:43:19 GMT
- References: <9233810.2944@mulga.cs.mu.OZ.AU> <6854@tivoli.UUCP>
- Sender: news@umd5.umd.edu
- Organization: University of Maryland
- Lines: 22
-
- In article <6854@tivoli.UUCP> stuart@TIVOLI.COM (Stuart Jarriel) writes:
- >|> to it at once, it looks to me that the line somehow dropping the
- >|> baud rate to 300 then reset back to 9600 before spooling to the
-
- >
- >Serial ports in HPUX, when not attached to a running process are set
- >(but the OS) to 300 baud. And the laserjet will see that.
-
- >lp ::off:nohup sleep 999999999 </dev/lp & stty 9600 </dev/lp
-
- I've seen this is lots of SYSV based machines-- they all seem to have
- this problem, but this solution looks like a quick hack that covers over
- some other problem.
-
- It looks to me like the real problem is that the XXclose routine for the
- terminal is changing the baud rate BEFORE the output is drained. If the
- close() system call would block until the output queue drained, and THEN
- set the baud rate back to the default, everything would work correctly,
- right?
-
- Mark S.
-
-