Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 1997 08:22:57 +0000
From:      dmayne@cohutta.telecorpsys.com
To:        freebsd-questions@freebsd.org
Subject:   Proper way to initialize Cyclades ports for use with terminals/p
Message-ID:  <199706251218.IAA07043@gateway.telecorpsys.com>

next in thread | raw e-mail | index | archive | help
Folks,

What is the customary way to set baud rate and hardware
handshake for cyclades ports under FreeBSD 2.2.1, for
use with terminals and printers ?

So far, I have put the following in rc.local to get things
working:

# initialize terminal at 38400, hardware hs on cyclades port 0
stty 38400 crtscts cs8 < /dev/cuaic00    # init device
stty 38400 crtscts cs8 < /dev/cualc00    # locking device

# initialize printer at 19200 on cyclades port 1
stty 19200 crtscts cs8 < /dev/cuaic01    # init device
stty 19200 crtscts cs8 < /dev/cualc00    # locking device

Is there a better/more appropriate way of accomplishing
this ?

Thanks,

David Mayne
dmayne@ms.telecorpsys.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706251218.IAA07043>