Changes between Version 10 and Version 11 of 256Colors


Ignore:
Timestamp:
Feb 8, 2011, 12:39:44 AM (10 years ago)
Author:
andersk@mit.edu
Comment:

Debian screen-256color underline bug

Legend:

Unmodified
Added
Removed
Modified
  • 256Colors

    v10 v11  
    2121
    2222In case you want to use 256-color Emacs inside screen, see [http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2650 Emacs bug 2650].
     23
     24Debian has a bug that prevents underlining from working in `screen-256color`.  To fix it, run
     25{{{
     26tic /dev/stdin <<EOF
     27screen-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
     33screen-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,
     38EOF
     39}}}