From wb@arb-phys.uni-dortmund.de  Mon Feb 16 07:45:02 2004
Return-Path: <wb@arb-phys.uni-dortmund.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7F6D516A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Feb 2004 07:45:02 -0800 (PST)
Received: from mail6.ifado.de (mail6.ifado.de [195.253.22.26])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AF4A543D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Feb 2004 07:45:01 -0800 (PST)
	(envelope-from wb@arb-phys.uni-dortmund.de)
Received: from mail1.arb-phys.uni-dortmund.de [192.109.44.1] by mail6.ifado.de with ESMTP
  (SMTPD32-8.00) id A576F920130; Mon, 16 Feb 2004 16:44:54 +0100
Received: from yorikke.arb-phys.uni-dortmund.de [192.109.44.12] by mail1.arb-phys.uni-dortmund.de with ESMTP
  (SMTPD32-5.05) id A2C61DC300EA; Mon, 16 Feb 2004 16:33:26 +0100
Received: from yorikke.arb-phys.uni-dortmund.de (localhost [127.0.0.1])
	by yorikke.arb-phys.uni-dortmund.de (8.12.10/8.12.10) with ESMTP id i1GFj72e079417
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Feb 2004 16:45:07 +0100 (CET)
	(envelope-from wb@yorikke.arb-phys.uni-dortmund.de)
Received: (from wb@localhost)
	by yorikke.arb-phys.uni-dortmund.de (8.12.10/8.12.10/Submit) id i1GFj6qt079416;
	Mon, 16 Feb 2004 16:45:06 +0100 (CET)
	(envelope-from wb)
Message-Id: <200402161545.i1GFj6qt079416@yorikke.arb-phys.uni-dortmund.de>
Date: Mon, 16 Feb 2004 16:45:06 +0100 (CET)
From: "Wilhelm B. Kloke" <wb@arb-phys.uni-dortmund.de>
Reply-To: "Wilhelm B. Kloke" <wb@arb-phys.uni-dortmund.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: man pages not displayed correctly on UTF-8
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         62916
>Category:       misc
>Synopsis:       man pages not displayed correctly on UTF-8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 16 07:50:20 PST 2004
>Closed-Date:    Sun Apr 25 07:08:47 PDT 2004
>Last-Modified:  Sun Apr 25 07:08:47 PDT 2004
>Originator:     Wilhelm B. Kloke
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD yorikke 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Mon Jan 19 11:50:56 CET 2004 wb@yorikke:/usr/src/sys/i386/compile/YORIKKE i386


>Description:
	Today I changed my LANG environment from de_DE.ISO8859-1 to 
	de_DE.UTF-8. Among other annoyances, due to contributed software,
	I found that the display of man pages is cluttered by "less".

	I don't suspect that this behaviour is restricted to -current.

>How-To-Repeat:

	I append the the first lines of the preprocessed manpage for man.
	LANG=de_DE.UTF-8 head test.tmp | more
	displays
     man [-adfhkotw] [-achine] [-p string] [-M path] [-P pager] [-S list]
	instead of
     man [-adfhkotw] [-m machine] [-p string] [-M path] [-P pager] [-S list]

	
>Fix:

	I have no idea, where the problems comes from. Man pages are composed
	from characters in the range 1-127.


test.tmp:
MAN(1)			FreeBSD General Commands Manual 		MAN(1)

NNAAMMEE
     mmaann -- format and display the on-line manual pages

SSYYNNOOPPSSIISS
     mmaann [--aaddffhhkkoottww] [--mm _m_a_c_h_i_n_e] [--pp _s_t_r_i_n_g] [--MM _p_a_t_h] [--PP _p_a_g_e_r] [--SS _l_i_s_t]
	 [_s_e_c_t_i_o_n] _n_a_m_e _._._.

DDEESSCCRRIIPPTTIIOONN
     MMaann formats and displays the on-line manual pages.  This version knows
>Release-Note:
>Audit-Trail:

From: "Wilhelm B. Kloke" <wb@arb-phys.uni-dortmund.de>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: misc/62916: man pages not displayed correctly on UTF-8
Date: Mon, 16 Feb 2004 20:28:08 +0100 (CET)

 In th meantime, I found the fix. Updating to the actual less version
 maes it OK.
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Sun Apr 25 07:08:31 PDT 2004 
State-Changed-Why:  
According to submitter fixed by less update. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62916 
>Unformatted:
