Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 9th May 2007, 06:19 AM
jguy Offline
Registered User
 
Join Date: May 2005
Posts: 39
remap keys:

Anyone know a way to change keypad codes that "read" as ^[[B or \e[B from a terminal to map to Control-N (or C-n) that actually works in dialog input fields (i.e. jump to next field as control+n does)? I've tried changing termcap/terminfo databases and added lines in .inputrc that only seemed to change the console itself. However, when I run a batch script that uses "dialog" with more than one field, I can not navigate to the next field with using the keypad arrows (with numlock off). The only reason I need these codes to remap to <ctl>+n is that I'm trying to write a simple dialog input screen that will be run from an iPAQ phone with a nub/joystick. The joystic transmits up/down/left/right with escape sequences just as the keypad on a pc. Anyway, is it possible to remap keys such as the keypad to <ctl>+n while using dialog input forms? I've been stuck on this for about 3 days...I've read bash man, curses man, termcap man, and terminfo man until they run together.
Reply With Quote
 

Tags
keys, remap

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F10, F11: How to remap keys (disable Caps Lock and so on with xmodmap) louise Guides & Solutions (No Questions) 1 30th June 2009 01:49 PM
Remap Keys for Compuz Fusion samjones Using Fedora 2 10th June 2008 07:44 PM
How to remap keys in textmode and X louise Guides & Solutions (No Questions) 1 30th October 2006 09:22 PM
How to remap keys in textmode? louise Using Fedora 0 29th May 2006 11:27 PM


Current GMT-time: 07:02 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat