Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site dicomed.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!stolaf!umn-cs!mmm!rosevax!dicomed!dmh
From: dmh@dicomed.UUCP (Dave Hollander)
Newsgroups: net.unix,net.unix-wizards
Subject: help - escape key detection
Message-ID: <595@dicomed.UUCP>
Date: Mon, 16-Sep-85 15:36:43 EDT
Article-I.D.: dicomed.595
Posted: Mon Sep 16 15:36:43 1985
Date-Received: Wed, 18-Sep-85 04:43:34 EDT
Organization: DICOMED Corp., Minneapolis
Lines: 21
Xref: watmath net.unix:5657 net.unix-wizards:14863


HELP:

	How do you distinguish between the actual escape key and 
escape sequences generated by arrow keys, etc.?  

	I am looking for a nice solution; however I will gratefully accept
any reasonable solution. vi running on the AT works, but it does seem to 
get confused at times.

	One of the keys seems to be to test to see if a key has been entered
without waiting.  Is there an easy (read: section III) way to do this.

( The program runs curses on a BSD4.2 and IBM XENIX 1.0 )


					Thanks in advance:

					Dave Hollander
					DICOMED Corp.
					{ihnp4,mgnetp}!dicomed!dmh