URL: <http://savannah.gnu.org/bugs/?50601>
Summary: Screen rewrites 38;5;nn escapes even when surrounding terminal supports them Project: GNU Screen Submitted by: pstray Submitted on: Tue 21 Mar 2017 01:30:39 PM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 4.5.0 Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Details: Even though the surrounding terminal supports 256-colors and thus 38;5;nn escapes, screen seem to rewrite those sequences for at least colors 0 through 7 to 30+nn instead. This causes color errors when combing whith bold (1) as 30+nn together with bold usually maps to colors nn+8, and thus any of the first 8 colors is then displayed as bright intensity in addition to bold. See the two supplied images, the first showing how gnome-terminal displays the colors (and how they should be), the second how the same output in screen causes translation of escape codes an thus the display of wrong colors. The same happens with xterm as the surrounding terminal. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 21 Mar 2017 01:30:39 PM UTC Name: terminal-noerror.png Size: 27kB By: pstray <http://savannah.gnu.org/bugs/download.php?file_id=40045> ------------------------------------------------------- Date: Tue 21 Mar 2017 01:30:39 PM UTC Name: screen-error.png Size: 27kB By: pstray <http://savannah.gnu.org/bugs/download.php?file_id=40046> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50601> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/