Bug 12921 - [PATCH] palm/xcopilot contains odd markup in man page
Summary: [PATCH] palm/xcopilot contains odd markup in man page
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-08-02 11:40 UTC by Nik Clayton
Modified: 1999-10-02 20:05 UTC (History)
0 users

See Also:


Attachments
file.diff (3.49 KB, patch)
1999-08-02 11:40 UTC, Nik Clayton
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nik Clayton 1999-08-02 11:40:00 UTC
	It looks as though the xcopilot man page (xcopilot.1) is generated
	from source marked up in LinuxDoc, and then shipped with the
	distribution.

	The conversion from LinuxDoc isn't great, and the manpage that's
	installed by default looks like this;

	[...]
SYNOPSIS
       xcopilot  [lsqb   ]-uU[rsqb   ]   [lsqb    ]-debug   [lsqb
       ]args[rsqb   ][rsqb   ]  [lsqb  ]-gdebug [lsqb  ]args[rsqb
       ][rsqb   ]  [lsqb   ]-bg  color[rsqb    ]   [lsqb    ]-bbg
       color[rsqb  ] [lsqb  ]-noxshm[rsqb  ] [lsqb  ]-serial pty-
       name[rsqb  ] [lsqb  ]-ramsize size[rsqb  ]  [lsqb   ]-mag-
       factor   factor[rsqb   ]  [lsqb   ]-double[rsqb   ]  [lsqb
       ]-private[rsqb   ]  [lsqb   ]-memversion  version[rsqb   ]
       [lsqb  ]-reset[rsqb  ]
        [...]

	Notice all the [lsqb   ] and [rsqb   ].  These are markup for
	'left square bracket' and 'right square bracket' respectively.

	I'm not entirely sure whether or not man(1) is supposed to 
	understand these or not.  It doesn't on my system.

	Attached is a patch that replaces these codes with the literal
	characters.  I've fixed;

	   [lsqb   ]  ->  [
	   [rsqb   ]  ->  ]
	   [tilde  ]  ->  ~
	   [lt     ]  ->  <
	   [rt     ]  ->  >

        This patch can be dropped in as patch-ab.  If the maintainer 
	could check this out and commit it I'd be grateful (or confirm
	that it works, and I'll commit it on their behalf if
	necessary).

Fix: Drop this in as ports/palm/xcopilot/patches/patch-ab.
	
How-To-Repeat: 
        "man xcopilot"
Comment 1 cpiazza freebsd_committer freebsd_triage 1999-10-02 20:04:54 UTC
State Changed
From-To: open->closed

Committed, thanks!