thiderman/doge — pull request #48 by keithw (2014-05-10 21:13:07+00:00)
Title: doge.txt: Make color escape sequences conform to terminfo

doge.txt combines multiple 256color rendition changes in the same SGR
sequence, e.g., `ESC [ 48;5;179; 38;5;100 m` to change both the
background and foreground color.

The xterm-256color terminfo entry requires (and mosh enforces) that
these be in separate escapes.

Example: `echo -e "setab 179\nsetaf 100" | tput -S | od -c` generates
`ESC [ 48;5;179 m ESC [ 38;5;100 m`.

File converted with: perl -0777 -wpe 's{;38;}{m\033[38;}g' doge.txt

Fixes #43. (Also reported at https://github.com/keithw/mosh/issues/519)