Ever since I have upgraded to 9-stable, I have noticed that the manpages seem to be munged up with displayed instead of processed ESCape codes.

an example:

1:41:05pm  argus(8): man man
MAN(1) FreeBSD General Commands Manual MAN(1)

ESC[1mNAMEESC[0m
    ESC[1mman ESC[22m-- display online manual documentation pages

ESC[1mSYNOPSISESC[0m
ESC[1mman ESC[22m[ESC[1m-adhoESC[22m] [ESC[1m-t ESC[22m| ESC[1m-wESC[22m] [ESC[1m-M ESC[4mESC[22mmanpathESC[24m] [ESC[1m-P ESC[4mESC[22mpagerESC[24m] [ESC[1m-S ESC[4mESC[22mmansectESC[24m] [ESC[1m-m ESC[4mESC[22marchESC[24m[:ESC[4mmachineESC[24m]] [ESC[1m-p ESC[22m[ESC[4meprtvESC[24m]] [ESC[4mmansectESC[24m] ESC[4mpageESC[24m ESC[4m...ESC[0m
    ESC[1mman -f ESC[4mESC[22mkeywordESC[24m ESC[4m...ESC[0m
    ESC[1mman -k ESC[4mESC[22mkeywordESC[24m ESC[4m...ESC[0m

ESC[1mDESCRIPTIONESC[0m
The ESC[1mman ESC[22mutility finds and displays online manual documentation pages. If ESC[4mmansectESC[24m is provided, ESC[1mman ESC[22mrestricts the search to the specific section of
    the manual.

I have actually ruled out nroff -man, and have determined that this has to do with /usr/bin/more and /usr/bin/less.

example:

1:44:45pm  argus(9): man man | cat
MAN(1) FreeBSD General Commands Manual MAN(1)

NAME
    man -- display online manual documentation pages

SYNOPSIS
    man [-adho] [-t | -w] [-M manpath] [-P pager] [-S mansect]
        [-m arch[:machine]] [-p [eprtv]] [mansect] page ...
    man -f keyword ...
    man -k keyword ...

DESCRIPTION
The man utility finds and displays online manual documentation pages. If mansect is provided, man restricts the search to the specific section of
    the manual.

So far as I can tell, it is in both more and less. if it relies on termcap, then the issue is bigger, because it does the same thing in syscons as it does an xterm.

My bottom line question is what changed, and how do I change my end to make things work as expected again? Honestly, this is a real pain in the ass when I need a manual page.

jim

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to