Bug 883

Summary: mdoc2man.awk causes flaw in ssh(1) man page
Product: Portable OpenSSH Reporter: Helmut Kreft <kreft>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal Keywords: patch
Priority: P3    
Version: 3.8.1p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 822    
Attachments:
Description Flags
Correctly recognise .Pa none

Description Helmut Kreft 2004-06-24 00:31:19 AEST
mdoc2man.awk does not translate line 642 in ssh.1 properly during build:

ssh.1:
 640: .It NumberOfPasswordPrompts
 641: .It PasswordAuthentication
 642: .It Port

ssh.1.out:
 642: .TP
 643: NumberOfPasswordPrompts
 644: .TP
 645: .B
 646: .TP
 647: Port

Apart from leaving out "PasswordAuthentication" this construct isn't appreciated
by Solaris8 nroff. Suns implementation skips several paragraphs after this point
if one tries to view the manpage. groff seems to be more resilent.
Comment 1 Darren Tucker 2004-06-25 23:56:10 AEST
Created attachment 665 [details]
Correctly recognise .Pa 

This patch seems to fix it (works for me).
Comment 2 Darren Tucker 2004-06-28 15:47:33 AEST
I diff'ed the *.out files from before patch #665 and after, the only changes
were the problematic PasswordAuthentication entries, so I have commited the change.

Thanks for the report.