On Monday, 03/24/2003 at 12:09 EST, "Peter J. Farley III"
<[EMAIL PROTECTED]> wrote:

> So, my question to this list is whether CP's 437/500 are the
> ASCII/EBCDIC code pages used in the base console code in the linux-390
> kernel (without any "locale" considerations, just LANG=C) to translate
> HMC characters to ASCII, or at least where can I go to find out what is
> used (besides the kernel source, please).
>
> TIA for any info, RTFM's or other assistance you can provide.

What's the matter with the kernel source, Peter?  It shows that, yes, it
uses code pages 037 and 500.  It looks like 037 for the 3215 and 3270
console and 500 for the integrated system console (037 if running on VM).
All conversions are to 437 (based on commentary).

http://lxr.linux.no/source/drivers/s390/ebcdic.c?a=s390#L70 and
http://lxr.linux.no/source/arch/s390/kernel/ebcdic.c?a=s390#L91 were
starting points for my search.

Alan Altmark
Sr. Software Engineer
 IBM z/VM Development

Reply via email to