Bug 142673

Summary: Improved man2html page translation.
Product: [Fedora] Fedora Reporter: DaveG <daveg>
Component: manAssignee: Ivana Varekova <varekova>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-23 06:54:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Simple improvements for man2html. none

Description DaveG 2004-12-12 12:05:02 UTC
Description of problem:

The man2html component in the man package has a few wrinkles that can 
easily be fixed:
a. table handling
b. hyperlinks to header files
c. hyperlink recognition for Perl modules

Version-Release number of selected component (if applicable):

Present in all versions of man since RHL72.

How reproducible:

Steps to Reproduce:
1. Set up man2html CGI scripts as per man2html documentation.
2. Use a web browser to access standard manual pages for fetchmail
(1), syslog(2) and spamassassin(1). These are the pages that prompted 
this report.
3. Look at the results.
  
Actual results:

fetchmail: "Keyword/Option Summary" - entries illegible.
syslog: "#include <sys/klog.h>" - 
href="file:///usr/include/sys/klog.h"
spamassassin: "SEE ALSO", "Mail::SpamAssassin::Conf(3)" 
href="http://www.localnet/cgi-bin/man/man2html?3+Conf"

Expected results:

fetchmail: table layout legible.
syslog: href for include files should be http://<server>/include/...
spamassassin: should include ":" as valid man page character.

Additional info:

Changes can be accomplished with just 10 lines of code - see attached 
patch.

Comment 1 DaveG 2004-12-12 12:08:50 UTC
Created attachment 108401 [details]
Simple improvements for man2html.

Comment 2 Ivana Varekova 2005-03-22 08:05:14 UTC
Thank you for notice and your patch. I used your patch to fix these problems (I
used only first and third changes. I think the original format of address in the
second item is correct.)
The fixed version is 1.5p-3.
Ivana Varekova