Bug 28230

Summary: iso-8859-1_to_cp437.scm doesn't contain some useful mappings
Product: Base System Reporter: Eugene Ossintsev <osgene>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Eugene Ossintsev 2001-06-17 16:50:00 UTC
/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.

Fix: Put into the /usr/share/syscons/scrnmaps the fixed version of iso-8859-1_to_cp437.scm that is given below.

-------------------------------


---------------------------------kpkenI3a9yBSE7y2FBiJhI9ED2D0CaNSMwnekfI1PyH8wIH1
Content-Type: text/plain; name="iso-8859-1_to_cp437.scm"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="iso-8859-1_to_cp437.scm"

begin 644 iso-8859-1_to_cp437.scm
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$
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
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.
Comment 1 Андрей Чернов 2001-06-17 16:56:24 UTC
On Sun, Jun 17, 2001 at 08:43:27 -0700, Eugene Ossintsev wrote:
> 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$
> 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$]/

You need to submit patch to source, not final binary builded from it.

-- 
Andrey A. Chernov
http://ache.pp.ru/
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2001-08-19 10:29:20 UTC
State Changed
From-To: open->feedback

Waiting for submitter to resubmit their change as a diff
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-18 16:14:39 UTC
State Changed
From-To: feedback->closed

Automatic feedback timeout.  If additional feedback that warrants 
the re-opening of this PR is available but not included in the 
audit trail, please include the feedback in a reply to this message 
(preserving the Subject line) and ask that the PR be re-opened.