groff -ms -Tascii (nroff?) strange output
I'm having problems similar to this thread:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=91536+0+archive/2011/freebsd-current/20110821.freebsd-current
The solution suggested was to use man ./<local man page>
However, my document is not a man page,
and I use ms macros.
Test document:
BUZI> cat try.1
..TL
Some title
..AU
Some clever author
..AI
Some fancy institution
..NH 1
Introduction
BUZI> groff -ms -Tascii try.1 | more
ESC[1mSome titleESC[0m
ESC[4mSomeESC[24m ESC[4mcleverESC[24m ESC[4mauthorESC[0m
Some fancy institution
ESC[1m1. IntroductionESC[0m
BUZI> groff -ms -Tascii try.1 | col -b | more
1mSome title0m
4mSome24m 4mclever24m 4mauthor0m
Some fancy institution
1m1. Introduction0m
How can I get a plain text rendering
from a troff document with ms macros?
Many 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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 1 之 5 篇):