[tex-live] (no subject)

Reinhard Kotucha reinhard.kotucha at web.de
Thu Aug 26 02:14:42 CEST 2010


On 25 August 2010 Karl Berry wrote:

 >     Sorry, there is no attachment, only the string "[ATTACHMENT
 >     /tmp/s.png, image/png]".
 > 
 > Sorry, my mistake.
 > 
 >     The escape sequences you see on screen are probably ANSI colors.
 > 
 > Yep.
 > 
 >     less(1) doesn't pass them to the terminal by default.
 > 
 > Yep.
 > 
 >      LESS='-R'
 > 
 > It works, and no question about binary characters any more either.  But
 > people shouldn't have to set envvars to see the help.  It seems like a
 > bug in perldoc, or something.  The whole "y" vs. "RET" thing seems
 > pretty bogus, too.

I think that less(1) is the culprit.

 > I suppose we could add -R to the LESS envvar in tlmgr before calling
 > pod2usage.  What a kludge, but if it suffices ...

Yes, but we should also unset LESSOPEN.

There is an idiom: "less is sometimes more".  Sure, but less(1) does
too much.  I once created a file "foo.ps" and "less foo.ps" didn't
display the content of the file.  Instead, it bothered me with a bunch
of ghostscript error messages.  Sigh!

I added the line

  unset LESSOPEN

to /etc/bashrc

and didn't encounter such problems anymore.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the tex-live mailing list