oec
IBM 3270 terminal controller - a replacement for the IBM 3174.
Features
The goal of this project is to create an open replacement for the IBM 3174 Establishment Controller, specifically for users looking to connect a IBM 3270 type terminal to the Hercules emulator. It is a work in progress and is far from providing all the features of the 3174, but it does provide basic TN3270 and VT100 emulation.
- TN3270
- Basic TN3270
- TN3270E
- EAB (Extended Attribute Buffer)
- SSL/TLS
- Non-English character sets
- VT100
- Connection menu
- MLT (Multiple Logical Terminals)
Supported Terminals
Only CUT (Control Unit Terminal) type terminals are supported. I have tested oec with the following terminals:
- IBM 3278-2
- IBM 3483-V (InfoWindow II)
You may have to modify the key mapping to support your specific terminal configuration.
Usage
You will need to build a interface and connect it to your computer.
Then configure a Python virtual environment and install dependencies:
python -m venv VIRTUALENV
. VIRTUALENV/bin/activate
pip install -r requirements.txt
Assuming your interface is connected to /dev/ttyACM0 and you want to connect to a TN3270 host named mainframe:
python -m oec /dev/ttyACM0 tn3270 mainframe
If you want to use the VT100 emulator and run /bin/sh as the host process:
python -m oec /dev/ttyACM0 vt100 /bin/sh -l
