From: espie Date: Mon, 6 Nov 2023 13:40:39 +0000 (+0000) Subject: eliminate discrepancies between termcap-generated info and infocmp results X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6835ac24561c15debaf92d2ec4bbe0b01d1b485b;p=openbsd eliminate discrepancies between termcap-generated info and infocmp results (see user_caps(5)) also obviously protects the term name just in case someone wants to have fun with it.. --- diff --git a/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm b/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm index 18cc57471c6..fa1a9a8859b 100644 --- a/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm +++ b/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm @@ -276,7 +276,7 @@ sub Tgetent warn "cannot run infocmp: $!" if !defined $child; if (!$child) { open(STDERR, ">", "/dev/null"); - exec('infocmp', '-CTr', $tmp_term); + exec('infocmp', '-CTrx', '--', $tmp_term); exit(1); } } else {