mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ravikiran G Thirumalai <kiran@in.ibm.com>
To: linux-kernel@vger.kernel.org
Subject: tty: Line disc gets reset after close
Date: Fri, 11 Jul 2003 15:03:54 +0530	[thread overview]
Message-ID: <20030711093354.GA1312@llm08.in.ibm.com> (raw)

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

                 reply	other threads:[~2003-07-11  9:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030711093354.GA1312@llm08.in.ibm.com \
    --to=kiran@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®