Help with console scrolling problem (RELENG54)

Enache Adrian enache at rdslink.ro
Wed Aug 24 05:58:20 GMT 2005


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


More information about the freebsd-hackers mailing list