Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2011 16:35:46 -0400
From:      Thomas Dickey <dickey@radix.net>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: groff -ms -Tascii (nroff?) strange output
Message-ID:  <20111005203545.GA2707@saltmine.radix.net>
In-Reply-To: <j6hvuc$1cti$1@lorvorc.mips.inka.de>
References:  <20111004205648.GA19519@mech-cluster241.men.bris.ac.uk> <j6hvuc$1cti$1@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

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

--qDbXVdCdHGoSgWSk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQFOjL+gtIqByHxlDocRAh0qAJ4oqdYsSEllHpHsLuq/Lv89vAbyCwCgpRBx
9QkRsEp9629+imAIObBIODM=
=y0Yb
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111005203545.GA2707>