Show HN: Connecting an IBM 3151 terminal to a mainframe [video]

The IBM 3151 from 1987 is an interesting ASCII terminal. Unlike "normal" serial terminals, it not only supports the so-called "character mode", where after each keypress there is an interaction with the host computer (like with a Unix terminal), but it also has a "block mode". This means, you can send it commands to define fields for input and output on the screen (like a form to fill out). The terminal then handles autonomously all the the user input, and when the user is done and presses a special key (Enter or a function key), all the entries in the form are transferred to the host in one go.

This is very similar but unfortunately not identical to the so-called 3270 terminals used by IBM mainframe computers. Therefore, I wrote a little C program to translate between the differing protocols of 3270 and 3151 terminals enabling a 3151 to be connected to a mainframe.

I made a video describing a little bit the 3151 terminal and the interface program and showing how it looks like to work with the (emulated) mainframe on an 3151. The source code and Windows binary are on github for you to try out, if you happen to have a 3151 terminal. The link is in the description of the video.


Comments URL: https://news.ycombinator.com/item?id=43621007

Points: 8

# Comments: 2

Établi 7d | 8 avr. 2025, 13:40:07


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

Ask HN: Why is there no P2P streaming protocol like BitTorrent?

I've been wondering if anyone knows why there is no P2P protocol for mass live stream content in decent quality? specifically what are the technical limitations or is it mostly that people don't w

15 avr. 2025, 07:50:08 | Hacker news
Show HN: MCP-Shield – Detect security issues in MCP servers

I noticed the growing security concerns around MCP (https://news.ycombinator.com/item?id=43600192) and built an open source tool that ca

15 avr. 2025, 07:50:06 | Hacker news