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