public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Anant Aneja" <anantaneja@rediffmail.com>
To: gcc-help@gcc.gnu.org
Subject: getch() in linux
Date: Sat, 08 Mar 2003 13:18:00 -0000	[thread overview]
Message-ID: <20030308131812.4645.qmail@webmail10.rediffmail.com> (raw)

i want to use the getch() function in linux.
i dont want to use ncurses lib.(cos it treats everthing as a 
window and clears the screen everytime i start using it).
getch() did the following.
1.waited for a character (key) to be pressed
2. whan poressed it did not echo the key

i've implemented the clear screen procedure using escape codes for 
vt100 terminals but couldnt find one for getch()

bascially i want a substitute which does not treat the screen as a 
window but as an endless buffer. ncurses DOES NOT do so.

please help
ANANt



                 reply	other threads:[~2003-03-08 13:18 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=20030308131812.4645.qmail@webmail10.rediffmail.com \
    --to=anantaneja@rediffmail.com \
    --cc=gcc-help@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).