-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter out escape sequence 'character set' select
Some terminals (xterm) supports two different 'character sets' ('G0' and 'G1'), which can be switched with 'SI' (shift in, '\017') and 'SO' (shift out, '\016'). Each character set can be configured separately and can be chosen from a list of pre-defined sets like 'ASCII Set' and 'Special Graphics'. Running `TERM=xterm tput sgr0` to reset the terminal returns an escape sequence starting with 'ESC ( 0', which selects the 'ASCII Set' for 'G0'. This currently is not understood by the Jenkins AnsiColor plugin. Filter out those sequences, as they otherwise clutter the output. <https://www.in-ulm.de/~mascheck/various/alternate_charset/> has a nice description for characters sets This is issue <#29>, a upstream port of <https://issues.jenkins-ci.org/browse/JENKINS-24387>
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters