summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-29 17:13:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-29 17:13:40 +0000
commit38bf101802581aab6eedd860599bec1fe80f8bf1 (patch)
tree7064997817e5c9040fd694554804d319d5451954 /distrib/miniroot
parentbe5da28bf760481cf2c10351d5815e8673d7a7f6 (diff)
generate termcap file using a list2sh.awk directrive; distrib becomes a lot smaller again
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/list2sh.awk8
1 files changed, 7 insertions, 1 deletions
diff --git a/distrib/miniroot/list2sh.awk b/distrib/miniroot/list2sh.awk
index bfc2ba8a699..510215b6efb 100644
--- a/distrib/miniroot/list2sh.awk
+++ b/distrib/miniroot/list2sh.awk
@@ -1,4 +1,4 @@
-# $OpenBSD: list2sh.awk,v 1.6 2002/04/25 21:57:43 deraadt Exp $
+# $OpenBSD: list2sh.awk,v 1.7 2002/04/29 17:13:38 deraadt Exp $
# $NetBSD: list2sh.awk,v 1.2 1996/05/04 15:45:31 pk Exp $
BEGIN {
@@ -63,6 +63,12 @@ $1 == "SPECIAL" {
printf("(cd ${TARGDIR}; %s)\n", work);
next;
}
+$1 == "TERMCAP" {
+ printf("echo '%s'\n", $0);
+ printf("(cd ${TARGDIR}; tic -C -x -r -e %s ${UTILS}/../../share/termtypes/termtypes.master | sed -e '/^#.*/d' -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' -e 's,/usr/lib/tabset,/usr/share/tabset,g' > %s)\n",
+ $2, $3);
+ next;
+}
{
printf("echo '%s'\n", $0);
printf("echo 'Unknown keyword \"%s\" at line %d of input.'\n", $1, NR);