The cause of the unwanted escape sequences in the text output is that
linuxdoc uses groff for text output.  groff uses grotty as a post
processor and grotty by default puts the escape seqences there per the
man page for grotty.  A fix is to pass the -c option to grotty to
disable this.  But how to do this when groff is called?  I can't find
out how to do this from the man page or the info page for groff.  If I
substitute nroff -c for groff, the problem is fixed but using nroff
may break something else.  nroff uses the option -T... while groff uses
-T ... (the difference is a space after -T).  So I had to change this
too when I substituted nroff.  There are likely some other
differences.  One could also try using troff in a pipeline with grotty
to enable the appropriate options to be given to grotty.

I really don't know Perl so I was lucky to discover possible solutions.

                        David Lawyer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to