IBM 3174 建立控制器的一个开放式替代方案。
An open replacement for the IBM 3174 Establishment Controller

原始链接: https://github.com/lowobservable/oec

## Open 3270 建立控制器 (oec) 摘要 Open 3270 建立控制器 (oec) 是一个开源项目,旨在取代 IBM 3174 控制器,从而使 IBM 3270 终端机能够连接到 Hercules 模拟器。目前仍在开发中,oec 为 CUT 类型终端机(如 IBM 3179、3278-2 和 3472)提供基本的 TN3270 和 VT100 模拟。 用户需要兼容的接口(并且可能需要修改按键映射),Python 3.8+,并且必须通过 `pip` 安装依赖项。通过类似 `python -m oec /dev/ttyACM0 tn3270 mainframe` 的命令可以连接到 TN3270 主机。VT100 模拟运行一个主机进程,如 `/bin/sh`,但原生不支持 Windows。 相关工具包括用于连接物理终端机的 `coax` 和 Python TN3270 库 `pytn3270`。对于那些对 IBM 5250 终端机感兴趣的人,建议使用 `5250_usb_converter` 项目。

黑客新闻 新的 | 过去的 | 评论 | 提问 | 展示 | 工作 | 提交 登录 IBM 3174 建立控制器的一个开源替代方案 (github.com/lowobservable) 7 分,由 bri3d 1小时前发布 | 隐藏 | 过去的 | 收藏 | 1 条评论 skissane 15分钟前 [–] 我想知道编写一个模拟器来运行实际的 3174 软件会有多难?回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

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.

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.

1 - requires interface2 with recent firmware

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

  • IBM 3179
  • 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.

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.

  • 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.

联系我们 contact @ memedata.com