Since my latest dist-upgrade, my main workstation has developed the
obnoxious habit of restoring the screen to its previous state when I
exit curses-based apps.  (Yeah, yeah...  I know some people like it
that way.  I don't.)

For less I can kill this behviour by passing it a -X:

---
       -X or --no-init
              Disables  sending  the  termcap  initialization and
              deinitialization strings to the terminal.  This  is
              sometimes  desirable if the deinitialization string
              does  something  unnecessary,  like  clearing   the
              screen.
---

This is good and all, but I want to kill it entirely, for all apps,
without having to track down the relevant parameter to pass each
one.

man 5 termcap, however, does not mention anything that looks
promising.  What settings do I change in my termcap to make it stop
doing that?

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Mr. Slippery