www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/09/12/00:02:26

From: Brendan Simon <brendan AT rdt DOT monash DOT edu DOT au>
Date: Tue, 12 Sep 1995 12:58:51 +1000
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: getkey portability

I've just converted one of my djgpp programs to run under linux with
GRX2.0 and the svgalib.

In my DOS program I use extended keys suchs as the cursors and function
keys.  getkey returns numbers > 255 for these, but under linux I get
an Escape sequence.  This is a problem as the escape key is used to exit
the problem

Is there a PORTABLE way to read the extended keys for both DOS (using
djgpp v2) and linux.

Brendan.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019