SunOS 4.0 - tty??/cua? troubles
Nick Sayer
nsayer at uop.EDU
Wed Nov 29 07:01:14 AEST 1989
I have a Sun 2/170 with a standard Hayes compatable modem. I have two
/dev entries for the tty port it resides on, /dev/ttym0 and /dev/cua0.
In the nutshell UUCP book, it says that if I put ttym0 in /etc/ttytab
and /dev/cua0 in /etc/uucp/L-devices that three things will happen:
1. getty will not show up on the tty until a carrier appears.
2. anyone opening /dev/cua0 will steal the line and getty won't show up
until that line is closed.
3. If anyone is on /dev/ttym0, /dev/cua0 will be "busy."
As it turns out, this is happening:
1. getty shows up the instant the line is enabled. I can watch as the modem's
echoing creates the deadly embrace with getty.
2. If I kill the getty process and quickly open /dev/cua0, getty is shut
out, as it should be.
3. Since getty is having an echoing war on /dev/ttym0, /dev/cua0 is always
"busy" unless I turn off its entry in /etc/ttytab.
So the big problem as I see it is to get it so that DTR will be on, but no
getty will appear until DCD comes on (or DSR). RTFM didn't help.
---------------------------------------------------------------------
Nick Sayer | quack!mrapple at uop.edu or cheers!quack!mrapple at apple.com
... or { apple!cheers | pacbell!cogent!uop }!quack!mrapple
Packet radio: N6QQQ @ WB6V | (209) 952-5347 300/1200/2400 - login guest
Disclaimer: The BBC would like to appologise for that announcement
More information about the Comp.unix.questions
mailing list