login
Header Space

 
 

Man pages

July 5, 2007 - 2:54am
Submitted by Jeremy on July 5, 2007 - 2:54am.
KernelTrap

I've added 3199 new pages to KernelTrap tonight, importing the Linux kernel man pages. I wrote a custom module that converts nroff format man pages into HTML on the fly, and another that imports the actual man pages from a tarball found on kernel.org. I've not yet finished an interface for browsing the man pages, but the pages will turn up in site-searches.

When viewing man pages, links are automatically generated to any other man pages referenced by the one you're viewing. For example, you can start on strcpy(3), and on that page you'll find links to bcopy(3), memccpy(3), and wcscpy(3). In the relatively near future I'll add some handy new features, allowing easy browsing by section, as well as viewing the differences between different versions of any given man page. My scripts make it trivial to keep the man pages up to date with the latest official version. In the future I hope to import additional man pages for other operating systems, too.

The standard KernelTrap search engine will search the new man pages as well as other content. To search only man pages, either visit the search page and select "Advanced search", or in any search textfield enter "type:man" before any of your search terms. For example, to search for man pages about "icmp" enter "type:man icmp"

For now, I'm most interested in improving my troff to HTML filter, reviewing the resulting man pages and fixing those that are not being converted properly. Hopefully the addition of these new man pages will prove to be a useful resource on KernelTrap.

speck-geostationary