LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-21-2005, 07:54 AM   #1
roninja
Member
 
Registered: Jan 2005
Location: Perth, Western Australia
Distribution: Slackware 10.2, LFS6.1.1
Posts: 41

Rep: Reputation: 15
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?
 
Old 02-21-2005, 08:41 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
Maybe try to replace :
*VT100.Translations: ...

with :
aterm*Translations: ...

Or look for ~/.inputrc editing in :
http://www.afterstep.org/keyboard.html#X
 
Old 02-21-2005, 11:23 PM   #3
roninja
Member
 
Registered: Jan 2005
Location: Perth, Western Australia
Distribution: Slackware 10.2, LFS6.1.1
Posts: 41

Original Poster
Rep: Reputation: 15
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
 
Old 02-23-2005, 06:17 PM   #4
rovitotv
Member
 
Registered: Jan 2003
Location: Dayton, Ohio
Distribution: Slackware 10.2
Posts: 116

Rep: Reputation: 15
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.
 
Old 02-23-2005, 10:05 PM   #5
roninja
Member
 
Registered: Jan 2005
Location: Perth, Western Australia
Distribution: Slackware 10.2, LFS6.1.1
Posts: 41

Original Poster
Rep: Reputation: 15
NP, i know how annoying it is when people find a solution but dont post it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Key not working! pfeito Linux - General 2 04-06-2006 10:46 AM
Insert key not working Drunkalot Linux From Scratch 1 11-01-2005 10:45 AM
urxvt + home key cs-cam Linux - Software 4 04-15-2005 12:53 AM
ssh public key authentication to different remote home directory shawn_t Linux - Networking 2 03-20-2005 03:39 PM
AltGr key not working in X iceman47 Linux - Software 3 03-07-2004 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration