From 6d695d7b39c9cfcc1b144b6b42b2b6ef4e7bf19b Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 8 Aug 2017 23:18:35 -0400 Subject: Patch termcap of rxvt-256color as well --- README | 2 +- termcap.diff | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/README b/README index 49612a4..50a642d 100644 --- a/README +++ b/README @@ -12,5 +12,5 @@ C source files are self-compiling, e.g. ./server.c. chroot.sh Creates chroot tarball. sshd_config Anonymous login to chrooted client. - termcap.diff Patch for bright colors with TERM=xterm-256color. + termcap.diff Patch for bright colors in xterm and rxvt. index.html Friendly directions. diff --git a/termcap.diff b/termcap.diff index 66698a7..109fb95 100644 --- a/termcap.diff +++ b/termcap.diff @@ -1,13 +1,20 @@ --- /usr/share/misc/termcap 2017-07-29 16:46:57.370274000 +0000 -+++ termcap 2017-07-30 20:44:18.427569000 +0000 -@@ -2882,8 +2882,8 @@ - :Co#88:pa#7744:tc=xterm-256color: ++++ termcap 2017-08-09 03:09:03.753635000 +0000 +@@ -2883,7 +2883,7 @@ xterm-256color|xterm alias 3:\ -- :Co#256:pa#32767:\ + :Co#256:pa#32767:\ - :AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=xterm-new: -+ :pa#32767:\ + :tc=xterm-new: xterm-nrc|xterm alias 4:\ :tc=xterm: +@@ -4636,7 +4636,7 @@ + + rxvt-256color|rxvt terminal emulator with 256 colors:\ + :Co#256:pa#32767:\ +- :AB=\E[48;5;%dm:AF=\E[38;5;%dm:op=\E[39;49m:tc=rxvt-unicode: ++ :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-unicode: + + rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\ + :tc=rxvt-256color: -- cgit 1.4.1