groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] character garble


From: Werner LEMBERG
Subject: Re: [Groff] character garble
Date: Fri, 14 Oct 2005 19:12:44 +0200 (CEST)

> I get the following result when accessing the man page for groff
> (though texinfo's came out fine):
> 
> <URL:http://www.deevans.net/groff.png>

Since you are upgrading from 1.15 to 1.19.2, reading the README would
have helped:

  Grotty
  ------

  o Color support has been added, using the SGR (ISO 6429, sometimes
    called ANSI color) escape sequences.

  o SGR escape sequences are now used by default for underlining and
    bold printing also, no longer using the backspace character trick.
    To revert to the old behaviour, use the `-c' switch.

    Note that you have to use the `-R' option of `less' to make SGR
    escapes display correctly.  On the other hand, terminal programs
    and consoles like `xterm' which support SGR sequences natively can
    directly display the output of grotty.  Consequently, the options
    `-b', `-B', `-u', and `-U' work only in combination with `-c' and
    are ignored silently otherwise.

    For the `man' program, it may be necessary to add the `-R' option
    of `less' to the $PAGER environment variable; alternatively, you
    can use `man's `-P' option (or adapt its configuration file
    accordingly).  See man(1) for more details.

  o If the environment variable GROFF_NO_SGR is set, SGR output is
    disabled, reverting to the old behaviour.

  o A new special \X'tty: sgr n' has been added; if n is non-zero or
    missing, enable SGR output (the default).

  o If the new option `-i' is used (only in SGR mode), grotty sends
    escape sequences to set the italic font attribute instead of the
    underline attribute for italic fonts.  Note that many terminals
    don't have support for this (including xterm).


       Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]