public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Bernd Petrovitsch <bernd@gams.at>
Cc: linux-kernel@vger.kernel.org
Subject: Re: open("/dev/ttyS1", O_LARGEFILE) blocks
Date: Mon, 14 Oct 2002 14:37:41 +0100	[thread overview]
Message-ID: <20021014143741.B2902@flint.arm.linux.org.uk> (raw)
In-Reply-To: <2994.1034598563@frodo.gams.co.at>; from bernd@gams.at on Mon, Oct 14, 2002 at 02:29:23PM +0200

On Mon, Oct 14, 2002 at 02:29:23PM +0200, Bernd Petrovitsch wrote:
> Hmm, so I conclude that using something like "stty < /dev/ttyS0" is 
> evil in general and one should always use "stty -F /dev/ttyS0" instead.

Yep.  stty -F uses non-blocking mode, whereas the shell doesn't.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


      reply	other threads:[~2002-10-14 13:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-14 11:39 open("/dev/ttyS1", O_LARGEFILE) blocks Bernd Petrovitsch
2002-10-14 11:52 ` Russell King
2002-10-14 12:29   ` Bernd Petrovitsch
2002-10-14 13:37     ` Russell King [this message]

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=20021014143741.B2902@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=bernd@gams.at \
    --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