From owner-freebsd-bugs Thu Aug 13 19:40:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA05329 for freebsd-bugs-outgoing; Thu, 13 Aug 1998 19:40:06 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05314 for ; Thu, 13 Aug 1998 19:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA14439; Thu, 13 Aug 1998 19:40:01 -0700 (PDT) Received: from birdland.rhein-neckar.de (birdland.rhein-neckar.de [193.197.88.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA04366 for ; Thu, 13 Aug 1998 19:31:57 -0700 (PDT) (envelope-from naddy@bigeye.rhein-neckar.de) Received: from mips.rhein-neckar.de (uucp@localhost) by birdland.rhein-neckar.de (8.8.7/8.8.3) with bsmtp id EAA03346 for FreeBSD-gnats-submit@freebsd.org; Fri, 14 Aug 1998 04:31:29 +0200 (MET DST) Received: from bigeye.rhein-neckar.de ([193.197.88.35]) by mips.rhein-neckar.de with esmtp id m0z77yA-000WyTC (Debian Smail-3.2.0.101 1997-Dec-17 #2); Fri, 14 Aug 1998 02:43:50 +0200 (CEST) Received: (from naddy@localhost) by bigeye.rhein-neckar.de (8.8.8/8.8.8) id CAA00339; Fri, 14 Aug 1998 02:44:25 +0200 (CEST) (envelope-from naddy) Message-Id: <199808140044.CAA00339@bigeye.rhein-neckar.de> Date: Fri, 14 Aug 1998 02:44:25 +0200 (CEST) From: Christian Weisgerber Reply-To: naddy@mips.rhein-neckar.de To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7610: pcvt displays wrong glyph for 0xFD in ISO Latin 1 mode Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7610 >Category: kern >Synopsis: pcvt displays wrong glyph for 0xFD in ISO Latin 1 mode >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 13 19:40:00 PDT 1998 >Last-Modified: >Originator: Christian Weisgerber >Organization: >Release: FreeBSD 2.2.7-STABLE i386 >Environment: pcvt console driver, VGA console, /usr/share/misc/pcvtfonts/* loaded. >Description: When a graphic character set is switched to ISO Latin 1, pcvt renders a wrong glyph for the character at code position 0xFD (lower case y with acute). This buglet is obviously due to a typo in the source code, see fix below. >How-To-Repeat: Assuming defaults: # loadfont -c0 -f/usr/share/misc/pcvtfonts/vt220l.816 # loadfont -c1 -f/usr/share/misc/pcvtfonts/vt220h.816 $ printf '\e.A' # switch G2 (-> GR) charset to ISO Latin 1 $ for i in `jot - 160 255 16`; do jot -s '' -b %c 16 $i; done The third last character should be a small y with an acute accent. The corresponding capital letter two rows above (0xDD) is correct. >Fix: --- /sys/i386/isa/pcvt/pcvt_tbl.h.orig Fri Aug 14 02:13:27 1998 +++ /sys/i386/isa/pcvt/pcvt_tbl.h Fri Aug 14 02:13:32 1998 @@ -433,7 +433,7 @@ /* 70 */ 0x6B | CSH, 0xA4 | CSL, 0x95 | CSL, 0xA2 | CSL, /* 74 */ 0x93 | CSL, 0x81 | CSH, 0x94 | CSL, 0xF6 | CSL, /* 78 */ 0x7F | CSH, 0x97 | CSL, 0xA3 | CSL, 0x96 | CSL, -/* 7C */ 0x81 | CSL, 0x69 | CSL, 0x6A | CSH, 0x98 | CSL +/* 7C */ 0x81 | CSL, 0x69 | CSH, 0x6A | CSH, 0x98 | CSL }; /*---------------------------------------------------------------------------* >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message