LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Home key not working right (https://www.linuxquestions.org/questions/slackware-14/home-key-not-working-right-292940/)

roninja 02-21-2005 07:54 AM

Home key not working right
 
My Home and End keys arent working properly in aterm or rxvt instead of jumping to start and end of line they come up with ~ , Eterm works fine and after searching i got xterm to work correctly by adding

*VT100.Translations: #override \
<Key>Backspace: string(0x7F)\n\
<Key>Delete: string("\033[3~")\n\
<Key>Home: string("\033[1~")\n\
<Key>End: string("\033[4~")

to .Xdefaults but i use aterm so id i want to get that working properly does anyone know how to fix this?

keefaz 02-21-2005 08:41 AM

Maybe try to replace :
*VT100.Translations: ...

with :
aterm*Translations: ...

Or look for ~/.inputrc editing in :
http://www.afterstep.org/keyboard.html#X

roninja 02-21-2005 11:23 PM

Nevermind i got it working seems rxvt/aterm uses a different keycode for home and end keys than xterm/eterm
heres what i did if anyone else has this problem
add these 2 lines to /etc/inputrc

"\e[7~": beginning-of-line
"\e[8~": end-of-line

rovitotv 02-23-2005 06:17 PM

Thanks for the follow up
 
Thanks for the follow up. I had the same problem and was able to fix it because you posted the solution. It would of taken me hours to figure out the problem.

roninja 02-23-2005 10:05 PM

NP, i know how annoying it is when people find a solution but dont post it


All times are GMT -5. The time now is 12:39 AM.