LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-19-2006, 08:34 PM   #1
SAZMan
LQ Newbie
 
Registered: May 2006
Location: Florida
Distribution: Debian (Etch), Ubuntu, SUSE
Posts: 13

Rep: Reputation: 0
Arrows don't work in terminal


I have Debian etch installed twice on my hard drive. In the first one I did, the page up, page down and arrow buttons do not work in the terminal. I have to hit "Enter" to move down a line (like when I am reading a man page). In the second partition, all of the buttons work just fine. The only difference is that I have KDE and GNOME on the second partition, and only GNOME on the first. The Kernel is the same (2.6.16-2-686). The problem occurs in GNOME terminal, aterm and xterm. Any ideas?
 
Old 09-20-2006, 03:21 AM   #2
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Try this

echo $TERM

Check the terminal type and try with some std terminal options

export TERM=xterm
export TERM=linux
 
Old 09-20-2006, 06:40 PM   #3
SAZMan
LQ Newbie
 
Registered: May 2006
Location: Florida
Distribution: Debian (Etch), Ubuntu, SUSE
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the response. Unfortunately, it didn't work. I'm really confused. I've tried reinstalling terminals with no resolution. Is there some configuration file I'm missing?
 
Old 09-27-2006, 10:17 PM   #4
SAZMan
LQ Newbie
 
Registered: May 2006
Location: Florida
Distribution: Debian (Etch), Ubuntu, SUSE
Posts: 13

Original Poster
Rep: Reputation: 0
Bumping, as I still have the problem...
 
Old 09-27-2006, 11:09 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Strange problem. I've never seen it. Why not try updating the kernel. Etch now has 2.6.17-2
 
Old 09-28-2006, 11:04 AM   #6
SAZMan
LQ Newbie
 
Registered: May 2006
Location: Florida
Distribution: Debian (Etch), Ubuntu, SUSE
Posts: 13

Original Poster
Rep: Reputation: 0
Could it have to do with the way my keyboard is mapped? Would that change with a newer kernel or is that something I can reconfigure on my own? It just seems strange that the two installs are otherwise similar with this one glaring difference.
 
Old 09-28-2006, 11:10 AM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
Could it have to do with the way my keyboard is mapped?
Is this section of /etc/X11/xorg.conf the same on both installations?
Code:
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection
 
Old 09-28-2006, 12:17 PM   #8
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,781

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
It could also be an inputrc thing, do you have these lines in /etc/inputrc?
Code:
# allow the use of the Home/End keys
"\e[1~": beginning-of-line
"\e[4~": end-of-line

# allow the use of the Delete/Insert keys
"\e[3~": delete-char
"\e[2~": quoted-insert

# mappings for "page up" and "page down" to step to the beginning/end
# of the history
# "\e[5~": beginning-of-history
# "\e[6~": end-of-history

# alternate mappings for "page up" and "page down" to search the history
# "\e[5~": history-search-backward
# "\e[6~": history-search-forward

# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
 
Old 09-28-2006, 11:07 PM   #9
SAZMan
LQ Newbie
 
Registered: May 2006
Location: Florida
Distribution: Debian (Etch), Ubuntu, SUSE
Posts: 13

Original Poster
Rep: Reputation: 0
Sigh. I tried a new kernel with no luck. My xorg.conf and inputrc files look fine as well. I did find a command called xmodmap, but I don't know how to use it or if it will help. Of note, the buttons in question work for aptitude, just not at the command line. Strange.
 
Old 09-29-2006, 05:55 PM   #10
SAZMan
LQ Newbie
 
Registered: May 2006
Location: Florida
Distribution: Debian (Etch), Ubuntu, SUSE
Posts: 13

Original Poster
Rep: Reputation: 0
Solved!!!!

I installed "less" Now all is well. Thanks for everyone's help.
 
  


Reply



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
keyboard arrows not scrolling den myos Linux - Newbie 1 05-03-2006 06:37 AM
Arrows Keys omerlh Programming 1 02-24-2006 09:12 AM
Firefox + drop down menu arrows Ateo Linux - Software 0 05-07-2005 04:19 PM
add arrows & text to photos Rick Winters Debian 1 11-09-2004 03:35 PM
Gnome link arrows... watchitman Linux - Software 0 08-19-2004 07:35 PM

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

All times are GMT -5. The time now is 10:26 PM.

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