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

看板FB_current作者時間14年前 (2011/10/06 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/5 (看更多)
--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--
文章代碼(AID): #1EZCMEGZ (FB_current)
文章代碼(AID): #1EZCMEGZ (FB_current)