View previous topic :: View next topic |
Author |
Message |
ronvenema Apprentice
Joined: 16 Jan 2005 Posts: 160 Location: Dewey, Az
|
Posted: Tue Mar 15, 2005 1:47 am Post subject: Bash Scrollback Buffer |
|
|
Anybody know how to increase the size of the scrollback buffer, ie, in a console when you use Shift+Page Up the screen will scroll back several pages if the buffer size is set correctly. Currently it will only scroll back a few lines.
TIA
Ron _________________ Frustration leads to knowledge. |
|
Back to top |
|
|
baeksu l33t
Joined: 26 Sep 2004 Posts: 609 Location: Seoul, Korea
|
Posted: Tue Mar 15, 2005 1:54 am Post subject: |
|
|
You can define the number of lines bash keeps in the memory with your '.Xdefaults' file. Depending on your terminal emulator (aterm, xterm, gnome-terminal etc.) put/change this line according to your terminal.
Example:
Code: | aterm*Savelines:<number> |
_________________ Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do. |
|
Back to top |
|
|
ronvenema Apprentice
Joined: 16 Jan 2005 Posts: 160 Location: Dewey, Az
|
Posted: Tue Mar 15, 2005 1:56 am Post subject: |
|
|
Thanks baeksu, but I'm looking to increase the scrollback in a console, not a term. _________________ Frustration leads to knowledge. |
|
Back to top |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Fri Feb 24, 2006 7:00 pm Post subject: |
|
|
/me is interested, too... |
|
Back to top |
|
|
hohlecow n00b
Joined: 20 Aug 2003 Posts: 66 Location: Scottsdale, Beverly Hills of the Southwest
|
Posted: Fri Feb 24, 2006 8:00 pm Post subject: |
|
|
its not really bash you need to look at, its agetty that's the issue, as it keeps track of the console buffer (i believe...)
agetty is in util-linux, but i don't know much more then that. _________________ ...dig me
but don't
bury me...
http://hohle.net/potd.php |
|
Back to top |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Fri Feb 24, 2006 9:33 pm Post subject: |
|
|
i put:
Code: | fbcon=scrollback:128K |
in grub.conf and the situation is much better then before (now i can display ~580 lines... before only ~170). |
|
Back to top |
|
|
|