Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mapping the backspace key - newbie 1

Status
Not open for further replies.

snookmz

Programmer
Apr 17, 2001
46
AU
how do you go about mapping keys??? I just installed redhat 7.1 and its mapped my backspace key to be a del key, which is really annoying when trying to type anything, and i'd love to be able to map it back to a standared backspace key...

iv also tried adding the line

xmodmap -e "keycode 22=backspace"

to my bashrc file, and i get the error "xmodmap: command not found"

if anyone can help me i'd be eternally gratefull..
thanks in advance /-------------------------------------
| I always have been, and
| always will be, a newbie :)
\-------------------------------------
 
try this...

stty ^h [whatever key you want to use as backspace]
I assume you wan't to use the backspace key :)

One more thing. Make sure you use the absolute searchpattern when entering commands in bashrc.
/usr/bin/[command] for example.
/Sören
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top