| 23 | |
| 24 | Debian has a bug that prevents underlining from working in `screen-256color`. To fix it, run |
| 25 | {{{ |
| 26 | tic /dev/stdin <<EOF |
| 27 | screen-256color|GNU Screen with 256 colors, |
| 28 | use=screen, |
| 29 | ccc, colors#256, pairs#32767, |
| 30 | initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, |
| 31 | setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm, setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm, |
| 32 | |
| 33 | screen-256color-bce|GNU Screen with 256 colors and BCE, |
| 34 | use=screen-bce, |
| 35 | ccc, colors#256, pairs#32767, |
| 36 | initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, |
| 37 | setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm, setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm, |
| 38 | EOF |
| 39 | }}} |