LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 07-14-2005, 03:45 PM   #1
Ragsdale45
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Rep: Reputation: 0
Scrolling with Shift + Page Up in Bash


When I scroll with Shift + Page Up in Bash, it doesn't go up as far as I need it to. How can I increase the amount of lines it will scroll up to?

I'm not sure of the terminology to use. When Googling, I only found the recurring advice of "use Shift + Page Up/Down to scroll." Unfortunately when you don't know the terminology, search engines aren't very useful.
 
Old 07-14-2005, 04:07 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Are you using ssh? An xterm/gnome-terminal/etc? A local console on the machine?
 
Old 07-14-2005, 04:13 PM   #3
Ragsdale45
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Original Poster
Rep: Reputation: 0
A local console on the machine I suppose. It's a bare bones Debian install with all text and no graphics of any sort.
 
Old 07-14-2005, 04:23 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
I can't seem to find a way to configure the console scrollback buffer (though, if you want to google as well, those are some nice words to use). However, if you're dumping a single file or output from a program, you can use a pager like 'less' or 'more' to help you handle the output.
 
Old 07-14-2005, 04:26 PM   #5
Ragsdale45
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Well let me be more specific. When I type ls -l /usr/bin I'll get a very long list. With plain old ls, however, I can see everything in there. How would you handle that situation?

Googling away.

Last edited by Ragsdale45; 07-14-2005 at 04:30 PM.
 
Old 07-14-2005, 04:32 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
I would do "ls -l /usr/bin | more" or "ls -l /usr/bin | less". Note that the character between /usr/bin and more or less is a pipe, not an l.
 
Old 07-14-2005, 04:35 PM   #7
Ragsdale45
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Original Poster
Rep: Reputation: 0
That works well, thank you.

This page has some more info too: http://www.geocities.com/cyberkabila/faq/linuxfaq6.htm

Quote:
You can't increase the amount of scrollback, because it is implemented using the video memory to store the scrollback text.

Last edited by Ragsdale45; 07-14-2005 at 04:40 PM.
 
Old 07-14-2005, 04:45 PM   #8
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
I like it when I can learn something from a thread I respond to. Thank you.
 
  


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
How to get a bash console on a home page??? ankur_linuxfan Linux - Software 6 07-17-2005 06:43 PM
how do i have scrolling function in bash? pyenos Linux - Software 3 03-09-2005 06:41 AM
scrolling config (shift+pageup) acb67 Linux - General 0 03-02-2005 02:06 PM
Execute bash commands from web page solomage Linux - Software 1 10-07-2004 11:54 AM
hard scrolling vs soft scrolling (console) haxcess Linux - General 2 08-30-2004 01:17 AM


All times are GMT -5. The time now is 09:01 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration