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

Andrew Schulman <[email protected]> Wed, 27 Apr 2022 11:44:28 -0400
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
> 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.

I use TERM=screen-256color in mintty, an xterm-compatible terminal. It
works well.