Re: groff -ms -Tascii (nroff?) strange output

From: Thomas Dickey <dickey_at_radix.net>
Date: Wed, 5 Oct 2011 16:35:46 -0400
On Wed, Oct 05, 2011 at 04:17:16PM +0000, Christian Weisgerber wrote:
> Anton Shterenlikht <mexas_at_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

Received on Wed Oct 05 2011 - 18:57:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC