Subject: Re: stty doesn't stick!??
To: noud de brouwer <noud@pop.knot.nl>
From: Bill Studenmund <skippy@macro.stanford.edu>
List: port-i386
Date: 01/14/1997 16:30:02
Note: noud, I see you found the pr. Let me know how it does. :-)

On Tue, 14 Jan 1997, noud de brouwer wrote:

> >second or third open, while the first fd is still open, don't count).
>                                        ^ fd??
> but i get the drift..

Sorry. File descriptor.

> >The current mac zstty serial driver (not the M.I. one), the zs driver the
> 
> M.I. one ???

Machine independant. The sun3, mvme68k, and (I think) pc532 ports all use
the same base code. mac68k will use it soon. It resets these defaults each
first open.

> >There actually was a great debate on current-users a few months ago about
> >this very point. Both sides have merit.
> 
> being not so unix as most of us ..
> much discussion/dialog goes over my head until i need it..
> (i slowly learn more about this all.)

That's the way we all learned. :-)

> >My solution was to come up with per-port settable defaults. They're kinda
> >like what people have called "BSDI defaults," but I've never used BSDI.
> >The patches to impliment them are sitting in a languishing pr (I've
> >forgotten the #). Basically stty gains a "-D" flag, and you can change the
> >defaults for a port. Just what you want to do.
> >
> >I think the pr's patches include a patch to the dev/isa/com driver.
> 
> -->Bill, where or how can i seek trough the prs to find your change??

As I said, I see you found them. :-)

> btw: Bill thanx much for being a authority on serials on both sides
> (mac68k & i386)

I can't claim to be an expert on the com driver. I've looked at it (and
borrowed its tolerancing idea), but I don't maintain it. The mac68k serial
ports, though, I seem to break every 6 months. :-) 

Take care,

Bill