diff options
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | termcap.diff | 12 |
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: |