comp.lang.ada
 help / color / mirror / Atom feed
From: jtapasai@my-dejanews.com
Subject: help abut function keys
Date: 1998/08/06
Date: 1998-08-06T00:00:00+00:00	[thread overview]
Message-ID: <6qbvh5$2un$1@nnrp1.dejanews.com> (raw)

I am learning ADA with GNAT 3.10 under Linux and my problem is :
I have a menu with different options. Each option is executed when
a key is pressed. My problem us that those keys are necessarily
"special keys", such as function keys ( F1-F12);

I usually used a function that returns an integer wich is the ASCII code
of the pressed key. When the code is returned , I use a case when ...
However, the F-keys have an special code.
For example, F1 is ^]]A wich is 91 27 27 65 or something similar .
How can I solve it ?
Thanks in advance .


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




             reply	other threads:[~1998-08-06  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-06  0:00 jtapasai [this message]
1998-08-06  0:00 ` help abut function keys Jerry van Dijk
1998-08-12  0:00 ` Do-While Jones
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox