From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e69c0e2c6824a636,start X-Google-Attributes: gid103376,public From: jtapasai@my-dejanews.com Subject: help abut function keys Date: 1998/08/06 Message-ID: <6qbvh5$2un$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 378480638 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Aug 06 10:11:49 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.03 [es] (Win95; I) Date: 1998-08-06T00:00:00+00:00 List-Id: 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