GithubHelp home page GithubHelp logo

lowobservable / oec Goto Github PK

View Code? Open in Web Editor NEW
46.0 10.0 8.0 636 KB

IBM 3270 terminal controller - a replacement for the IBM 3174

License: ISC License

Python 99.93% Shell 0.07%
ibm mainframe 3270 3174 tn3270 vt100

oec's Introduction

oec

IBM 3270 terminal controller - a replacement for the IBM 3174.

IBM 3278 terminal and oec

This project aims to create an open replacement for the IBM 3174 Establishment Controller, specifically for users looking to connect an IBM 3270 type terminal to the Hercules emulator.

For background on this project, IBM 3270 type terminals and controllers, see Building an IBM 3270 terminal controller.

Features

It is a work in progress and is far from providing all the features you might expect from a later model 3174, but it does provide basic TN3270 and VT100 emulation.

  • TN3270
    • Extended Data Stream
    • Basic TN3270E
    • Device name (LU) negotiation
    • SSL/TLS
  • VT100
  • Connection menu
  • MLT (Multiple Logical Terminals)
  • Up to 8 terminals connected via IBM 3299 multiplexer1

1 - requires interface2 with recent firmware

Supported Terminals

Only CUT (Control Unit Terminal) type terminals are supported. I have tested oec with the following terminals:

  • IBM 3278-2
  • IBM 3472
  • IBM 3483-V (InfoWindow II)
  • Memorex 2078

You may have to modify the key mapping to support your specific terminal configuration.

Usage

You will need to build or buy a compatible interface.

You will need Python 3.8, or above, installed.

I'd recommend using a Python virtual environment to isolate oec from your system-wide packages:

python3.8 -m venv VIRTUALENV
source VIRTUALENV/bin/activate

Install dependencies using pip:

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

VT100 emulation is not supported on Windows. It may work with Python on Cygwin, but I've not tested it.

See Also

  • coax - Tools for connecting to real IBM 3270 type terminals
  • pytn3270 - Python TN3270 library

If you are looking for a similar project for IBM 5250 (Twinax) type terminals, see inmbolmie's 5250_usb_converter project.

oec's People

Contributors

brown1d avatar faxm0dem avatar jmaynard avatar lowobservable avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.