Subject: Re: tty flag order for /etc/ttys?
To: Jon Buller <jonb@metronet.com>
From: Jukka Marin <jmarin@pyy.jmp.fi>
List: current-users
Date: 04/08/1998 07:34:52
On Tue, Apr 07, 1998 at 10:08:46PM -0500, Jon Buller wrote:
> Is it a well known thing that the tty flags in /etc/ttys must be
> in a specific order to work?  Or, is it a bug, perhaps PC532
> specific?
> stab, changed:
> 
> tty02	"/usr/libexec/getty std.57600"	unknown	on crtscts local
> 
> to:
> 
> tty02	"/usr/libexec/getty std.57600"	unknown	on local crtscts
> 
> and everything magically started working.

I have run into this before.  At least I _think_ I know what your
problem is.  You don't say 'crtscts', you say 'rtscts'.  And if you
put an illegal option in the middle of the line, the rest of the options
never get parsed.  And no, I have never received an error message in
this situation, either.

> I'm I too blind to see that behavior documented in one of the man
> pages, or is it a bug?  (If it's a bug, I assume I should send-pr it.)

The man page mentions 'rtscts', so there's no error there.  However,
this seems to be a common mistake.. maybe ttyflags(8) should print
a warning when it can't parse the tty options?

  -jm