# DEC VT102 Terminal Emulator

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

Some applications ask the terminal what it is before they draw a screen. WND Terminal answers as a VT102 and handles the editing commands a VT102 application sends.

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

```text
INVENTORY LOOKUP
BOLT   12 IN STOCK
PART NUMBER: BOLT
```

The VT102 sample host after a lookup, shown as text. It uses Insert Line to open a row for the result.
WND Terminal is a DEC VT102 terminal emulator for Windows, Mac and Linux. Choose VT (Telnet) , enter the host and select `vt102`. The profile answers a device-attributes request as a VT102 and handles Insert Line, Delete Line and Delete Character.


## What the VT102 was

The VT102 arrived in 1981 as a lower-cost VT100. DEC built in the Advanced Video Option and a printer port, which were extras on the VT100.

It also added editing commands. A host could insert or delete a line, and insert or delete a character, without redrawing the screen. Forms and editors written after 1981 often rely on those commands.

Many applications check for a VT102 by sending a device-attributes request. A VT102 answers `ESC [ ? 6 c`. An application that gets a different answer may refuse to start or fall back to a plainer screen.


### The original terminal

Maker
Digital Equipment Corporation
Introduced
1981
Based on
VT100 with Advanced Video
Identity reply
ESC [ ? 6 c

## What the VT102 profile handles

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


### In the VT102 profile

- The VT102 reply to a primary device-attributes request
- Insert Line and Delete Line
- Delete Character
- The VT100 screen controls a VT102 application also uses
- The Telnet terminal type `vt102`


### Check on your host

- Printer-port commands and printer status
- Keys your host maps in its own way


## Connect to a VT102 host

A VT102 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 vt102

Set the terminal to `vt102`, then connect.

Or open it from a shortcut or the command line


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


## Try a VT102 screen on your own computer

The VT102 sample host opens its inventory form only after WND Terminal identifies itself as a VT102. Type `BOLT` and press Enter. The host uses Insert Line to show `BOLT 12 IN STOCK`.

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


### IT stays in control

IT can list the hosts people may reach, lock copy and paste, and turn Telnet sessions off with one policy setting.


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


## VT102 emulator questions


### What is the difference between VT100 and VT102?

The VT102 is a VT100 with the Advanced Video Option and a printer port built in. It adds commands to insert and delete lines and characters, and it identifies itself differently.


### How does WND Terminal identify itself as a VT102?

With the vt102 profile selected, it reports vt102 as the Telnet terminal type and answers a primary device-attributes request with the VT102 reply.


### Does the VT102 profile support the printer port?

Printer-port commands are not part of the released profile. Tell us about printing during the proof of value and we check it with you.


### Which platforms run the VT102 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.

[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 VT220 The usual choice for OpenVMS, with F6 to F20, Help and Do. VT220 emulator →](https://wndsoftware.com/vt220-terminal-emulator)
[DEC VT52 Cursor addressing, keypad modes and graphics mode over Telnet. VT52 emulator →](https://wndsoftware.com/vt52-terminal-emulator)
