home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.pc-clone.32bit
- Path: sparky!uunet!peora!tarpit!bilver!bill
- From: bill@bilver.uucp (Bill Vermillion)
- Subject: Re: Changing serial port characteristics under SCO
- Organization: W. J. Vermillion - Winter Park, FL
- Date: Sun, 10 Jan 1993 16:34:14 GMT
- Message-ID: <1993Jan10.163414.8864@bilver.uucp>
- References: <1993Jan07.063858.6228@chinacat.unicom.com> <1993Jan8.034306.26786@bilver.uucp> <1993Jan09.232437.24494@chinacat.unicom.com>
- Lines: 43
-
- In article <1993Jan09.232437.24494@chinacat.unicom.com> chip@chinacat.unicom.com (Chip Rosenthal) writes:
- >In article <1993Jan8.034306.26786@bilver.uucp>
- > bill@bilver.uucp (Bill Vermillion) writes:
-
- >>I put a line in rc.d to run an stty on the port at boot time, and then
- >>sleep for 5 minutes, then run again. [...] Would this concept work for
- >>the device that is printing directly to the port?
- ....
-
- >This little `stty' deamon is not the right way to fix the truncated
- >print problem, and it's a kludgey way to fix this problem too. For
- ^^^^^^ (Life's a kludge anyway :-) ).
- >reference, the best way to fix the truncated print problem is to add
- >something like:
-
- > stty ixany </dev/whatever
-
- >at the end of the printer interface script.
-
- I have several that I have just copied the stty line from the
- first of the script to the end, and that fixed it. And some
- that did not.
-
- On a Specialix Rio (damned fast boards) the stty at the end did
- not cure it, and Specialix support recommend a sleep command at
- the end of the script just before the exit. That cured that
- problem.
-
- >If the brain-dead app will accept a named pipe (c.f. mknod) as the
- >printer device, the problem can be solved by running a simple daemon
- >at boot:
-
- > while : ; do lp -dwhatever < /path/to/the/fifo ; done
-
- >and specifying /path/to/the/fifo as the print device.
-
- Thanks for the info. I appreciate that.
-
- Bill
-
- --
- Bill Vermillion - bill@bilver.oau.org bill@bilver.uucp
- - ..!{peora|tous|tarpit}!bilver!bill
-