From 44d1907dca38eb8d75d26b9aa791e766a8677d14 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 19 Mar 2012 08:30:09 +0000 Subject: 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 --- distrib/miniroot/list2sh.awk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'distrib/miniroot/list2sh.awk') 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; } -- cgit v1.2.3