On Wed, Oct 05, 2011 at 04:17:16PM +0000, Christian Weisgerber wrote:
> Anton Shterenlikht <me...@bristol.ac.uk> wrote:
> 
> > BUZI> groff -ms -Tascii try.1 | more
> > 
> >                          ESC[1mSome titleESC[0m
> > 
> > How can I get a plain text rendering
> > from a troff document with ms macros?
> 
> With nroff, use the -c flag:
> 
>   nroff -ms -c -Tascii
> 
> The groff frontend has a more convoluted syntax for it:
> 
>   groff -ms -P -c -Tascii

setting the environment variable GROFF_NO_SGR is simpler and doesn't
appear to cause problems - "man grotty" is the place to look.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpGFUcDNoxCJ.pgp
Description: PGP signature

Reply via email to