From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 24 05:58:20 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01CC916A41F for ; Wed, 24 Aug 2005 05:58:20 +0000 (GMT) (envelope-from enache@rdslink.ro) Received: from mail.rdslink.ro (mail.rdslink.ro [193.231.236.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68B5E43D48 for ; Wed, 24 Aug 2005 05:58:18 +0000 (GMT) (envelope-from enache@rdslink.ro) Received: (qmail 10658 invoked from network); 24 Aug 2005 06:00:46 -0000 Received: from unknown (HELO localhost) (86.125.101.38) by mail.rdslink.ro with SMTP; 24 Aug 2005 06:00:46 -0000 Received: from adi by localhost with local (Exim 4.50) id 1E7oJK-0000J9-Gh; Wed, 24 Aug 2005 09:00:30 +0300 Date: Wed, 24 Aug 2005 09:00:30 +0300 From: Enache Adrian To: Mike Adewole Message-ID: <20050824060030.GA996@magog> References: <008501c5a85f$8cf4a550$6501a8c0@newton> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <008501c5a85f$8cf4a550$6501a8c0@newton> User-Agent: Mutt/1.5.9i Cc: freebsd-hackers@freebsd.org Subject: Re: Help with console scrolling problem (RELENG54) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 05:58:20 -0000 On Tue, Aug 23, 2005 at 11:54:35PM -0400, Mike Adewole wrote: > Is there anyway of writing to the last (row, column) without causing the > screen to scroll ? Looking at function scterm_puts at (1) there doesn't seem > to be any way to avoid scrolling. Yes. Look at how ncurses is doing it. (PutCharLR() in tty/tty_update.c) On the FreeBSD console, you go to the last line and last but one column, write the last char, go one column to the left, and INSERT the last but one char. Regards, Adi