Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2015 00:57:34 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        perl@FreeBSD.org
Subject:   Re: perldoc is broken in 9, 10 and CURRENT with "xterm" TERM
Message-ID:  <552EDECE.1060901@FreeBSD.org>
In-Reply-To: <20150415163543.GK2743@home.opsec.eu>
References:  <552E9132.6020604@FreeBSD.org> <20150415163543.GK2743@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 15.04.2015 19:35, Kurt Jaeger wrote:

>> "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 ?
  more
 Is it default? Or I have my login/profile scripts migrating with me
from 2.2.2? :)

> What does
> 
> echo $LESS
> 
> say ?
LESS: Undefined variable

>> 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.
 Nope :( At least, on 9-STABLE and 10-STABLE it does not help, it
looks the same.

 Set both PAGER to "less" and LESS to "-r" fix things on 9-STABLE, but
on 10-STABLE it makes things better but still wrong:

B<perldoc> [B<-h>] [B<-D>] [B<-t>] [B<-u>] [B<-m>] [B<-l>] [B<-F>]

P.S. It is funny when default shell on BSD is csh, everybody say
"export NAME=val" and not "setenv NAME val" :)

- -- 
// Lev Serebryakov AKA Black Lion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQJ8BAEBCgBmBQJVLt7OXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePJG4QAMqc0AkbierwGoNCrGDA75/9
hufw8hM8JPbeUUlg1arTMo0lq+ZBYCRqzg+FZniEK7K7RZnSx6TpvG9qF3QeKv5J
ayha6a01LUps4Efj4kOamtHo/Hv9hgfqv3B2m5xLk7/nlS7/celLwiYs8ZoOb/T0
ATOZ7s1u9LnlMJYf/Z+R8+jHYiqc4V6ZW5j6+kiYf3r9YX1hh6OZ49lwYaMlK3PN
uReRyt7XNaZY4bg++JvCss5NLrY5qoaCI3BY1ZPYhPJT8og9ie64TsFnRiMt8E89
I3S7w9hj6Fb222dMw7+iL7zua1qpaIU+/5QxyGD1hR5jTT/vah/+OSXoRkvcPyYo
nuyGXLto3tKToB75ncAnw9WHMk4Hz0Yj03zF5zVNjFOCPagy/QjWFKXOD1wO4wOE
ZXWgKV1c64HXvOvCW3nDaoP55frEHHmbSGBgQ3XMEukmwfl2UtOeiN7yIUIE3QYh
ZcNIWYbaz6Q1G3aj3a0pUq2HHKb2rIPIsh9bOLA8VznLLMUsuDmRCqD+kmuSa984
x+LCuhH7QGqDs+S8b7Tmcyah7NOZ+Q6UPrGTgPWFFjeY4FCqB9ObQVcHbCc/1WOt
oRFJ3rMv8vwOziZI2F7Yl9PXaZxxuSucGysre1s2JBs8V1wVBzNEcaYl8TNOxAp8
mHwNpSJ9rtvTw4BCbc4i
=fy8/
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?552EDECE.1060901>