about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-07-30 03:10:22 -0400
committerJune McEnroe <programble@gmail.com>2017-07-30 03:10:22 -0400
commitc707d3c29f44a79cb269d90bfe53bec8d8705a5e (patch)
treefd35b79bcaa5efa61ada785d81709b9fe055e54c
parentAdd README (diff)
downloadtorus-c707d3c29f44a79cb269d90bfe53bec8d8705a5e.tar.gz
torus-c707d3c29f44a79cb269d90bfe53bec8d8705a5e.zip
Add termcap patch
Diffstat (limited to '')
-rw-r--r--README6
-rw-r--r--termcap.diff12
2 files changed, 18 insertions, 0 deletions
diff --git a/README b/README
index 954c12c..06c851e 100644
--- a/README
+++ b/README
@@ -8,3 +8,9 @@ C source files are self-compiling, e.g. ./server.c.
     server.c       Maps torus.dat and listens on torus.sock.
     client.c       Curses client.
     help.c         Automated client which redraws a helpful banner.
+
+On FreeBSD with TERM=xterm-256color, the client fails to display bright
+colors. Applying termcap.diff sets it equivalent to TERM=xterm.
+
+    patch -p0 -o termcap < termcap.diff
+    cap_mkdb termcap
diff --git a/termcap.diff b/termcap.diff
new file mode 100644
index 0000000..c6048cb
--- /dev/null
+++ b/termcap.diff
@@ -0,0 +1,12 @@
+--- /usr/share/misc/termcap	2017-07-29 16:46:57.370274000 +0000
++++ termcap	2017-07-30 00:12:33.996614000 +0000
+@@ -2882,8 +2882,7 @@
+ 	:Co#88:pa#7744:tc=xterm-256color:
+ 
+ xterm-256color|xterm alias 3:\
+-	:Co#256:pa#32767:\
+-	:AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=xterm-new:
++	:tc=xterm-new:
+ 
+ xterm-nrc|xterm alias 4:\
+ 	:tc=xterm:
oe 2017-08-06Add wakeJune McEnroe 2017-08-04Use $() in install.shJune McEnroe 2017-08-02Create Code Tarmak 3 layoutJune McEnroe 2017-07-31Add tupJune McEnroe 2017-07-31Use designated initializer for hnel tableJune McEnroe 2017-07-30Add juneJune McEnroe 2017-07-30Play nethack as ValkyrieJune McEnroe 2017-07-28Add toggle to hnelJune McEnroe 2017-07-28Install slJune McEnroe 2017-07-25Add up, supJune McEnroe 2017-07-24Autopickup ringsJune McEnroe 2017-07-24Name dogJune McEnroe 2017-07-23Add nethackrcJune McEnroe 2017-07-23Remove useless setuid in briJune McEnroe 2017-07-23Clean up hnel a tiny bitJune McEnroe 2017-07-21Set window size in hnelJune McEnroe 2017-07-21Add hnelJune McEnroe 2017-07-19chmod 600 in dtchJune McEnroe