Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/common update to generate something closer to common...



details:   https://anonhg.NetBSD.org/src/rev/538e20df5b28
branches:  trunk
changeset: 748343:538e20df5b28
user:      abs <abs%NetBSD.org@localhost>
date:      Wed Oct 21 11:35:19 2009 +0000

description:
update to generate something closer to common/termcap

diffstat:

 distrib/common/mktermcap |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r 011888282ff0 -r 538e20df5b28 distrib/common/mktermcap
--- a/distrib/common/mktermcap  Wed Oct 21 05:45:35 2009 +0000
+++ b/distrib/common/mktermcap  Wed Oct 21 11:35:19 2009 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index