This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 64bit: man misconfigured


On 30 March 2013 11:17, Thomas Wolff wrote:
> Due to changed /etc/man.conf, man64 uses escape sequences for bold display
> while man32 uses backspace combinations.

Backspace combinations?

> However, the escape sequences are not by default interpreted by less (less
> -r would work),
> so that PAGER=less man ... produces garbage display.

The 32-bit /etc/man.conf has this:

PAGER           /usr/bin/less -isrR

Whereas the 64-bit one has this:

PAGER           /bin/less -is

As Thomas alludes to, the -r option tells 'less' to pass escape
characters through to the terminal rather than turn them into a
highlighted "ESC".

The 32-bit man sources have a source patch that contains the
following, so I guess that hasn't been applied in the 64-bit version.

-DEFAULTLESSOPT="-is"
+DEFAULTLESSOPT="-isrR"

Andy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]