# IBM 3151 Terminal Emulator

Source: https://wndsoftware.com/ibm-3151-terminal-emulator

Open applications written for the IBM 3151 ASCII Display Station. WND Terminal has a native 3151 profile over Telnet for Windows, Mac and Linux.

Terminal type
ibm3151
Connection
Telnet
Runs on
Windows, Mac, Linux
Included since
v1.0.319

```text
IBM 3151 ORDER LOOKUP


    ORDER NUMBER: 1001

    TYPE A NUMBER AND PRESS ENTER


    ORDER 1001 FOUND
```

The IBM 3151 sample host after an order lookup, shown as text.
WND Terminal is an IBM 3151 terminal emulator for Windows, Mac and Linux. Choose IBM ASCII host (3151)  and enter the host. The profile uses a native IBM 3151 parser for 24 by 80 echo-mode screens, with 3151 cursor addressing, clearing and the Clear and PA keys.


## What the IBM 3151 was

The IBM 3151 ASCII Display Station dates from 1987. It is an ASCII terminal, so it is a different thing from the 3270 displays of IBM mainframes and the 5250 displays of IBM i.

The 3151 was attached to IBM's UNIX systems and to other multi-user hosts that talk to plain serial terminals. Applications written for it send the 3151's own escape sequences. A VT100 or ANSI emulator does not understand them.

In echo mode the terminal sends each key to the host, and the host sends the character back to be shown. Many 3151 applications work this way.


### The original terminal

Maker
IBM
Introduced
1987
Type
ASCII display station
Not the same as
3270 or 5250

## What the IBM 3151 profile handles

The IBM 3151 profile is in WND Terminal 1.0.319 and later, in the desktop app. It covers 24 by 80 echo-mode screens.


### In the IBM 3151 profile

- Native 3151 cursor addressing with `ESC Y`, cursor movement and home
- Clear page, and erase to the end of the line or page
- Locking and releasing the keyboard
- The read-cursor-address reply
- Return, Clear and PA1 to PA3 with their 3151 sequences
- The Telnet terminal type `ibm3151`, or the value your host expects


### Check on your host

- Field attributes and block-mode sending
- 25-line and 132-column formats
- Programmable function keys
- Printer functions


## Connect to a IBM 3151 host

An IBM 3151 session takes three steps.


### Choose IBM ASCII host (3151)

On the connect page, open the other hosts and pick IBM ASCII host (3151) .


### Enter the host

Type the host name or address. The port starts at 23.


### Check the terminal type

WND Terminal sends `ibm3151`. Type another value if your host expects one.

Or open it from a shortcut or the command line


```text
wnd-terminal --connect "Orders=ibm3151:host.example.com:23"
```


## Try an IBM 3151 screen on your own computer

The sample bundle has an IBM 3151 order-lookup host. Type an order number and press Enter. The host echoes what you type and returns an order result on a 24 by 80 screen.

Unzip the samples and run `python3 tools/compat-lab/run.py start --models`. It prints a WND Terminal connection command for each sample host. You need Python 3 and WND Terminal.

[Download the sample hosts](https://wndsoftware.com/downloads/wnd-model-samples.zip)
[Read the connection guide →](https://wndsoftware.com/docs/other-terminals)

## What you get with WND Terminal


### In the same app as 3270 and 5250

People who also use a mainframe or IBM i keep every session in WND Terminal on Windows, Mac or Linux.


### Unknown commands are reported

If the host sends a command the profile does not know, WND Terminal names it in the terminal's status line. A difference is easy to find and send to us.


### Proved on your own host

A [proof of value](https://wndsoftware.com/proof-of-value) is free and takes two to four weeks. We run your application screens and keys with you and fix the differences we find.


### One price for every terminal

Every terminal type is in the same product. WND Terminal includes every feature for at most $75 per user per year, with a 100-user minimum. See [pricing](https://wndsoftware.com/pricing).


## IBM 3151 emulator questions


### Is the IBM 3151 the same as a 3270 terminal?

No. The IBM 3151 is an ASCII display station. The 3270 is the block-mode display of IBM mainframes and the 5250 is the display of IBM i. WND Terminal has a separate profile for each.


### Does WND Terminal use a VT100 emulator for the 3151?

No. The IBM 3151 profile uses a native 3151 parser, because the 3151 has its own escape sequences.


### Which 3151 modes does it support?

The released profile covers 24 by 80 echo-mode screens. Field attributes, block mode, other screen sizes, programmable function keys and printer functions are outside it.


### Which platforms run the IBM 3151 emulator?

The WND Terminal desktop app on Windows, Mac and Linux, over Telnet.


## Related terminal emulators

Every released profile is listed with its connection and scope on the [supported systems](https://wndsoftware.com/supported-systems) page.

[Wyse WY-60 Native Wyse 60 mode with two pages and programmed keys, over Telnet. WY-60 emulator →](https://wndsoftware.com/wyse-60-terminal-emulator)
[DEC VT100 The standard VT terminal, over SSH or Telnet, on the desktop and in a browser. VT100 emulator →](https://wndsoftware.com/vt100-terminal-emulator)
[SCO ANSI SCO OpenServer console colors and PC line drawing, over Telnet. SCO ANSI emulator →](https://wndsoftware.com/sco-ansi-terminal-emulator)
