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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, Oct 05, 2011 at 04:17:16PM +0000, Christian Weisgerber wrote: > Anton Shterenlikht <mexas@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 #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111005203545.GA2707>
