Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2004 09:11:46 -0400
From:      Louis LeBlanc <FreeBSD@keyslapper.org>
To:        FreeBSD - questions <questions@freebsd.org>
Subject:   Re: scrollback history buffer setting (was keyboard)
Message-ID:  <20040818131146.GC76179@keyslapper.org>
In-Reply-To: <4122FEE1.8040000@att.net>
References:  <4122D175.8060707@att.net> <4122FEE1.8040000@att.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ

Tact, n.:
  The unsaid part of what you're thinking.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040818131146.GC76179>