Subject: Re: tty0?
To: NetBSD <netbsd@gate.ene.unb.br>
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
List: current-users
Date: 06/21/1996 00:52:45
>I can't seem to make my serial ports work. If I do an 'stty -f /dev/tty00 
>clocal' and then a 'stty -f /dev/tty00' the clocal flag is not set.

The serial ports reset their state upon each close.

>If I launch an getty on the port, the stty command above works. As soon 
>as I kill the getty process, stty doesn't work again.

That's why this happens.

>Tip doesn't work either. Ttyflags, on the other hand does work. 
>I'm running the i386 port.

I've found that I have better luck with "cu", but you might need something
like this in /etc/uucp/port

port tty01
 type modem
 device /dev/tty01
 speed 57600
port tty02
 type direct
 device /dev/tty02
 speed 9600


One of those should work fine.

Either that, or adding the ttyflags for "local" or "softcar".

--Ken