Sample Header Ad - 728x90

Linux 9 commands send ANSI/color sequences to monochrome terminal

0 votes
3 answers
419 views
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)
Asked by Darrel Barton (1 rep)
Dec 20, 2022, 06:23 PM
Last activity: Jan 11, 2023, 01:45 AM