Initially I thought Unlimited scrolling was not working with the terminal application on 16.04. I have the option "limit scrollback to" unchecked. Some times it scrolls back some times it does not. Then I realized it does not scroll back when ever I use clear
command. It scrolls back only one scree.
I use clear a lot(almost once in every 3 commands).
The man page for clear points to terminfo. There are some options on terminfo but I can't find a config file where I can define the options. All the files under /lib/terminfo/ from where clear seems to be reading its config are in compiled format and I do not understand them.
I didn't see this issue with earlier to 14.04(guessing).
Any help is greatly appreciated.
Thanks.
clear
command, you can useclear -x
to avoid the issue. See my answer for the detail. – ynn Oct 18 '19 at 11:37