* tty: Line disc gets reset after close
@ 2003-07-11 9:33 Ravikiran G Thirumalai
0 siblings, 0 replies; only message in thread
From: Ravikiran G Thirumalai @ 2003-07-11 9:33 UTC (permalink / raw)
To: linux-kernel
On a rs232 serial port, If i try
# stty -F /dev/ttyS0 line 2
and then execute
# stty -F /dev/ttyS0 -a
line disc was shown as line = 0. Further investigation showed that
close on the tty fd and subsequent open to it resets the line disc to 0.
My question is, is this the expected behaviour?
If change flags like icanon, it remains inspite of close and opens. I'd
expect ldisc to remain that way too.
Thanks,
Kiran
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-11 9:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-11 9:33 tty: Line disc gets reset after close Ravikiran G Thirumalai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®