[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Stretch]Typing ""clear" on terminal restricts the scrollback to only a screenful



Am 2017-06-21 10:06, schrieb Christian Seiler:
'clear' and 'tput clear' are identical in Stretch, both are from
ncurses-bin. This was not true in Jessie though, ncurses did
change behavior between Jessie and Stretch.

By the way. in case anyone was wondering:

Upstream changelog about how clear and tput clear are now
identical:
http://invisible-island.net/ncurses/NEWS.html#t20161022

Clearing the scrollback buffer is actually desired behavior,
see also:

http://invisible-island.net/ncurses/NEWS.html#t20130622
https://bugzilla.redhat.com/show_bug.cgi?id=815790
https://unix.stackexchange.com/questions/87469/clearing-the-old-scrollback-buffer

And this is apparently documented now:

http://invisible-island.net/ncurses/NEWS.html#t20161119
https://manpages.debian.org/stretch/ncurses-bin/clear.1.en.html

Regards,
Christian


Reply to: