[haiku-development] Re: man showing several 'ESC' in page mode, and directory precedence issue

  • From: pete.goodeve@xxxxxxxxxxxx
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 6 Sep 2012 19:32:53 -0700

On Thu, Sep 06, 2012 at 05:01:04PM -0700, pete.goodeve@xxxxxxxxxxxx wrote:
> [re rman3.2a] 
> It's not perfect yet -- trying it on some of the man pages in the current
> Haiku set, I see the occasional untranslated character (not sure what's
> expected to show there)
Looking closer, these are just (ISO) nonbreakable spaces, and as my Terminal
is set to UTF-8, I was seeing them as bad characters; setting to latin1
showed them properly.  I guess rman needs a UTF-8 option.

However:

On Thu, Sep 06, 2012 at 12:22:37PM -0700, scottmc wrote:
> I'm seeing a lot of 'ESC's on man pages.  This can be fixed by setting
> the pager and browser less mode from -is to -isr, but as noted in the
> man configure comments for setting this...
> 
> # Some people prefer "-irs", but probably only when they have a broken setup.
> # (Indeed, -r may cause the terminal to get into funny states.
> # Very inconvenient. For viewing pages in strange locales, set LC_*.)
> 
> Didn't this used to work?  Did I break something in the
> OptionalPackages rebuild process?
> 
As far as I can see, less has always displayed non-ascii as inverse-video.
I tried it on my old BeOS machine, and it was just the same.  I don't see
how man could have used less without the '-r' option (and use the ANSI
character modes...).

OTOH, my Haiku version of less *still* shows nbsp (0xA0) as inverse
video even with '-r'.  I don't think it ought to, and the BeOS one does not.

        -- Pete --


Other related posts: