linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "svacca@valcom.com" <svacca@valcom.com>
Cc: "LinuxEmbeddedMailList (E-mail)" <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Unbuffered char reads from App from stdin (keyboard)
Date: Fri, 15 Feb 2002 16:31:20 +0100	[thread overview]
Message-ID: <20020215153125.C40B410E4C@denx.denx.de> (raw)
In-Reply-To: Your message of "Fri, 15 Feb 2002 10:09:52 EST." <01C1B608.E92871A0.svacca@valcom.com>


In message <01C1B608.E92871A0.svacca@valcom.com> you wrote:
>
> App and Linux kernel 2.2.13 running on mpc860T.
>
> I would like to know the best way, from inside my GNU C App,
> to sense if there's a keyboard key pressed.  Something

man select

man termios (search for VMIN and VTIME)

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
See us @ Embedded Systems Nuremberg, Feb 19-21, Hall 12 K01 (with TQ)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-02-15 15:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-15 15:09 Unbuffered char reads from App from stdin (keyboard) Steven Vacca
2002-02-15 15:31 ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-15 18:39 Steven Vacca
2002-02-15 18:41 ` Rick Hunnicutt
2002-02-18 18:28 Steven Vacca

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=20020215153125.C40B410E4C@denx.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=svacca@valcom.com \
    /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;
as well as URLs for NNTP newsgroup(s).