Thanks, list, especially Bill and Tom.  Your timely explanations about how the 
GE works confirmed my suspicions about it being a missing font.  My coworker 
with W10 was back in the office today, and we were able to do compares between 
W7 and W10.  Turns out the people who did the build of W10 neglected to install 
the font libraries included with the emulator.  My coworker copied the fonts 
from the emulator directory to the W10 font directory and all started working 
again.  We will pass the information to our PC build folks and have them 
correct their build procedure.

To those who recommended switching to a different 3270 emulator, all I can say 
is "Not my decision."  

Thanks again!

Rex

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tom Brennan
Sent: Friday, March 10, 2017 4:37 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: 3270 emulator display/translation oddity with windows 10

Bill Godfrey wrote:

> Not necessarily the  _ and | characters. I think those would probably display 
> correctly on the OP's emulator.
> The 3270 character for a graphics horizontal line is displayed using 2 bytes, 
> the "Graphics Escape" (hex 08) followed by hex A2, and in the Windows-1252 
> character encoding, hex A2 is a cent sign.
> The 3270 character for a graphics vertical line is a GE followed by hex 85, 
> and in the Windows-1252 character encoding, hex 85 is an ellipsis, three 
> horizontal dots.
> So the OP's emulator is probably handling Graphics Escape differently on W10.

Great explanation!

Warning:  Windows-related notes below.  Beware :)

Like you say, two bytes are coming in, but there's only one spot on the screen 
for a character, so the 08 has to be stored somewhere else.  In Vista that's a 
separate character set buffer.  That 08 tells the program to switch from the 
normal font to the supplied GE font when drawing those special characters.  Now 
if the GE font is not available on the system, Windows will typically revert 
back to the existing font, and you get the cent sign (or other non-GE 
character) in error.

So to solve the problem I'd look for a GE font file supplied with the emulator, 
and drag it to the c:\windows\fonts folder to install it and see if that helps.

Another bit of information for the original poster:  Vista (and perhaps some 
other emulators), doesn't actually install the font into c:\windows\fonts.  
That's because that directory is often protected from non-admin writes, and I 
want people to be able to install and use the program without admin authority, 
or run from a USB drive.  Instead, the font library is dynamically loaded, kind 
of like LOAD EP= at run time using the Windows function AddFontResource().

I've heard of cases where AddFontResource() is blocked as a security exposure 
by some company policies, with the only solution to temporarily switch to admin 
and copy the font to c:\windows\fonts.  Just guessing that could be the case 
here with Win 10 involved.

Tom

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN


The information contained in this message is confidential, protected from 
disclosure and may be legally privileged.  If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful.  If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format.  Thank you.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to