Skip to content

Commit

Permalink
doge.txt: Make color escape sequences conform to terminfo
Browse files Browse the repository at this point in the history
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 Olivia5k#43. (Also reported at mobile-shell/mosh#519)
  • Loading branch information
keithw committed May 10, 2014
1 parent 31b4921 commit b8ca392
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions doge/static/doge.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
 ▄▄
  ▄ ▄▄▄▄
   ▄ ▄▄▄ ▄▄▄
▄ ▄ ▄▄ ▄▄ ▄  
▄▄ ▄▄▄▄▄▄▄▄▄ ▄▄▄▄ ▄   
▄▄▄  ▄ ▄ ▄▄▄▄ ▄ ▄▄▄▄ 
▄▄ ▄ ▄ ▄ ▄  ▄▄ ▄▄▄  ▄▄ ▄▄ ▄
▄ ▄   ▄▄  ▄▄ ▄▄ ▄▄▄▄ ▄▄ 
▄ ▄▄▄▄▄▄▄▄▄  ▄  ▄ ▄ ▄ ▄▄▄▄▄ ▄▄▄
▄▄▄▄▄▄▄ ▄ ▄▄▄ ▄ ▄▄ ▄▄▄ ▄ ▄▄  ▄▄
▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ▄▄▄ ▄ ▄ ▄▄ ▄
 ▄ ▄  ▄▄▄ ▄▄ ▄ ▄▄ ▄▄ ▄▄▄ ▄▄ ▄ ▄▄ 
▄▄▄ ▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄ ▄ ▄ ▄▄ ▄  ▄ ▄ ▄
▄ ▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄  ▄▄▄    ▄▄▄
▄▄ ▄▄ ▄ ▄  ▄  ▄▄ ▄▄▄▄ ▄▄▄ ▄▄ ▄ 
▄ ▄▄▄ ▄▄▄ ▄▄   ▄ ▄ ▄▄▄▄ ▄ ▄ ▄▄ ▄ 
   ▄▄ ▄▄▄▄▄ ▄▄ ▄ ▄▄ ▄ ▄▄ ▄ ▄  ▄ 
  ▄▄ ▄▄▄▄▄▄▄▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄  ▄▄ ▄ 
 ▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  ▄▄ ▄ ▄ ▄
▄  ▄ ▄▄▄▄▄▄▄▄▄▄▄  ▄ ▄▄ ▄▄▄▄▄ 
 ▄▄ ▄▄ ▄▄▄▄ ▄ ▄ ▄ ▄▄▄▄▄▄ 
▀ ▄▄  ▄ ▄ ▄  ▄ ▄ ▄ ▄ ▄ ▄▀
▀▄ ▄ ▄ ▄▄▄ ▄▄  ▄ 
▀▀ ▄ ▄▄▄▄▄▄▄ ▄▄ ▄ ▀▀
  ▄ ▄▄▄▄
   ▄ ▄▄▄ ▄▄▄
▄ ▄ ▄▄ ▄▄ ▄  
▄▄ ▄▄▄▄▄▄▄▄▄ ▄▄▄▄ ▄   
▄▄▄  ▄ ▄ ▄▄▄▄ ▄ ▄▄▄▄ 
▄▄ ▄ ▄ ▄ ▄  ▄▄ ▄▄▄  ▄▄ ▄▄ ▄
▄ ▄   ▄▄  ▄▄ ▄▄ ▄▄▄▄ ▄▄ 
▄ ▄▄▄▄▄▄▄▄▄  ▄  ▄ ▄ ▄ ▄▄▄▄▄ ▄▄▄
▄▄▄▄▄▄▄ ▄ ▄▄▄ ▄ ▄▄ ▄▄▄ ▄ ▄▄  ▄▄
▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ▄▄▄ ▄ ▄ ▄▄ ▄
 ▄ ▄  ▄▄▄ ▄▄ ▄ ▄▄ ▄▄ ▄▄▄ ▄▄ ▄ ▄▄ 
▄▄▄ ▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄ ▄ ▄ ▄▄ ▄  ▄ ▄ ▄
▄ ▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄  ▄▄▄    ▄▄▄
▄▄ ▄▄ ▄ ▄  ▄  ▄▄ ▄▄▄▄ ▄▄▄ ▄▄ ▄ 
▄ ▄▄▄ ▄▄▄ ▄▄   ▄ ▄ ▄▄▄▄ ▄ ▄ ▄▄ ▄ 
   ▄▄ ▄▄▄▄▄ ▄▄ ▄ ▄▄ ▄ ▄▄ ▄ ▄  ▄ 
  ▄▄ ▄▄▄▄▄▄▄▄ ▄ ▄ ▄ ▄ ▄ ▄ ▄  ▄▄ ▄ 
 ▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄  ▄▄ ▄ ▄ ▄
▄  ▄ ▄▄▄▄▄▄▄▄▄▄▄  ▄ ▄▄ ▄▄▄▄▄ 
 ▄▄ ▄▄ ▄▄▄▄ ▄ ▄ ▄ ▄▄▄▄▄▄ 
▀ ▄▄  ▄ ▄ ▄  ▄ ▄ ▄ ▄ ▄ ▄▀
▀▄ ▄ ▄ ▄▄▄ ▄▄  ▄ 
▀▀ ▄ ▄▄▄▄▄▄▄ ▄▄ ▄ ▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀

0 comments on commit b8ca392

Please sign in to comment.