Can it be used with X window system? X windows has key codes 0xFD01 to 0xFD1E for the 3270 terminal keys. I don't know the meaning on the actual IBM terminals, but they seem to match the key codes that are defined in X windows.
There a few things that don't work straight across a telnet connection, hence the translation layer.