Re: groff -ms -Tascii (nroff?) strange output
--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--
討論串 (同標題文章)
完整討論串 (本文為第 5 之 5 篇):