Bug 247012

Summary: misformatted nmap man page
Product: [Unmaintained] kio Reporter: Martin Koller <kollix>
Component: manAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Koller 2010-08-07 22:48:13 UTC
Version:           0.1 (using KDE 4.4.95) 
OS:                Linux

The man page of the "nmap" tool is shown somehow misformatted.
E.g. the first few lines contain the following:

NMAP
 Section: Nmap Reference Guide (1) 

 \ 
 ." make the size of the head bigger  ! 

 \ 
 \  ." make the size of the head bigger  \

This is from nmap-5.00-7.2.i586 on openSuse 11.3

Reproducible: Always




OS: Linux (i686) release 2.6.34-12-desktop
Compiler: gcc

openSuse 11.3, KDE 4.5 RC3
Comment 1 Martin Koller 2010-10-05 10:24:50 UTC
I see the same problem with KDE 4.5.1 and the smb.conf man page
Comment 2 Martin Koller 2011-01-07 19:14:11 UTC
SVN commit 1212624 by mkoller:

CCBUG: 238534
CCBUG: 105765
BUG: 106067
BUG: 195241
BUG: 247012

Fix a lot of HTML-generation bugs by implementing some additional macros,
escape sequences, etc, etc.
Also start to make the code more readable and introduce more Qt/C++
while eliminating old C code, which is horrible to maintain.
The request keywords are now looked up by a gperf hash function.
The generated gperf file is committed, so that noone has to rely on the
existence of gperf on the build machine.

If I broke the rendering of some man pages, please inform me.


 M  +1 -1      CMakeLists.txt  
 M  +586 -614  man2html.cpp  
 A             request_gperf.c   [License: GENERATED FILE]
 A             request_hash.cpp   [License: UNKNOWN]
 A             request_hash.h   [License: UNKNOWN]
 A             requests.gperf  
 M  +4 -1      tests/CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1212624
Comment 3 Martin Koller 2011-01-07 22:05:39 UTC
SVN commit 1212666 by mkoller:

Backport from trunk:

CCBUG: 238534
CCBUG: 105765
CCBUG: 106067
CCBUG: 195241
CCBUG: 247012

Fix a lot of HTML-generation bugs by implementing some additional macros,
escape sequences, etc, etc.
Also start to make the code more readable and introduce more Qt/C++
while eliminating old C code, which is horrible to maintain.
The request keywords are now looked up by a gperf hash function.
The generated gperf file is committed, so that noone has to rely on the
existence of gperf on the build machine.

If I broke the rendering of some man pages, please inform me.



 M  +1 -1      CMakeLists.txt  
 M  +586 -614  man2html.cpp  
 A             request_gperf.c   [License: GENERATED FILE]
 A             request_hash.cpp   [License: LGPL (v2+)]
 A             request_hash.h   [License: LGPL (v2+)]
 A             requests.gperf  
 M  +4 -1      tests/CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1212666