I have a simple question on Unix/Linux man page: what editor is it used? I would also like to know how to do interactive search after open a man page. For example, to find the lines containging word "find" in man page of find.
Mostly the manpages are viewed with less, but not edited.
The manpages are created with an editor but in a different language and then compiled into the manpage format.
I'm sorry for not remembering more details.
As I recall, man pages are actually troff formatted text. Some people write the troff by hand, others write the pages in another format (e.g. XML) and then convert to troff and other formats. If you want an actual man page editor, there is a program called ManEdit that provides a GTK+-based GUI for writing man pages. I've never really done much with it, but it's the only such program I know of.
And just FYI, if you don't like viewing man pages from the command prompt, KDE offers a man:/ KIOslave that lets you view man pages as web pages in Konqueror. You can try it out by entering man:/programname in the Konqueror address bar.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.