top and termcap

less has an "-X" switch that "disables sending the termcap initialization and deinitialization". This avoids the content being removed on leaving.
Now the top command has developed the same annoying behaviour. What's the switch here?
 
less has an "-X" switch that "disables sending the termcap initialization and deinitialization". This avoids the content being removed on leaving.
General philosophical comment: I hate programs that do that. It messes with scrolling back to see the history; and since today de-facto all terminal emulators allow a lot of scroll back, it makes my workflow harder. I understand that there are people who love it, because they use their terminals differently.

Now the top command has developed the same annoying behaviour. What's the switch here?
On my FreeBSD machine (running 13.3), it has not developed that behavior; my $TERM is xterm-256color. Maybe you are running a newer version?

And: Looking at the most up-to-date man page for term, there is no such switch.
 
Back
Top