I'm working on EBCDIC support for Perl 5. I'm not familiar with EBCDIC terminals, but apparently there are asynchronous ones.
I searched the archives but didn't find an answer to this. How can one enter a control character from such a terminal? On ASCII terminals, pressing the Ctrl key and another at the same time generates a control sequence. Since H is the eighth letter of the alphabet, CTRL-H sends 8, which is a backspace on ASCII platforms. Is there something similar that happens on EBCDIC? The few EBCDIC code pages that I'm familiar with have 65 controls: 0 to 0x1F plus 0xFF. Are all 65 enterable from the keyboard? I see from the archives that there are some problems between the ASCII LF (or NL) and the EBCDIC NEL. Is there a rule of thumb for which of these, or both, should mean a new-line, matching, say, '\n' in the C language? Also, in looking at the Perl 5 source code, it is clear to me that no one is running modern Perl versions on EBCDIC platforms, because it wouldn't work. But I can't imagine a Linux system without Perl. Could someone explain? Thanks in advance Karl Williamson ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
