Subject: lpd, CLOCAL and serial printers
To: None <port-i386@NetBSD.ORG>
From: Nathaniel D. Daw <ndd2@columbia.edu>
List: port-i386
Date: 07/20/1996 18:01:49
I have a serial printer to which I am spooling jobs with lpd. Problem:
it doesn't assert carrier detect or readiness, so it needs the CLOCAL
flag to work. And the driver program needs bidirectional access to the
port.

So: adding CLOCAL to the ms flags in /etc/printcap doesn't seem to work.
The child lpd process blocks waiting to open the port and never spawns
the driver. Only if I run a separate program to open and hold the port
and do an stty -f /dev/tty01 clocal can I get it to work. Shouldn't
there be a cleaner way to do this? What am I missing?

-- 
..nathaniel daw......................................ndd2@columbia.edu..
 .ok soda may be the preferred drink of other people, such as yourself.