Subject: Re: Serial Line Weirdness/Bug?
To: Greg A. Woods <woods@weird.com>
From: David Brownlee <abs@netbsd.org>
List: current-users
Date: 07/15/2000 12:57:15
On Thu, 13 Jul 2000, Greg A. Woods wrote:
> Ah ha! Since the documentation doesn't seem to have been updated yet (I
> looked in tty(4), com(4) & other driver pages, and of course termios(4))
> I wonder if these mystical dialout devices also have the added benefit
> of still generating a SIGHUP when DCD disappears after they're open
> (i.e. unless the CLOCAL flag has been explicitly set of course)....
>
> > Now that we have dialout devices, the sticky flags set by ttyflags(1)
> > are no longer really necessary.
>
> Mabye TIOCFLAG_CLOCAL isn't 100% necessary but the rest sure are!
>
> I still think I do need to supply a fix to ttyflags(8) that allows an
> appropriately privilged user to bypass having to edit /etc/ttys and just
> set the flags specified in a command-line option.... Sometimes a little
> extra rope can go a long way! ;-)
>
> (Note that TIOCFLAG_SOFTCAR isn't very well documented either --
> i.e. ttys(5) says only that the very badly named "softcar" is used to
> ``ignore hardware carrier'' when in truth it simply turns on the default
> CLOCAL flag and also turns off the default HUPCL flag.)
If you're in the area you could always submit the ttyflags option
plus updates to the manpages - it would be much appreciated :)
David/absolute
-- www.netbsd.org: A pmap for every occasion --