On Wed, 8 Jan 2003, Derek Martin wrote:

> On systems using groff >= 1.18, xman is broken.  Newer versions of
> groff now use "SGR escape sequences" by default, rather than ^H
> sequences, for underlining and enboldening text.  In order to get the
> old behavior (compatible with xman), you must call groff with the -c
> option.

> See http://groff.ffii.org/ for details.

> For such systems, the following patch should suffice to fix the
> problem.  Ideally, this should probably get some sort of configurable
> define, but I don't want to guess how the X team would want to go
> about dealing with this...

> # diff -u oldvendor.h vendor.h
> - --- oldvendor.h 2003-01-08 13:30:08.000000000 -0500
> +++ vendor.h    2003-01-08 13:33:02.000000000 -0500
> @@ -173,7 +173,7 @@
>  # elif defined(BSD) && (BSD >= 199103)
>  #  define FORMAT "| eqn | tbl | nroff -man"
>  # elif defined(linux)
> - -#  define FORMAT "| geqn | gtbl | groff -Tlatin1 -mandoc"
> +#  define FORMAT "| geqn | gtbl | groff -c -Tlatin1 -mandoc"
>  # else
>  #  define FORMAT "| neqn | nroff -man"      /* The format command. */
>  # endif

Please spend the time to come up with a patch that also works for older
groff's and submit the result to [EMAIL PROTECTED]

Thanks.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 Core Team member.  ATI driver and X server internals.

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to