* "Wu, Yue" <vano...@gmail.com> [2009-09-25 07:49 +0800]:
[ ... ]
> Also, I don't know how to view the file as a plain text, when I
> try to view it by vim, the garbage charactors full-filled with
> my screen.
> 
> `less` is ok. Maybe the file contains many control sequences
> that vim can't recorgnize but `less` can? If so, then I think
> it should be renamed to manual.less or other thing to make it
> clear.

There's an explanation to be found in less' man page and Mutt's
manual.

<http://www.mutt.org/doc/manual/manual-2.html#ss2.3>

"Also, the internal pager supports a couple other advanced
features. For one, it will accept and translate the ``standard''
nroff sequences for bold and underline. These sequences are a
series of either the letter, backspace (^H), the letter again for
bold or the letter, backspace, ``_'' for denoting underline. ..."

You can convert those sequences to regular text using col with
its '-b' option.  Due to some versions of col's inability to
handle UTF-8, the '-p' option may be necessary as well.

Reply via email to