emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: groff version 1.18.1 and emacs]


From: Werner LEMBERG
Subject: Re: address@hidden: groff version 1.18.1 and emacs]
Date: Fri, 06 Dec 2002 23:26:27 +0100 (CET)

>     The easiest way currently is to use `setenv' and set the
>     environment variable GROFF_NO_SGR to 1 (within Emacs) in case
>     the man program hasn't been configured already to not use SGR.
> 
> Can you write the code to do this?

It should be straightforward to add

  (setenv "GROFF_NO_SGR" "1")

somewhere in man.el.  I don't know the right location...

> Is the problem really that the man programs are misconfigured?

Yes and no :-) I decided to make SGR the default output format of
groff's TTY output device starting with groff version 1.18 about six
months ago.  Not all tools understand SGR yet, so it will take some
time until everything has been updated.  Setting this environment
variable will always work regardless of the used version of man or
groff, so I think this is the easiest workaround within Emacs.


    Werner




reply via email to

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