groff -ms -Tascii (nroff?) strange output

Anton Shterenlikht mexas at bristol.ac.uk
Wed Oct 5 20:01:34 UTC 2011


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

Thanks

The reason for writing to current@ is
that I've one box still on r216048,
where "-c" flag is not required.
Has there been a recent change to groff,
affecting this behaviour?

Thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-current mailing list