Proper value of $TERM for screen running in an xterm-256color terminal

Dun Peal <[email protected]> Mon, 25 Apr 2022 19:00:51 +0200
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CAD03jn6EVq5Qg=LLAMqDwEpAVJikjj7kd5Wr7p6V_Q2_B_8sGg@mail.gmail.com>
I'm wondering what the proper value of $TERM would be for screen
running in a terminal which initially has its $TERM variable equal to
"xterm-256color". Once I launch screen, $TERM becomes "screen", which
seems to lack many capabilities, notably: applications don't consider
it to be capable of displaying 256 colors.

Searching the web brought up several potential values that $TERM
should have in this situation, including "screen-256color" and
"screen.xterm-256color", but I'm not sure what's the proper answer.