Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 11:02:02 -0700 (PDT)
From:      Eugene Ossintsev <osgene@web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/28236: [PATCH] iso-8859-1_to_cp437.scm doesn't contain some useful mappings
Message-ID:  <200106171802.f5HI22R46168@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         28236
>Category:       misc
>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:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106171802.f5HI22R46168>