Subject: Re: com device
To: Christos Zoulas <>
From: Jason Thorpe <>
List: port-alpha
Date: 01/13/2000 11:08:07
On Fri, 24 Dec 1999 23:10:47 GMT (Christos Zoulas) wrote:

 > What are you trying to do?
 > If you want to emulate what FreeBSD does you can:
 > - edit /etc/ttys and add 'softcar' to the tty you want to use [ttyC0]
 > - run (stty 2400; sleep 100000000) < /dev/ttyC0 
 > - run stty -f /dev/ttyC0
 > Well, this is not a very useful example... Anyway...
 > ttys on netbsd are not like cu devices. If you want to connect to them
 > while there is no carrier, you need to set softcar. If you want to keep
 > the state of the tty, you need to keep a file descriptor open to it.

...and depending on what version of NetBSD you're using, you can use
the "dty*" devices (e.g. dtyC0 -- dty == dialout TTY) for dialing
even without softcar.  Did 1.4 have that feature?  I don't recall.

        -- Jason R. Thorpe <>