Mail Archives: djgpp/2000/03/22/14:27:16
From: | wroot AT my-deja DOT com
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | RE: ncurses
|
Date: | Wed, 22 Mar 2000 17:14:42 GMT
|
Organization: | Deja.com - Before you buy.
|
Lines: | 28
|
Message-ID: | <8bav1h$95t$1@nnrp1.deja.com>
|
References: | <8ba1va$943$1 AT nnrp1 DOT deja DOT com> <8bal80$2ns$1 AT talia DOT mad DOT ttd DOT net>
|
NNTP-Posting-Host: | 156.111.84.180
|
X-Article-Creation-Date: | Wed Mar 22 17:14:42 2000 GMT
|
X-Http-User-Agent: | Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)
|
X-Http-Proxy: | 1.1 x41.deja.com:80 (Squid/1.1.22) for client 156.111.84.180
|
X-MyDeja-Info: | XMYDJUIDwroot
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
In article <8bal80$2ns$1 AT talia DOT mad DOT ttd DOT net>,
"Francisco Pastor" <fpastor DOT etra-id AT etra DOT es> wrote:
>
> <wroot AT my-deja DOT com> escribió en el mensaje de noticias
> 8ba1va$943$1 AT nnrp1 DOT deja DOT com...
> > How can I read one keystroke from the keyboard (including but
> > not limited to arrow movements, PgUp, PgDn, Del)? I've heard
> > it is done with ncurses/curses. If someone could tell me
> > which function, header file and namespace I should use, I would
> > appreciate it.
> >
> You can use de bioskey functions (take a look to 'info libc')
>
It says that bioskey is totally unportable.
The only reason I'm trying to use djgpp instead of MS VC++ is that I
want the same code to compile under Windows/DOS and UNIX. I expect
everything in my program to be staight ANSI C++ except for
this "character reading w/o '\n'" part. So please somebody tell me how
to do it.
Thanks
Wroot
Sent via Deja.com http://www.deja.com/
Before you buy.
- Raw text -