[Gloucs] escape key and ncurses

Chris West gloucs at mailman.lug.org.uk
Sun Oct 6 00:35:02 2002


This is a multi-part message in MIME format.

------_=_NextPart_001_01C25287.7AC775F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello all,

Anyone know how to trap the 'Esc' key using ncurses?
I can't find a KEY_ESC or anything that seems to do it in the ncurses.h
header file.

Chris

------_=_NextPart_001_01C25287.7AC775F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.4417.0">
<TITLE>escape key and ncurses</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Hello all,</FONT>
</P>

<P><FONT SIZE=3D2>Anyone know how to trap the 'Esc' key using =
ncurses?</FONT>

<BR><FONT SIZE=3D2>I can't find a KEY_ESC or anything that seems to do =
it in the ncurses.h header file.</FONT>
</P>

<P><FONT SIZE=3D2>Chris</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C25287.7AC775F0--