The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using arrow keys cooldude SUN Solaris 4 06-13-2008 08:51 AM
SunOS 5.10 - VI Arrow keys not working ravashingravi UNIX for Dummies Questions & Answers 3 04-03-2008 08:50 PM
How to read arrow keys on really old bash? simonb Shell Programming and Scripting 1 05-01-2006 07:27 AM
arrow keys / special keys raguramtgr UNIX for Dummies Questions & Answers 3 02-19-2004 11:45 PM
trapping keys sunil bajaj UNIX for Dummies Questions & Answers 1 04-13-2002 03:52 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 11-30-2001
Registered User
 

Join Date: Nov 2001
Posts: 4
Trapping Arrow keys

Hey Guys ,

How do we trap the arrow keys in shell programming.
Or atleast can we read the ascii code of the arrow keys.

I want to read the arrow keys pressed by the user
and accordingly highlight the corresponding menu option.

Is it possible in shell to do so ??

Thanks,
Nagesh.
Reply With Quote
Forum Sponsor
  #2  
Old 11-30-2001
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
I don't think that the arrow keys are a part of the Ascii code. Do a man on ascii. It shows a lot but not on arrow keys.

I looked in my .exrc file, which maps keys for vi. I didn't see anything there either. You might check yours just in case.

What OS are you using. Go to their website and check as well.


__________________
My brain is your brain
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0