Bug 39068

Summary: Hypertext man pages use strange hyphen at line-breaks
Product: Documentation Reporter: Chris Pepper <pepper>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Chris Pepper 2002-06-09 19:20:01 UTC
The hyphen used at end of line appears to be a decimal character 173, which doesn't display properly in Mozilla 1.0.0 or IE 5.1.4 under Mac OS X 10.1.5. Methinks it should be an entity if it's not below 128, and 173 is probably the wrong character anyway.

Fix: 

Change the hypertext manpage generator to use regular dashes?
How-To-Repeat: View <http://www.freebsd.org/cgi/man.cgi?query=pkg_add&sektion=1> or
<http://www.freebsd.org/cgi/man.cgi?query=pkg_delete&sektion=1> in a Mac OS X browser.
Comment 1 Giorgos Keramidas freebsd_committer freebsd_triage 2003-03-16 01:13:05 UTC
On 2002-06-09 11:11, Chris Pepper <pepper@rockefeller.edu> wrote:
> The hyphen used at end of line appears to be a decimal character
> 173, which doesn't display properly in Mozilla 1.0.0 or IE 5.1.4
> under Mac OS X 10.1.5. Methinks it should be an entity if it's not
> below 128, and 173 is probably the wrong character anyway.

Hi Chris,

Does this still cause problems for you?  I can't seem to be able to
locate any char(173) parts in the manpages.

I tried to reproduce it with:

$ fetch -o - 'http://www.freebsd.org/cgi/man.cgi?query=pkg_add&sektion=1' | hd | grep -i ' ad '
$ fetch -o - 'http://www.freebsd.org/cgi/man.cgi?query=pkg_delete&sektion=1' | hd | grep -i ' ad '

0xAD being the hex equivalent of 173 in base-10.  Nothing shows up.

Are you sure this isn't just a combination of a bug in the browsers
that you mentioned trying to do `smart' things and a specific font
selection that applies only to your local setup?

- Giorgos
Comment 2 Chris Pepper 2003-03-16 02:55:41 UTC
At 3:13 AM +0200 2003/03/16, Giorgos Keramidas wrote:
>On 2002-06-09 11:11, Chris Pepper <pepper@rockefeller.edu> wrote:
>>  The hyphen used at end of line appears to be a decimal character
>>  173, which doesn't display properly in Mozilla 1.0.0 or IE 5.1.4
>>  under Mac OS X 10.1.5. Methinks it should be an entity if it's not
>  > below 128, and 173 is probably the wrong character anyway.

>Does this still cause problems for you?  I can't seem to be able to
>locate any char(173) parts in the manpages.

>Are you sure this isn't just a combination of a bug in the browsers
>that you mentioned trying to do `smart' things and a specific font
>selection that applies only to your local setup?

	I dunno, but I can't reproduce with Safari, Mozilla 1.2.1, or 
Netscape 7, so please close.


						Thanks,


						Chris Pepper
-- 
Chris Pepper:               <http://www.reppep.com/~pepper/>
Rockefeller University:     <http://www.rockefeller.edu/>
Comment 3 Giorgos Keramidas freebsd_committer freebsd_triage 2003-03-16 03:06:40 UTC
State Changed
From-To: open->closed

Submitter can't reproduce the bug anymore.