about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-08-08 23:18:35 -0400
committerJune McEnroe <june@causal.agency>2017-08-08 23:18:35 -0400
commitc6b87d4f50d6ec9859488d7ed232ebd501a670e2 (patch)
tree3643b5c92ed10694b14e6ca2a34882569db2d4b7
parentAdd put mode (diff)
downloadtorus-c6b87d4f50d6ec9859488d7ed232ebd501a670e2.tar.gz
torus-c6b87d4f50d6ec9859488d7ed232ebd501a670e2.zip
Patch termcap of rxvt-256color as well
-rw-r--r--README2
-rw-r--r--termcap.diff17
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:
class='logmsg'> 2020-02-11Exit focus and paste modes on err exitJune McEnroe 2020-02-11Add startup GPLv3 note and URLJune McEnroe I am a degenerate. 2020-02-11Make sure -D_GNU_SOURCE ends up in CFLAGS on LinuxJune McEnroe 2020-02-11Add note about setting PKG_CONFIG_PATHJune McEnroe 2020-02-11Rename query ID on nick changeJune McEnroe 2020-02-11Call completeClear when closing a windowJune McEnroe 2020-02-11Don't insert color codes for non-mentionsJune McEnroe 2020-02-11Take first two words in colorMentionsJune McEnroe This lets phrases like "hi june" get colored, but still doesn't get carried away. 2020-02-11Use time_t for save signatureJune McEnroe It's actually more likely to be 64-bit than size_t anyway, and it eliminates some helper functions. Also don't error when reading an empty save file. 2020-02-11Set self.nick to * initiallyJune McEnroe Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions. 2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe Rookie mistake. 2020-02-11Cast towupper to wchar_tJune McEnroe For some reason it takes and returns wint_t... 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe