Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2005 09:00:30 +0300
From:      Enache Adrian <enache@rdslink.ro>
To:        Mike Adewole <mike@voicenette.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Help with console scrolling problem (RELENG54)
Message-ID:  <20050824060030.GA996@magog>
In-Reply-To: <008501c5a85f$8cf4a550$6501a8c0@newton>
References:  <008501c5a85f$8cf4a550$6501a8c0@newton>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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