From nobody@FreeBSD.org  Sun Jun 17 11:02:03 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id AB96F37B405
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 17 Jun 2001 11:02:02 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.3/8.11.3) id f5HI22R46168;
	Sun, 17 Jun 2001 11:02:02 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200106171802.f5HI22R46168@freefall.freebsd.org>
Date: Sun, 17 Jun 2001 11:02:02 -0700 (PDT)
From: Eugene Ossintsev <osgene@web.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] iso-8859-1_to_cp437.scm doesn't contain some useful mappings
X-Send-Pr-Version: www-1.0

>Number:         28236
>Category:       conf
>Synopsis:       [patch] iso-8859-1_to_cp437.scm doesn't contain some useful mappings
>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:   Sun Jun 17 11:10:03 PDT 2001
>Closed-Date:    
>Last-Modified:  Mon Dec 29 17:35:51 UTC 2008
>Originator:     Eugene Ossintsev
>Release:        4.3
>Organization:
>Environment:
FreeBSD 4.3-RELEASE i386
>Description:
/usr/share/syscons/scrnmaps/iso-8859-1_to_cp437.scm doesn't contain some useful mappings, namely, the ACS symbols (including semigraphics) and a pair of the European letters.
>How-To-Repeat:
Having rc.conf configured as
        scrnmap="iso-8859-1_to_cp437"
        # font8x16="iso-8x16"
just open any console application with the ACS frames and borders, and see the diamond symbol everywhere instead. Or start, e.g. "man <anything>" and see the diamond again instead of the SOFT HYPHEN symbol.

Now congifure rc.conf as
        # scrnmap="iso-8859-1_to_cp437"
        font8x16="iso-8x16"
and find the differences.

---------

Using the direct ISO symbol drawing is OK. But sometimes the mapping from CP437 is more preferrable, as it allows to avoid the problem with 8bit expanding on VGA adapters. It can be noticed using the latter configuration: horizontal graphics lines looks separated with one pixel. In case of mapping from CP437 they are OK.

>Fix:
$ cat iso-8859-1_to_cp437.scm.patch 
--- iso-8859-1_to_cp437.scm.orig        Sun Jun 17 19:39:11 2001
+++ iso-8859-1_to_cp437.scm     Sun Jun 17 19:39:11 2001
@@ -1,9 +1,9 @@
 begin 644 iso-8859-1_to_cp437
 M``$"`P0%!@<("0H+#`T.#Q`1$A,4%187&!D:&QP='A\@(2(C)"4F)R@I*BLL
 M+2XO,#$R,S0U-C<X.3H[/#T^/T!!0D-$149'2$E*2TQ-3D]045)35%565UA9
-M6EM<75Y?8&%B8V1E9F=H:6IK;&UN;W!Q<G-T=79W>'EZ>WQ]?G\$!`0$!`0$
-M!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!""MFYP$G7P$(D-AKGX$4@3X\?TS
-M)^8$^BPQ;Z^LJP2H04%!08Z/DH!%D$5%24E)28&E3T]/3YE/3U5559I94.%$
-?H(-AA(:1AXJ"B(F-H8R+9*25HI-OE&]OEZ.6@7EPF$]/
+M6EM<75Y?8&%B8V1E9F=H:6IK;&UN;W!Q<G-T=79W>'EZ>WQ]?G\@!+$$!`0$
+M^/$$!-F_VL#%!`3$!`3#M,'"L_/RXP2<^B"MFYP$G7P$(D-AKJHM4@3X\?TS
+M)^84^BPQIZ^LJP2H04%!08Z/DH!%D$5%24E)242E3T]/3YEX3U5559I94.&%
+?H(-AA(:1AXJ"B(F-H8R+9*25HI-OE/9OEZ.6@7EPF$]/
 `
 end

>Release-Note:
>Audit-Trail:

From: "Andrey A. Chernov" <ache@nagual.pp.ru>
To: Eugene Ossintsev <osgene@web.de>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/28236: [PATCH] iso-8859-1_to_cp437.scm doesn't contain some useful mappings
Date: Sun, 17 Jun 2001 23:16:49 +0400

 On Sun, Jun 17, 2001 at 11:02:02 -0700, Eugene Ossintsev wrote:
 > >Fix:
 > $ cat iso-8859-1_to_cp437.scm.patch 
 > --- iso-8859-1_to_cp437.scm.orig        Sun Jun 17 19:39:11 2001
 > +++ iso-8859-1_to_cp437.scm     Sun Jun 17 19:39:11 2001
 > @@ -1,9 +1,9 @@
 >  begin 644 iso-8859-1_to_cp437
 >  M``$"`P0%!@<("0H+#`T.#Q`1$A,4%187&!D:&QP='A\@(2(C)"4F)R@I*BLL
 >  M+2XO,#$R,S0U-C<X.3H[/#T^/T!!0D-$149'2$E*2TQ-3D]045)35%565UA9
 > -M6EM<75Y?8&%B8V1E9F=H:6IK;&UN;W!Q<G-T=79W>'EZ>WQ]?G\$!`0$!`0$
 > -M!`0$!`0$!`0$!`0$!`0$!`0$!`0$!`0$!""MFYP$G7P$(D-AKGX$4@3X\?TS
 > -M)^8$^BPQ;Z^LJP2H04%!08Z/DH!%D$5%24E)28&E3T]/3YE/3U5559I94.%$
 > -?H(-AA(:1AXJ"B(F-H8R+9*25HI-OE&]OEZ.6@7EPF$]/
 > +M6EM<75Y?8&%B8V1E9F=H:6IK;&UN;W!Q<G-T=79W>'EZ>WQ]?G\@!+$$!`0$
 > +M^/$$!-F_VL#%!`3$!`3#M,'"L_/RXP2<^B"MFYP$G7P$(D-AKJHM4@3X\?TS
 > +M)^84^BPQIZ^LJP2H04%!08Z/DH!%D$5%24E)242E3T]/3YEX3U5559I94.&%
 > +?H(-AA(:1AXJ"B(F-H8R+9*25HI-OE/9OEZ.6@7EPF$]/
 
 Patch for binary file is as useless as posting whole binary file.
 I mean path to _source_ file must be posted.
 
 -- 
 Andrey A. Chernov
 http://ache.pp.ru/
>Unformatted:
