Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 15:09:30 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Mike <addymin@pacbell.net>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: How to increase scrollback  for FreeBSD-4.10?
Message-ID:  <20040816140930.GA84216@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <4120BDA1.7030700@pacbell.net>
References:  <4120BDA1.7030700@pacbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 16, 2004 at 06:58:57AM -0700, Mike wrote:

> When I'm on the 4.10 box the scrollback is about 200 lines. If possible=
=20
> I'd like to set the  scroll back to 600 lines or so (at least).
>=20
> Question: How do I increase the scrollback on 4.10?

That depends on the console program you're using.  For an xterm(1),
the following in ~/.Xdefaults will give you 8k scrollback lines:

    xterm*saveLines:        8192

(Remember to run '/usr/X11R6/bin/xrdb -merge ${HOME}/.Xdefaults' out
of .xsession or .xinit so that gets set every time you log in)

For the system console, you'll need to play with the syscons(4)
history size.  Modify your kernel configuration to set

    options SC_HISTORY_SIZE=3DN

where N is the number of lines of scroll back you want (default 100).
Then build and install a new kernel in the usual way:

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.=
html

There doesn't seem to be any way of achieving the same effect via
sysctl(8), which is unfortunate.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--7JfCtLOvnd9MIVvH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBIMAaiD657aJF7eIRApXVAJ4y8TaTgIAU2AXw3ZTv3fnEDYYKCQCfSb+8
9JsNRwgFvDYTeOahlez6/Z0=
=Bden
-----END PGP SIGNATURE-----

--7JfCtLOvnd9MIVvH--



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