Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bash Scrollback Buffer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ronvenema
Apprentice
Apprentice


Joined: 16 Jan 2005
Posts: 160
Location: Dewey, Az

PostPosted: Tue Mar 15, 2005 1:47 am    Post subject: Bash Scrollback Buffer Reply with quote

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
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 609
Location: Seoul, Korea

PostPosted: Tue Mar 15, 2005 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message
ronvenema
Apprentice
Apprentice


Joined: 16 Jan 2005
Posts: 160
Location: Dewey, Az

PostPosted: Tue Mar 15, 2005 1:56 am    Post subject: Reply with quote

Thanks baeksu, but I'm looking to increase the scrollback in a console, not a term.
_________________
Frustration leads to knowledge.
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Fri Feb 24, 2006 7:00 pm    Post subject: Reply with quote

/me is interested, too...
Back to top
View user's profile Send private message
hohlecow
n00b
n00b


Joined: 20 Aug 2003
Posts: 66
Location: Scottsdale, Beverly Hills of the Southwest

PostPosted: Fri Feb 24, 2006 8:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Fri Feb 24, 2006 9:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum