OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: zi99y on November 28, 2006, 01:55:17 pm
-
It has always bothered me that the home and end keys (Fn + left and right) don't work properly in a bash shell, they print a tilda instead, so I dug around for info and here's the fix, thought others might like to know too.
First make sure you are root and create/edit the file /etc/inputrc and paste this into it:
"\e[3~": delete-char
# this is actually equivalent to "\C-?": delete-char
# VT
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# kvt
"\e[H":beginning-of-line
"\e[F":end-of-line
# rxvt and konsole (i.e. the KDE-app...)
"\e[7~":beginning-of-line
"\e[8~":end-of-line
Next, edit /etc/profile and add this line on the end:
export INPUTRC=/etc/inputrc
And voila! restart your bash session for your enhanced navigation!