Port to EBCDIC mainframe
Status: Beta
Brought to you by:
thehobbit
On a machine with an EBCDIC character set, libedit will
not work unless
a) an ASCII environment exists which works "as if" all
characters were in ASCII, or
b) the ASCII-dependent functions are wrapped into
conversion macros to actually work on EBCDIC characters.
The attached patch solves the problem in the b) method
by wrapping ASCII-Code into from-ASCII and to-ASCII macros.
Thus libedit works even on a mainframe ;-)
The port was done for the BS2000 operating system. For
IBM machines, the wrapper macros have to be added by
someone with an IBM machine at hand.
Port for libedit on hosts using an EBCDIC character set