From 84e4732235c8d3dbe6eb253947b7c10c0cd1bcac Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 7 Dec 1998 19:53:42 +0000 Subject: disgusting ed hack to remove three lines from xterm termcap entry; should be redone --- share/termtypes/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'share/termtypes') 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 -- cgit v1.2.3