From owner-freebsd-questions@FreeBSD.ORG Mon Aug 16 14:13:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8613316A4CE for ; Mon, 16 Aug 2004 14:13:57 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C23AD43D2F for ; Mon, 16 Aug 2004 14:13:56 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i7GEDnNp084498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Aug 2004 15:13:49 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i7GEDnn5084497; Mon, 16 Aug 2004 15:13:49 +0100 (BST) (envelope-from matthew) Date: Mon, 16 Aug 2004 15:13:49 +0100 From: Matthew Seaman To: Mike , freebsd-questions Message-ID: <20040816141349.GB84216@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Mike , freebsd-questions References: <4120BDA1.7030700@pacbell.net> <20040816140930.GA84216@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QKdGvSO+nmPlgiQ/" Content-Disposition: inline In-Reply-To: <20040816140930.GA84216@happy-idiot-talk.infracaninophile.co.uk> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Mon, 16 Aug 2004 15:13:49 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: How to increase scrollback for FreeBSD-4.10? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 14:13:57 -0000 --QKdGvSO+nmPlgiQ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 16, 2004 at 03:09:30PM +0100, Matthew Seaman wrote: > On Mon, Aug 16, 2004 at 06:58:57AM -0700, Mike wrote: >=20 > > 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? >=20 > That depends on the console program you're using. For an xterm(1), > the following in ~/.Xdefaults will give you 8k scrollback lines: >=20 > xterm*saveLines: 8192 >=20 > (Remember to run '/usr/X11R6/bin/xrdb -merge ${HOME}/.Xdefaults' out > of .xsession or .xinit so that gets set every time you log in) >=20 > For the system console, you'll need to play with the syscons(4) > history size. Modify your kernel configuration to set >=20 > options SC_HISTORY_SIZE=3DN >=20 > 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: >=20 > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfi= g.html >=20 > There doesn't seem to be any way of achieving the same effect via > sysctl(8), which is unfortunate. Except of course, for the kbdcontrol(1) program which I am reminded does all that sort of stuff. Changing SC_HISTORY_SIZE will let you alter the default size of the history buffer, kbdcontrol(1) lets you override that to whatever value you want. 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 --QKdGvSO+nmPlgiQ/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBIMEdiD657aJF7eIRArcbAKCMgQqLenIvEl1vd5E/ZjxmXOEUDgCgsZ7w yu1eN6o5y47FaXsD4hy3uRM= =+8e/ -----END PGP SIGNATURE----- --QKdGvSO+nmPlgiQ/--