Subject: Re: defaults for tty open
To: Bill Studenmund <wrstuden@loki.stanford.edu>
From: Eduardo E. Horvath eeh@btr.com <eeh@btr.btr.com>
List: tech-kern
Date: 02/02/1996 09:18:44
On Thu, 1 Feb 1996, Bill Studenmund wrote:

> Also, I agree that it's dangerous for a program to assume a tty will be
> just as it needs it, but what do we do for programs which can't set
> tty settings right? lpd comes to mind. It does NOT support 57600
> baud, and its method of setting control flags looks archaic.

sleep 10000000 </dev/ttyxx >/dev/ttyxx& 
stty </dev/ttyxx -echo raw 57600
lpd

Or you could do something equivalent with a print filter shell script.

Eduardo