scrollback history buffer setting (was keyboard)
Louis LeBlanc
FreeBSD at keyslapper.org
Wed Aug 18 06:11:43 PDT 2004
On 08/18/04 12:01 AM, Jay O'Brien sat at the `puter and typed:
> Jay O'Brien wrote:
>
> > I can run kbdcontrol -h 500 or vidcontrol -h 500 to set the
> > scroll back keyboard history buffer to 500 lines for the
> > virtual terminal I'm using. How can I make that happen at
> > boot, in the same manner as I run allscreens_flags in
> > rc.conf to set other terminal parameters? I don't need
> > this to set all of the virtual terminals; it would be
> > nice if each terminal could be set separately.
> >
> > It doesn't work for me when placed in rc.conf, with either
> > a direct command or attempting to use allscreens_flags.
> >
> > I'm using 4.10.
> >
> > Jay O'Brien
> > Rio Linda, CA USA
>
> Follow-up:
>
> Re-reading the above could be interpreted that I want to be able
> to review more keyboard lines; not so. I should not have used the
> word "keyboard". I'm looking for redisplay of the screen lines.
> Both kbdcontrol and vidcontrol perform that function. I've built
> a workaround by adding this to root and user .cshrc:
> alias bu vidcontrol -h (with a space following).
> This allows me to type 'bu 500' to set the buffer to 500 lines.
>
> In addition, I would like to be able to set it during boot. Is
> that possible?
I might be misunderstanding you, but if you're talking about the
number of lines you want to be able to scroll up in an xterm, I use
the X resource in ~/.Xdefaults. Not sure what vidcontrol has to do
with this, but the following in .Xdefaults does this for me:
xterm*saveLines: 500
HTH
Lou
--
Louis LeBlanc FreeBSD at keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org Ô¿Ô¬
Tact, n.:
The unsaid part of what you're thinking.
More information about the freebsd-questions
mailing list