# DEC VT52 Terminal Emulator

Source: https://wndsoftware.com/vt52-terminal-emulator

Run applications that still expect a DEC VT52. WND Terminal emulates the VT52 over Telnet on Windows, Mac and Linux, next to your 3270 and 5250 sessions.

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

```text
INVENTORY LOOKUP
PART NUMBER: BOLT

    BOLT   12 IN STOCK
```

The VT52 sample host after a lookup, shown as text. It places the result with VT52 direct cursor addressing.
WND Terminal is a DEC VT52 terminal emulator for Windows, Mac and Linux. Choose VT (Telnet) , enter the host and select `vt52`. The profile handles VT52 cursor controls, keypad modes, graphics mode and the terminal's identity reply.


## What the VT52 was

Digital Equipment Corporation introduced the VT52 in 1975. It showed 24 lines of 80 characters, in upper and lower case, and it could scroll in both directions. That made it a good fit for the full-screen editors and forms of the PDP-11 years.

The VT52 has its own short escape sequences. `ESC Y` moves the cursor to a row and column, `ESC F` and `ESC G` switch graphics mode on and off, and `ESC Z` asks the terminal to identify itself. They are not the ANSI sequences the VT100 brought in three years later.

Some applications were written for those sequences and never changed. A VT100 emulator in its default mode draws them wrong. A VT52 profile gives the application the terminal it was written for.


### The original terminal

Maker
Digital Equipment Corporation
Introduced
1975
Screen
24 lines of 80 characters
Followed by
VT100, in 1978

## What the VT52 profile handles

The VT52 profile is in WND Terminal 1.0.319 and later, in the desktop app.


### In the VT52 profile

- Cursor movement, cursor home and direct cursor addressing with `ESC Y`
- Graphics mode, switched by `ESC F` and `ESC G`
- The alternate keypad mode applications use for editing keys
- The identity reply to `ESC Z`
- The Telnet terminal type `vt52`


### Check on your host

- Screens that depend on the exact shape of the original VT52 graphics characters. WND Terminal draws them with the closest one-cell Unicode characters.
- Printing from the application
- Keys your host maps in its own way


## Connect to a VT52 host

A VT52 session takes three settings.


### Choose VT (Telnet)

On the connect page, pick VT (Telnet)  as the host type.


### Enter the host

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


### Select vt52

Set the terminal to `vt52`, then connect.

Or open it from a shortcut or the command line


```text
wnd-terminal --connect "Inventory=telnet:host.example.com:23#term=vt52"
```


## Try a VT52 screen on your own computer

The sample bundle has a small VT52 inventory host. Type `BOLT` at the PART NUMBER prompt and press Enter. The host answers `BOLT 12 IN STOCK`, placed with VT52 cursor addressing and graphics mode.

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/vt-sessions)

## What you get with WND Terminal


### Next to your other sessions

VT sessions open in the same tabs and split panes as your mainframe and IBM i sessions. Themes work in all of them.


### Macros and automation

WND Terminal macros type, press keys and wait for text in these sessions. The automation API reads the screen the same way. See [UNIX and Linux sessions](https://wndsoftware.com/docs/vt-sessions).


### Audit log and recording

The audit log has each connection with its host type. Session recording works when IT turns it on, and input at a password prompt is never recorded.


### 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).


## VT52 emulator questions


### Is there a VT52 emulator for Windows, Mac and Linux?

Yes. WND Terminal has a VT52 profile in its desktop app for Windows, Mac and Linux. It connects over Telnet.


### How is VT52 different from VT100?

The VT52 uses its own short escape sequences, such as ESC Y for cursor addressing. The VT100 uses ANSI sequences. An application written for one draws the wrong screen on the other unless the terminal switches modes.


### Does the VT52 profile work over SSH or in a browser?

The VT52 profile is released for Telnet sessions in the desktop app. Browser sessions cover 3270, 5250, VT100, VT220 and VT320.


### Can I try VT52 emulation without a VT52 host?

Yes. The sample bundle includes a VT52 inventory host that runs on your own computer with Python 3.


## Related terminal emulators

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

[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)
[DEC VT102 VT102 identity with insert and delete line and character editing. VT102 emulator →](https://wndsoftware.com/vt102-terminal-emulator)
[DEC VT220 The usual choice for OpenVMS, with F6 to F20, Help and Do. VT220 emulator →](https://wndsoftware.com/vt220-terminal-emulator)
