Xref: utzoo comp.sources.wanted:9748 comp.terminals:1717 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!mit-eddie!uw-beaver!uw-entropy!dataio!gtenmc!stumpf From: stumpf@gtenmc.UUCP (stumpf) Newsgroups: comp.sources.wanted,comp.terminals Subject: Terminfo/Termcap checker Keywords: terminfo termcap curses Message-ID: <317@gtenmc.UUCP> Date: 13 Dec 89 01:25:38 GMT Followup-To: poster Organization: GTE Telecom Inc., Bothell, WA Lines: 18 I am looking for a simple program to tell me the name of the key that is pressed until EOF. This is something similar to the keycaps function on the MAC. Output similar to the following is desired. Key Pressed Output ----------- ------ a a control-v ^v Up Arrow KEY_UP Ins Char KEY_IC Or something to this effect. Basically, you hit a key and you get back either the curses.h definition or the ascii code in control or regular format. -- jss - Jon S. Stumpf