From owner-freebsd-bugs Wed Aug 13 00:30:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA01718 for bugs-outgoing; Wed, 13 Aug 1997 00:30:07 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA01711; Wed, 13 Aug 1997 00:30:02 -0700 (PDT) Resent-Date: Wed, 13 Aug 1997 00:30:02 -0700 (PDT) Resent-Message-Id: <199708130730.AAA01711@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, tolik@www.tomsk.su, tolik@mpeks.tomsk.su Received: from www.tomsk.su (www.tomsk.su [193.124.185.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA01320 for ; Wed, 13 Aug 1997 00:22:02 -0700 (PDT) Received: (from tolik@localhost) by www.tomsk.su (8.8.5/8.8.5) id PAA22172; Wed, 13 Aug 1997 15:21:40 +0800 (TSD) Message-Id: <199708130721.PAA22172@www.tomsk.su> Date: Wed, 13 Aug 1997 15:21:40 +0800 (TSD) From: "Anatoly A. Orehovsky" Reply-To: tolik@www.tomsk.su, tolik@mpeks.tomsk.su To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: gnu/4290: man wrong viewed koi8-r manpages and neqn wrong defined default device Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4290 >Category: gnu >Synopsis: man wrong viewed koi8-r manpages and neqn wrong defined default device >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 13 00:30:01 PDT 1997 >Last-Modified: >Originator: Anatoly A. Orehovsky >Organization: CISA Ltd. >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: I have any software with koi8-r manpages. nroff -man | more -e viewed this correct but man is not. >Description: man wrong defined default device for groff as ascii and wrong viewed koi8-r or latin1 manpages in $LANG KOI8-R or ISO_8859-1 environment. neqn wrong defined default device as ascii. >How-To-Repeat: man >Fix: Patches: cd /usr/src/contrib/groff/eqn *** neqn.sh.orig Wed Aug 13 14:39:49 1997 --- neqn.sh Wed Aug 13 14:49:08 1997 *************** *** 2,5 **** # Provision of this shell script should not be taken to imply that use of # GNU eqn with groff -Tascii|-Tlatin1 is supported. ! exec @g@eqn -Tascii ${1+"$@"} --- 2,20 ---- # Provision of this shell script should not be taken to imply that use of # GNU eqn with groff -Tascii|-Tlatin1 is supported. ! # Default device. ! if test `expr "$LC_CTYPE" : ".*\.ISO_8859-1"` -gt 0 || \ ! test `expr "$LANG" : ".*\.ISO_8859-1"` -gt 0 ! then ! T=-Tlatin1 ! else ! if test `expr "$LC_CTYPE" : ".*\.KOI8-R"` -gt 0 || \ ! test `expr "$LANG" : ".*\.KOI8-R"` -gt 0 ! then ! T=-Tkoi8-r ! else ! T=-Tascii ! fi ! fi ! ! exec @g@eqn -T${T} ${1+"$@"} cd /usr/src/gnu/usr.bin/man *** Makefile.inc.orig Wed Aug 13 13:51:47 1997 --- Makefile.inc Wed Aug 13 14:52:21 1997 *************** *** 8,17 **** pager= more -s manpath_config_file= /etc/manpath.config troff= /usr/bin/groff -man ! nroff= /usr/bin/groff -Wall -mtty-char -Tascii -man apropos= /usr/bin/apropos whatis= /usr/bin/whatis ! neqn= /usr/bin/eqn -Tascii tbl= /usr/bin/tbl col= /usr/bin/col vgrind= /usr/bin/vgrind --- 8,17 ---- pager= more -s manpath_config_file= /etc/manpath.config troff= /usr/bin/groff -man ! nroff= /usr/bin/nroff -man apropos= /usr/bin/apropos whatis= /usr/bin/whatis ! neqn= /usr/bin/neqn tbl= /usr/bin/tbl col= /usr/bin/col vgrind= /usr/bin/vgrind >Audit-Trail: >Unformatted: