On Tue, May 15, 2007, David M. Fetter wrote:

> All of the man pages throughout all of our openpkg rpms all are filled
> with ESC characters, so it looks like the following excerpt:
>
> --- BEGIN CUT ---
> BUILD(1)                            OpenPKG
> BUILD(1)
>
>
>
> ESC[1mNAMEESC[0m
>        ESC[1mopenpkg build ESC[22m??? ESC[1mOpenPKG ESC[22mMaintenance
> Tool
>
> ESC[1mSYNOPSISESC[0m
>        ESC[1mopenpkg build ESC[22m[ESC[1m???R ESC[4mESC[22mrpmESC[24m]
> [ESC[1m???r
> ESC[4mESC[22mrepositoryESC[24m] [ESC[1m???f ESC[4mESC[22mindex.rdfESC[24m]
> [ESC[1m???uESC[22m] [ESC[1m???UESC[22m] [ESC[1m???zESC[22m]
>        [ESC[1m???ZESC[22m] [ESC[1m???iESC[22m] [ESC[1m???qESC[22m] [ESC[1m
> ???sESC[22m] [ESC[1m???SESC[22m] [ESC[1m???MESC[22m] [ESC[1m???LESC[22m] 
> [ESC[1m
> ???WESC[22m] [ESC[1m???XESC[22m] [ESC[1m???KESC[22m] [ESC[1m???eESC[22m] 
> [ESC[1m
> ???bESC[22m] [ESC[1m???BESC[22m] [ESC[1m???GESC[22m]
>        [ESC[1m???P ESC[4mESC[22mpriv???cmdESC[24m] [ESC[1m???N
> ESC[4mESC[22mnon???priv???cmdESC[24m] [ESC[1m???p
> ESC[4mESC[22mplatformESC[24m] [ESC[1m???D
> ESC[4mESC[22mvarESC[24m=ESC[4mvalESC[24m ...]  [ESC[1m???EESC[0m
>        ESC[4mnameESC[24m ...]  [ESC[1m???H ESC[4mESC[22mnameESC[24m ...]
> ([ESC[1m???aESC[22m] [ESC[1m???AESC[22m] ??? ESC[4mpatternESC[24m ...)
>
> ESC[1mDESCRIPTIONESC[0m
>        The ESC[1mopenpkg build ESC[22mtool provides automated recursive
> from???scr
> --- END CUT ---
>
> Can anyone help me fix this issue?  This makes reading man pages a bit
> difficult.

This is just the usual amount of escape fun pod2man+groff produce.
Usually you should not see this except if your PAGER doesn't support
this. Try for instance...

$ export PAGER="less -E -r"

...and the problem should be gone as "openpkg man" uses the standard
$PAGER variable.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to