From 1fb2c98b392b44f8a9ad3512608c92e1dad9c7af Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 5 Aug 2018 19:32:11 -0400 Subject: Fix color pairs once and for all 8/16 color setup adapted from chat/ui.c. termcap patch hack no longer required. Black on black and bright black now work. Nothing will appear bold anymore on 256-color terminals. The keys for black have definitely always been in the help. You just didn't notice. --- Makefile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index daef391..8df5425 100644 --- a/Makefile +++ b/Makefile @@ -11,13 +11,7 @@ $(BINS): torus.h .c: $(CC) $(CFLAGS) $(LDFLAGS) $< $(LDLIBS) -o $@ -termcap: termcap.diff - patch -p0 -o termcap < termcap.diff - -termcap.db: termcap - cap_mkdb termcap - -chroot.tar: server client help termcap.db +chroot.tar: server client help mkdir -p root install -d -o root -g wheel \ root/bin \ @@ -36,7 +30,7 @@ chroot.tar: server client help termcap.db /lib/libncurses.so.8 \ /lib/libncursesw.so.8 \ root/lib - install -o root -g wheel -m 444 termcap.db root/usr/share/misc + install -o root -g wheel -m 444 /usr/share/misc/termcap.db root/usr/share/misc install -o root -g wheel -m 555 /bin/sh root/bin install -o root -g wheel -m 555 server client help root/bin tar -c -f chroot.tar -C root bin home lib libexec usr @@ -45,4 +39,4 @@ tags: *.h *.c ctags -w *.h *.c clean: - rm -f tags $(BINS) termcap termcap.db chroot.tar + rm -f tags $(BINS) chroot.tar -- cgit 1.4.1