Bug 883 - mdoc2man.awk causes flaw in ssh(1) man page
Summary: mdoc2man.awk causes flaw in ssh(1) man page
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 3.8.1p1
Hardware: All All
: P3 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords: patch
Depends on:
Blocks: 822
  Show dependency treegraph
 
Reported: 2004-06-24 00:31 AEST by Helmut Kreft
Modified: 2004-09-11 13:18 AEST (History)
0 users

See Also:


Attachments
Correctly recognise .Pa (476 bytes, patch)
2004-06-25 23:56 AEST, Darren Tucker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.