Date: Sun, 7 Feb 1999 11:49:15 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Felix Natter cc: djgpp AT delorie DOT com Subject: Re: keys.h and ascii-interpretation In-Reply-To: <79i15j$ohp$1@public.ndh.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sat, 6 Feb 1999, Felix Natter wrote: > i looked at key.h, but it seems like getkey and getxkey only translate > key-presses where meta-keys are involved. i need to find out whether a > keypress is meta or ascii and then get the correct interpretation of the key > in either ascii or something like arrow_up or CTRL_X etc. Please explain what do you mean by a ``meta-key''. Is that a key that is produced by pressing Alt and some other key? If so, you could prepare a table where all the K_Alt_* keys have a non-zero entry.