Date: Wed, 15 Apr 2015 18:35:43 +0200 From: Kurt Jaeger <lists@opsec.eu> To: Lev Serebryakov <lev@FreeBSD.org> Cc: perl@FreeBSD.org Subject: Re: perldoc is broken in 9, 10 and CURRENT with "xterm" TERM Message-ID: <20150415163543.GK2743@home.opsec.eu> In-Reply-To: <552E9132.6020604@FreeBSD.org> References: <552E9132.6020604@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! > perldoc from perl 5.16 and perl 5.18 on 9, 10 and CURRENT shows ESC > codes like this: > > "ESC[4mfieldsESC[24m") that do ESC[1mnot ESC[22minclude > > Terminal tried is "xterm" (PuTTY and cygwin's rxtv) and "cygwin" > (cygwin's ssh from console). What does echo $PAGER say ? What does echo $LESS say ? > I've found closed PR, which explains or fixes nothing: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162463 If you use less as your PAGER and add an environment variable export LESS=-r then perldoc works. So the behaviour is not pretty, but there is a solution. -- pi@opsec.eu +49 171 3101372 5 years to go !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150415163543.GK2743>