mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan <alan@lxorguk.ukuu.org.uk>
To: Christopher Meller <cmeller@innominate.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Question on tty line discipline
Date: Wed, 28 Feb 2007 15:37:02 +0000	[thread overview]
Message-ID: <20070228153702.0e172fa1@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <20070228134711.GA8631@innominate.com>

On Wed, 28 Feb 2007 14:47:12 +0100
Christopher Meller <cmeller@innominate.com> wrote:

> Hi,
> 
> I have a question concerning the line discipline behaviour for serial
> devices.
> When the line discipline is set via ioctl from  user space to e.g. N_PPP and the userspace program returns without resetting  the line discipline back to N_TTY, the serial device cannot be used (ENODV) until an appropriate  ioctl (to N_TTY) is performed. Is there any reason for the fact that the line discipline is not reset by the kernel , when closing the device. 

No special reason, it has simply always been that way. Getty and friends
are expected to put the tty back into a sane state.

  reply	other threads:[~2007-02-28 14:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-28 13:47 Christopher Meller
2007-02-28 15:37 ` Alan [this message]
2007-03-03 20:00 ` Tilman Schmidt

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=20070228153702.0e172fa1@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=cmeller@innominate.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®