From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 16 07:50:21 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 423C616A4E0 for ; Mon, 16 Feb 2004 07:50:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26E0F43D1F for ; Mon, 16 Feb 2004 07:50:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1GFoLbv004058 for ; Mon, 16 Feb 2004 07:50:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1GFoLnf004057; Mon, 16 Feb 2004 07:50:21 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 16 Feb 2004 07:50:21 -0800 (PST) Resent-Message-Id: <200402161550.i1GFoLnf004057@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Wilhelm B. Kloke" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F6D516A4CE for ; 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 ; 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]) i1GFj72e079417 for ; Mon, 16 Feb 2004 16:45:07 +0100 (CET) (envelope-from wb@yorikke.arb-phys.uni-dortmund.de) Received: (from wb@localhost)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" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/62916: man pages not displayed correctly on UTF-8 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Wilhelm B. Kloke" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 15:50:21 -0000 >Number: 62916 >Category: misc >Synopsis: man pages not displayed correctly on UTF-8 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 16 07:50:20 PST 2004 >Closed-Date: >Last-Modified: >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) NNAAMMEE mmaann -- format and display the on-line manual pages SSYYNNOOPPSSIISS mmaann [--aaddffhhkkoottww] [--mm _m_a_c_h_i_n_e] [--pp _s_t_r_i_n_g] [--MM _p_a_t_h] [--PP _p_a_g_e_r] [--SS _l_i_s_t] [_s_e_c_t_i_o_n] _n_a_m_e _._._. DDEESSCCRRIIPPTTIIOONN MMaann formats and displays the on-line manual pages. This version knows >Release-Note: >Audit-Trail: >Unformatted: