LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-18-2007, 03:15 AM   #1
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
Arrow keys don't scroll man pages


I've done a few new installs of etch, and this is something that drives me nuts. When viewing man pages, I can't scroll up and down using the arrow keys; I can only use the space bar to go down a chunk at a time. With old releases they always worked.
Is there a simple solution to this?
 
Old 06-18-2007, 04:22 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
What is the value of your environment's $PAGER variable. It should be 'less' or '/usr/bin/less'.
If not try setting it in your ~/.profile variable (assuming you are using the bash shell).
 
Old 06-18-2007, 04:33 AM   #3
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Original Poster
Rep: Reputation: 31
Ah, perfect! Taking your advice, this was solved by installing the "less" package, and putting a line
Code:
export PAGER=/usr/bin/less
in ~/.bashrc

edit: alternatively system-wide in /etc/bash.bashrc

Thanks

Last edited by ErrorBound; 08-06-2007 at 08:30 AM.
 
  


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
Shift-arrow and Alt-arrow keys don't work in xterm Aviv Hurvitz Linux - General 2 09-30-2006 03:43 PM
Scroll with arrow keys in the terminal window? halfpower Debian 1 09-28-2005 04:59 AM
VIM and the arrow keys Buto Linux - Software 1 09-16-2004 07:38 PM
Arrow keys in nethack Levitate Linux - Games 3 08-22-2004 11:44 AM
man pages scroll ? jamaso Linux - General 3 04-11-2002 04:19 PM

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

All times are GMT -5. The time now is 08:07 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