From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 24 10:45:13 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 3C1D616A41F for ; Wed, 24 Aug 2005 10:45:13 +0000 (GMT) (envelope-from adewole@sympatico.ca) Received: from BAYC1-PASMTP04.bayc1.hotmail.com (bayc1-pasmtp04.bayc1.hotmail.com [65.54.191.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3F5043D48 for ; Wed, 24 Aug 2005 10:45:12 +0000 (GMT) (envelope-from adewole@sympatico.ca) Message-ID: X-Originating-IP: [64.231.251.54] X-Originating-Email: [adewole@sympatico.ca] Received: from newton ([64.231.251.54]) by BAYC1-PASMTP04.bayc1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Wed, 24 Aug 2005 03:45:09 -0700 Message-ID: <00bc01c5a89a$0cd47f90$6501a8c0@newton> From: "Mike Adewole" To: "Enache Adrian" References: <008501c5a85f$8cf4a550$6501a8c0@newton> <20050824060030.GA996@magog> Date: Wed, 24 Aug 2005 06:53:10 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-OriginalArrivalTime: 24 Aug 2005 10:45:09.0895 (UTC) FILETIME=[E61AF970:01C5A898] 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 10:45:13 -0000 From: "Enache Adrian" To: "Mike Adewole" Cc: Sent: Wednesday, August 24, 2005 2:00 AM Subject: Re: Help with console scrolling problem (RELENG54) > 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 > Thanks a lot, Adi. Mike