forward delete in terminal

bdr00

Registered
has anyone got a way to make the forward delete key on an ibook (<fn>+<backspace>) to work in the terminal (10.2) (or in X for that matter)?

in tcsh the command line editor uses <ctrl>+d for forward delete, however this is a little awkward as i use the regular forward delete key in all other apps...is there a way to map <fn>+<backspace> key to <ctrl>+d? (tho this prob isn't a great fix as <ctrl>+d ends the shell if theres nothing on the command line)...
 
This is a task for xmodmap. I don't remember how I did that once, but the manual page says:

% xmodmap -e "keysym BackSpace = Delete"
% echo "XTerm*ttyModes: erase ^?" | xrdb -merge

It might not work, but it will get you on the right path ;)
 
Back
Top