Subject: Serial port connection without CD being high.
To: 'netbsd-help' <netbsd-help@NetBSD.ORG>
From: John Maier <JohnAM@datastorm.com>
List: netbsd-help
Date: 09/04/1996 15:17:00
How do connect to a serial port on which the modem's CD is low.
if I set the /etc/ttys table for off softcar, I can connect. However if
I set the port to off secure, I am denied access.
I've compared the termios structure before and after, they are identical,
so there must be some other way to set this mode of operation. I thought
the answer would be had in the c_cflags member of termios, but setting it
with CLOCAL and or HUPCL didn't affect a thing.
Since init seems to be the process in charge of setting the port modes
via /etc/ttys, I grep it with no luck.
I've poured over the man pages with little success.
BTW thanks to all the help from previous message, your help and
encouragement enabled me to get a functional serial program.
jam