From owner-freebsd-questions@FreeBSD.ORG Mon Aug 16 17:42:35 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 A696D16A4CE for ; Mon, 16 Aug 2004 17:42:35 +0000 (GMT) Received: from smtp805.mail.sc5.yahoo.com (smtp805.mail.sc5.yahoo.com [66.163.168.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 5BB5943D31 for ; Mon, 16 Aug 2004 17:42:35 +0000 (GMT) (envelope-from addymin@pacbell.net) Received: from unknown (HELO ?192.168.1.12?) (m?chinn@pacbell.net@67.120.102.63 with plain) by smtp805.mail.sc5.yahoo.com with SMTP; 16 Aug 2004 17:42:35 -0000 Message-ID: <4120F30A.5050802@pacbell.net> Date: Mon, 16 Aug 2004 10:46:50 -0700 From: Mike User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-Questions@FreeBSD.ORG References: <4120BDA1.7030700@pacbell.net> <20040816140930.GA84216@happy-idiot-talk.infracaninophile.co.uk> <20040816142132.GD85541@omniresources.com> <20040816155128.GB7099@orion.daedalusnetworks.priv> In-Reply-To: <20040816155128.GB7099@orion.daedalusnetworks.priv> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to increase scrollback for FreeBSD-4.10? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: addymin@pacbell.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 17:42:35 -0000 Giorgos Keramidas wrote: > On 2004-08-16 09:21, doug@polands.org wrote: > >>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: >>> >>>>When I'm on the 4.10 box the scrollback is about 200 lines. If >>>>possible I'd like to set the scroll back to 600 lines or so >>>>(at least). >>>> >>>>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 >> >>xterm like programs allow the -sl switch lines. I've had problems with >>numbers approaching 32767 but have never nailed down exactly how many >>lines I can save. I safely use -sl 30000 for xterm, rxvt, aterm, and >>gnome-terminal. > > > I use screen most of the time in my terminal sessions, which also > includes a nice option for scrollback. Putting the following in my > ~/.screenrc file works like a charm: > > defscrollback 10000 > > This is IMHO a bit more preferable than using syscons scrollback, > because syscons allocates memory inside the kernel for the scrollback > buffer IIRC. I tend to prefer userspace allocations when possible, like > the xterm -sl or screen's scrollback. > Greetings: Thank you for the tips!!! I went and tried this using this kdbcontrol command in my .cshrc: # added to increase scrollback to 1000 /usr/sbin/kbdcontrol -h 1000 This gave me 1,000 lines when I'm logged into the console however, it resulted in a "Inapproriate ioctrl for device" error when using xterm (xfterm4) under xfce4. So I removed the "kdbcontrol" from my .cshrc and used a "-sl 3000" option to launch xfterm4. So launching "xfterm4 -sl 3000" now does the trick! Regards, Michael