Subject: Re: defaults for tty open
To: Bill Studenmund <wrstuden@loki.Stanford.EDU>
From: Ken Hornstein <email@example.com>
Date: 02/01/1996 23:57:02
>> You fix the program. In the case of lpd, in particular, this is quite
>I haven't hacked on lpd, so I'm at the base of the learning curve.
>How do I fix it?
>I think the real fix would be to add a new entry to printcap. If this
>field's present, stty gets forked on the output port & sent the flags in
>this element. Some form of unix (Linux?) does this; Ghostscript's
>default printcap entry contains such a field. So instead of cryptic
>bit settings which require perusal of header files, we say something
>like "57600 raw crtscts clocal".
You mean, like the SunOS printcap entry that lets you specify stty-like
settings (but doesn't actually _invoke_ stty)? You know, there are patches
laying around on the net for BSD lpr that _do_ this. I wish I knew where
I saw them.