Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ssc-vax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!floyd!cmcl2!seismo!hao!hplabs!tektronix!uw-beaver!ssc-vax!bossert From: bossert@ssc-vax.UUCP (John Bossert) Newsgroups: net.unix Subject: Checking input against termcap Message-ID: <166@ssc-vax.UUCP> Date: Fri, 25-May-84 18:28:39 EDT Article-I.D.: ssc-vax.166 Posted: Fri May 25 18:28:39 1984 Date-Received: Sat, 2-Jun-84 09:23:00 EDT Organization: Boeing Computer Services, Seattle WA Lines: 15 Having finally figured out how termlib works, (thanks, everyone), I'm now looking for a method of testing keyboard input to see if it matches a termcap entry. Specifically, how can I test for the arrow keys? A group of nested case statements might work, but that method seems pretty inelegant. Please send me mail and I'll post the responses. Thanks in advance, -- John Bossert Boeing Computer Services Seattle, WA uw-beaver!ssc-vax!bossert