To: None <gnats-bugs@NetBSD.ORG>
From: Charles Croot <croot@pokey.Stanford.EDU>
Date: 06/22/1996 23:08:54
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Sun Jun 23 02:35:03 1996
>Originator: Bill Studenmund
>Release: <NetBSD-current source date> May 1996 (though present in 1.1 release)
System: NetBSD pokey 1.1B NetBSD 1.1B (POKEY) #77: Sun May 26 13:38:17 PDT 1996 croot@pokey:/y1/src11/sys/arch/mac68k/compile/POKEY mac68k
The only baud rates listed in the baud rate selection table are POSIX-defined
rates. Unfortunately my Deskwriter (and all other DeskWriters) use 57600 as the
Include a :br#57600: in /etc/printcap
I can think of two fixes:
1) have lpd just throw the baud rate into a termios and do a TIOCSETA call
on the tty. If the call succeeds, then the kernel is happy with the baud rate.
If not, then there's a problem.
2) Add B57600 to the table of supported baud rates. Patch enclosed. I've tested it
briefly, and it seems OK.
*** printjob.c.orig Sat Jun 22 22:40:25 1996
--- printjob.c Sat Jun 22 22:40:46 1996
*** 1301,1306 ****
--- 1301,1307 ----
+ 57600, B57600,
lpd does not support non-POSIX printer baud rates thogh many mac printers do