I'm using a Wyse50 Terminal emulation on Rocky Linux 9. Man pages, help screens, etc., are unusable because the system outputs attribute and color codes that the terminal emulator doesn't understand; so, for example, man cp
reads like this:
1mSYNOPSIS0mm
1mcp 22m[4mOPTION24m]... [4m-T24m] 4mSOURCE24m 4mDEST0mm
1mcp 22m[4mOPTION24m]... 4mSOURCE24m... 4mDIRECTORY0mm
1mcp 22m[4mOPTION24m]... 4m-t24m 4mDIRECTORY24m 4mSOURCE24m...m m
1mDESCRIPTION0mm
I've updated the latest terminfo packages and did an infocmp between the latest wy50 and the wy50 from a Linux 4 where everything worked fine.
I see nothing in profile, bash_profile, bashrc or .bashrc that would set any color parameters.
What am I missing? (other than a legacy application that belongs in the prior century)
$TERM
set to?