Capturing the UP Arrow Key
Background: Rabbit Microcontroller.
Accessing the board via Telnet. TCP/IP
Uses VT100 Emulation Telnet.
I had been thinking how do I check whether a user had keyed in an UP ARROW and bring up his previously entered command. I tried to do a HEX key capture and they returned me 3 HEX numbers.
I am using a Switch Case, I can't combine these 3 HEX codes together and match the UP ARROW as one case.
Each of my character is received from a buffer and not captured as an input string stream.
Meaning, one char by one char it goes into a char variable read from the buffer.
HEX KEY for UP arrow is 1b 5b 41
I checked up the net and they gave me 1E as UP ARROW but funny thing is it can't work!
thanks for reading. I am using Dynamic C compiler, its not those normal ANSI compiler I guess. Its from the microcontroller manufacturer www.rabbit.com
By srinivasc_it in forum .NET
Last Post: 05-30-2008, 08:33 AM
By craver06 in forum VB Classic
Last Post: 02-06-2008, 12:12 PM
By sachinkataria in forum Java
Last Post: 09-21-2006, 08:19 AM
By Runesoul in forum Java
Last Post: 05-12-2005, 09:20 PM
By Jeff Ross in forum VB Classic
Last Post: 06-13-2001, 08:47 AM
Tags for this Thread
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL