tags 340673 fixed-upstream
thanks

On Fri, Nov 25, 2005 at 02:02:20AM +0100, Robert Luberda wrote:
> On sarge system (with man-db 2.4.2-21)
>       man -P less man
> command is equivalent to 
>       man -P cat man | less 
> i.e. the generated pages look exactly the same.  That is no longer true 
> for man-db 2.4.3-3.
> 
> The sid version of the man command strips control characters with `col'
>  when stdout is not connected to the terminal. This uglifies output of 
> `pinfo -m' and dwww, beacuse they no longer use bold and italic font 
> to emphasize some part of manual pages text.
> 
> Could you please either revert to the old behaviour or add some commandline 
> option which would prevent filtering with 'col' on nontermianls?

I think the new behaviour makes better sense for the common case, but I
have no problem with an option. I made it be an environment variable so
that you can set it (MAN_KEEP_FORMATTING=1) without compatibility
concerns.

Sun Aug 26 19:40:12 BST 2007  Colin Watson  <[EMAIL PROTECTED]>

        * src/man.c (make_roff_command): If MAN_KEEP_FORMATTING is set in
          the environment, don't strip formatting characters with col
          (Debian bug #340673).
        * man/man1/man.man1 (ENVIRONMENT): Document MAN_KEEP_FORMATTING.
        * docs/NEWS: Document this.

This will be in man-db 2.4.5 or 2.5.0, whatever I decide to call it.

Sorry for the delay,

-- 
Colin Watson                                       [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to