![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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 |
||||
| Google The UNIX and Linux Forums |