Subject: Re: /etc/ttys behavior
To: Michael Hendrick <mlh@csranet.com>
From: Bill Studenmund <wrstuden@vali.stanford.edu>
List: port-mac68k
Date: 01/14/1998 22:07:25
On Tue, 13 Jan 1998, Michael Hendrick wrote:
> Maybe I'm just reading the man pages wrong, but...
>
> With the following line in my /etc/ttys file:
> tty00 "/usr/libexec/uugetty std.19200" dialup on dtrcts
> After running ttyflags, stty shows that cdtrcts has been set on the line.
> If I also add the mdmbuf flag though, stty causes the SD light on the
> modem to stay on and the machine locks solid. This is under 1.3 release
> on an SE/30.
I just finished installing the final 1.3 on my system to test this
problem. I don't see it.
I've got dtrcts on in /etc/ttys.
# stty -e -f /dev/tty01 mdmbuf
ispeed 0 baud; ospeed 57600 baud; 0 rows; 0 columns;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
-echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
-nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
-brkint -inpck -ignpar -parmrk
oflags: -opost -onlcr -ocrnl -oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
cdtrcts
discard dsusp eof eol eol2 erase intr kill lnext
^O ^Y ^D <undef> <undef> ^? ^C ^U ^V
min quit reprint start status stop susp time werase
1 ^\ ^R ^Q <undef> ^S ^Z 0 ^W
stty: tcsetattr: Invalid argument
# stty -e -f /dev/tty01
ispeed 0 baud; ospeed 57600 baud; 0 rows; 0 columns;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
-echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
-nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
-brkint -inpck -ignpar -parmrk
oflags: -opost -onlcr -ocrnl -oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
cdtrcts
discard dsusp eof eol eol2 erase intr kill lnext
^O ^Y ^D <undef> <undef> ^? ^C ^U ^V
min quit reprint start status stop susp time werase
1 ^\ ^R ^Q <undef> ^S ^Z 0 ^W
Remember that stty shows the current settings before applying the changes.
That's why it showed the setup w/ cdtrcts on, and then complained about
the invalid argument.
Why are you trying to assert mdmbuf at the same time as cdtrcts? The both
use the dtr pin, and so only one can be set at a time.
Take care,
BIll