summaryrefslogtreecommitdiff
path: root/share/termtypes
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-12-07 19:53:42 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-12-07 19:53:42 +0000
commit84e4732235c8d3dbe6eb253947b7c10c0cd1bcac (patch)
treeb2d533f85e4b2374151d7f4a690479bf21eb26ca /share/termtypes
parent46722cb4e8c3334da8941cb88c4f035540f2ce0a (diff)
disgusting ed hack to remove three lines from xterm termcap entry; should be redone
Diffstat (limited to 'share/termtypes')
-rw-r--r--share/termtypes/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/termtypes/Makefile b/share/termtypes/Makefile
index ae529e7a01c..73427a4848b 100644
--- a/share/termtypes/Makefile
+++ b/share/termtypes/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 1998/12/07 18:23:36 millert Exp $
+# $OpenBSD: Makefile,v 1.2 1998/12/07 19:53:41 millert Exp $
#
# Take termcap/terminfo master file and generate termcap/terminfo .db files
# master: http://www.tuxedo.org/~esr/terminfo/termtypes.master.gz
@@ -17,11 +17,13 @@ terminfo.src: termtypes.master
terminfo.db: terminfo.src
info_mkdb -f terminfo ${.OBJDIR}/terminfo.src
+# Note the disgusting ed hack to remove three lines from xterm
termcap.src: termtypes.master
tic -C ${.ALLSRC} | sed \
-e 's,/usr/share/lib/tabset,/usr/share/tabset,g' \
-e 's,/usr/lib/tabset,/usr/share/tabset,g' \
> ${.OBJDIR}/termcap.src
+ echo "1\n/^xterm|\n\nd\nd\nd\n.\nw\nq\n" | ed - ${.OBJDIR}/termcap.src >/dev/null 2>&1
termcap.db: termcap.src
cap_mkdb -f termcap ${.OBJDIR}/termcap.src