DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default newbie Q .. all man pages in html form

Hi everybody !

Sorry again for such a newbie question but I'm clueless about how to have all OpenBSD man pages in html form.

Thanks for help !
Reply With Quote
  #2   (View Single Post)  
Old 17th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default

man2web ?
Reply With Quote
  #3   (View Single Post)  
Old 17th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

man mandoc

/html
Reply With Quote
  #4   (View Single Post)  
Old 17th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default

Thank you @jggimi !
I still don't know how to convert man folders as a whole to html ..
Reply With Quote
  #5   (View Single Post)  
Old 17th July 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by daemonfowl View Post
I still don't know how to convert man folders as a whole to html ..
  1. Create a shell script which iteratively prints the names of all target files.
  2. Substitute the appropriate call to mandoc(1) for the print statement.
Reply With Quote
  #6   (View Single Post)  
Old 18th July 2012
backrow backrow is offline
Real Name: Anthony J. Bentley
Shell Scout
 
Join Date: Jul 2009
Location: Albuquerque, NM
Posts: 136
Default

And if you want it on a webserver with search and the same aliases (e.g., looking up vfprintf(3) leads you to printf(3)), look into man.cgi… either the typical one or Kristaps’ new version.
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing passwords in uncrackable form J65nko News 1 23rd June 2011 07:21 PM
sigint form within a c prog techmarks Programming 2 22nd October 2008 06:42 AM
how to copy every mail as html in different directory? bgobs FreeBSD General 1 4th August 2008 11:31 AM


All times are GMT. The time now is 01:16 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick