diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-03-19 08:30:09 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-03-19 08:30:09 +0000 |
commit | 44d1907dca38eb8d75d26b9aa791e766a8677d14 (patch) | |
tree | 938a4dbb38106e00daeeba7b293d239303b39fd2 /distrib/miniroot/list2sh.awk | |
parent | 9ec2bca804378ccb693de292bbf0f2ae932227eb (diff) |
Add a comment about harmless warning emitted by tic with -r to the
TERMCAP stanza, no longer replace tabset (not needed anymore) and remove
blank lines from output termcap file.
ok deraadt millert
Diffstat (limited to 'distrib/miniroot/list2sh.awk')
-rw-r--r-- | distrib/miniroot/list2sh.awk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/distrib/miniroot/list2sh.awk b/distrib/miniroot/list2sh.awk index c42f84e2e8a..a85f3ece233 100644 --- a/distrib/miniroot/list2sh.awk +++ b/distrib/miniroot/list2sh.awk @@ -1,4 +1,4 @@ -# $OpenBSD: list2sh.awk,v 1.16 2009/06/04 00:44:47 krw Exp $ +# $OpenBSD: list2sh.awk,v 1.17 2012/03/19 08:30:08 nicm Exp $ # $NetBSD: list2sh.awk,v 1.2 1996/05/04 15:45:31 pk Exp $ BEGIN { @@ -93,8 +93,10 @@ $1 == "SPECIAL" { next; } $1 == "TERMCAP" { +# tic -r flag may generate harmless warning about pccon+base: +# "terminal 'pccon+base': enter_reverse_mode but no exit_attribute_mode" 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", + printf("(cd ${TARGDIR}; tic -C -x -r -e %s ${UTILS}/../../share/termtypes/termtypes.master | sed -e '/^#.*/d' -e '/^$$/d' > %s)\n", $2, $3); next; } |