Module Name: src
Committed By: abs
Date: Wed Oct 21 11:35:19 UTC 2009
Modified Files:
src/distrib/common: mktermcap
Log Message:
update to generate something closer to common/termcap
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/common/mktermcap
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/common/mktermcap
diff -u src/distrib/common/mktermcap:1.4 src/distrib/common/mktermcap:1.5
--- src/distrib/common/mktermcap:1.4 Mon Dec 22 18:58:22 2008
+++ src/distrib/common/mktermcap Wed Oct 21 11:35:19 2009
@@ -1,11 +1,13 @@
#!/bin/sh
-# $NetBSD: mktermcap,v 1.4 2008/12/22 18:58:22 christos Exp $
+# $NetBSD: mktermcap,v 1.5 2009/10/21 11:35:19 abs Exp $
+#
+# Note - output has been further adjusted by hand to save space
-TARGET=termcap.mini
+TARGET=termcap
+# x68k pulls in vt220
echo "# \$NetBSD\$" > ${TARGET}
-for t in wsvt25m vt100 vt220 xterm ansi
+for t in wsvt25m vt100 xterm ansi dumb hp300h iris-ansi iris-ansi-ap sun x68k
do
getent termcap -rp $t
- echo
-done >> ${TARGET}
+done | sed 's/^ //' | grep . >> ${TARGET}