Subject: ttyflags(8) really unnecessary?
To: None <current-users@netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: current-users
Date: 07/24/2000 07:12:21
Hi.

In some mail Jason R Thorpe <thorpej@zembu.com> writes:
> Now that we have dialout devices, the sticky flags set by ttyflags(1)
> are no longer really necessary.
Is it true?

If I have a line in /etc/tty as,

tty00	"/usr/libexec/getty ppp.115200"	unknown	off rtscts

and a line in /etc/remote:

com0c|com0:dv=/dev/dty00:br#115200:pa=none

When I try to tip(1),

	taca@ns[193]:tip com0
	connected

But I type something,

	Lost carrier.
	[EOT]
	taca@ns[194]:

Then I change the line in /etc/tty as

tty00	"/usr/libexec/getty ppp.115200"	unknown	off rtscts mdmbuf

and executing ttyflags(8) as

	root@ns[114]:ttyflags -v tty00     
	ttyflags: setting flags on /dev/tty00 to rtscts|mdmbuf

Then I can using tip(1) successfully.  So, I still needed ttyflags(8)
to set tty's parameter, what's wrong with me or tip(1) has some
problem?

Cheers.

--
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>