[Top][All Lists]

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

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

From: Alex Schroeder
Subject: Re: address@hidden: groff version 1.18.1 and emacs]
Date: Sat, 07 Dec 2002 17:35:51 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.92 (i686-pc-linux-gnu)

Werner LEMBERG <address@hidden> writes:

>> > > Should the `man' program pass `-c' to nroff?
>> > 
>> > I don't think so.  Making Emacs understand SGR is much better.
>> I agree, but I also think that if TERM refers to a terminal that
>> does not understand SGR, then man or groff should notice it
>> and make sure that SGR codes are not generated.
> groff is as dumb as TeX.  It knows nothing about TERM.  I won't change
> that.

Well, it still looks like a bug in groff or man that ought to be fixed
upstream.  As for teaching Emacs about SGR -- we can use ansi-color.el
to do the right thing.  At least it works in shell mode...  :)


reply via email to

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