scrollback buffer size in <shift><pageup>
Hi, Awhile back when I was going thru the install docs for some program, it mentioned a way to increase the size of the retained screen buffer for xterms. I think it was the -sl (for saved lines) option, but now I'm not sure if there was something else. So how do you increase this buffer size in xterms and console terms. Maybe some setting in .bashrc? -- use Perl; #powerful programmable prestidigitation
* zentara
Hi, Awhile back when I was going thru the install docs for some program, it mentioned a way to increase the size of the retained screen buffer for xterms. I think it was the -sl (for saved lines) option, but now I'm not sure if there was something else.
So how do you increase this buffer size in xterms and console terms. Maybe some setting in .bashrc?
man xterm: -sl number This option specifies the number of lines to save that have been scrolled off the top of the screen. The default is 64. alias xtrm='xterm -sl 128' not invoke xterm by: xtrm -- Patrick Shanahan Registered Linux User #207535 @ http://counter.li.org
* SuSEnixER
* zentara
[07-07-02 18:45]: Hi, Awhile back when I was going thru the install docs for some program, it mentioned a way to increase the size of the retained screen buffer for xterms. I think it was the -sl (for saved lines) option, but now I'm not sure if there was something else.
So how do you increase this buffer size in xterms and console terms. Maybe some setting in .bashrc?
man xterm:
-sl number This option specifies the number of lines to save that have been scrolled off the top of the screen. The default is 64.
alias xtrm='xterm -sl 128'
THIS should read: now invoke xterm by:
not invoke xterm by: xtrm
-- Patrick Shanahan Registered Linux User #207535 @ http://counter.li.org
On Sunday 07 July 2002 16:43, zentara wrote:
Hi, Awhile back when I was going thru the install docs for some program, it mentioned a way to increase the size of the retained screen buffer for xterms. I think it was the -sl (for saved lines) option, but now I'm not sure if there was something else.
So how do you increase this buffer size in xterms and console terms. Maybe some setting in .bashrc?
Have a look at the $HOME/.Xdefaults. This is where you can set up some defaults that will be used whenever you start X. The entries in mine for xterm look like this: xterm*background: black xterm*foreground: green xterm.eightBitInput: true xterm*multiScroll: on xterm*jumpScroll: on xterm*font: -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 xterm*ScrollBar: on xterm*SaveLines: 2000 ! xterm*VisualBell: true xterm.eightBitOutput: true Not sure how you would do this for a console. I've not had the problem yet, so I haven't bothered to find out how. If you figure it out, please let me know. HTH, Kevin
On Sun, 7 Jul 2002 18:18:32 -0700
Kevin L Hochhalter
On Sunday 07 July 2002 16:43, zentara wrote:
So how do you increase this buffer size in xterms and console terms. Maybe some setting in .bashrc?
Have a look at the $HOME/.Xdefaults. This is where you can set up some defaults that will be used whenever you start X. The entries in mine for xterm look like this: xterm*SaveLines: 2000 Not sure how you would do this for a console. I've not had the problem yet, so I haven't bothered to find out how. If you figure it out, please let me know.
Thanks, that was the one I remember(or didn't). I started searching for methods on the console, but I guess it isn't easy, it apparently is controlled by the kernel, not bash.
From groups.google.com:
I don't think it has anything to do with bash. The scrollback is a kernel feature so you might have to look there. Just think about it. If you switch virtual console and switch back, then your scrollback is gone on that vc. It works only if you don't leave the vc. Why bash would worry about it?
I guess it needs to be configured in when you compile a kernel? I wonder if there is a setting in /proc for it? -- use Perl; #powerful programmable prestidigitation
On Monday 08 July 2002 07:00, zentara wrote:
On Sun, 7 Jul 2002 18:18:32 -0700
Kevin L Hochhalter
wrote: On Sunday 07 July 2002 16:43, zentara wrote:
So how do you increase this buffer size in xterms and console terms. Maybe some setting in .bashrc?
Have a look at the $HOME/.Xdefaults. This is where you can set up some defaults that will be used whenever you start X. The entries in mine for xterm look like this: xterm*SaveLines: 2000 Not sure how you would do this for a console. I've not had the problem yet, so I haven't bothered to find out how. If you figure it out, please let me know.
Thanks, that was the one I remember(or didn't). I started searching for methods on the console, but I guess it isn't easy, it apparently is controlled by the kernel, not bash.
From groups.google.com:
I don't think it has anything to do with bash. The scrollback is a kernel feature so you might have to look there. Just think about it. If you switch virtual console and switch back, then your scrollback is gone on that vc. It works only if you don't leave the vc. Why bash would worry about it?
I guess it needs to be configured in when you compile a kernel? I wonder if there is a setting in /proc for it?
Yeah, that was my thought, too. I was compiling a MOSIX enabled kernel over the weekend, so I thought I would poke around and see if I could find anything like a kernel option for the console. Didn't find anything about saving lines, though. Quess I'll keep looking. Kevin
participants (4)
-
Christopher Mahmood
-
Kevin L Hochhalter
-
SuSEnixER
-
zentara