Author: XahXah Date: Jul 19, 2008 13:39
Alan Mackenzie wrote:
> The M-x man command does 2 things:
> (i) It finds the pertinent file using complicated, difficult, and
> obscure algorithms;
> (ii) It converts the markup stuff in the file to a readable form and
> displays it.
>
> I have an Nroff file, mount.8, loaded into Emacs. How do I do part
> (ii) of the above, and get it nicely displayed?
possibly others have elisp answers on the spot. But here's what i
know:
you can use WoMan to read man pages in emacs. The manual-entry command
calls shell tool to do its job. WoMan is written entirely in elisp.
So, this means you could lookup WoMan's source code to see what it
does if you need it.
Alternative solution is to call shell command to process it first then
display the result plain text file in emacs. Here's some tips i wrote
some 10 years ago:
• How to get a text output of a man page?
|