# AT386 Terminal Emulator

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

Older UNIX applications expect the function keys of the AT386 console. WND Terminal reports AT386 and sends those key codes, over Telnet on Windows, Mac and Linux.

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

```text
+------------------------------------------+
|                                          |
|           AT386 INVOICE QUEUE            |
|                                          |
|   Press F5 to open invoice 1001          |
|                                          |
|   INVOICE 1001 OPEN                      |
|                                          |
+------------------------------------------+
```

The AT386 sample host, shown as text and narrowed to fit. The invoice opens only when F5 sends the AT386 code.
WND Terminal has an AT386 terminal profile for Windows, Mac and Linux. Choose VT (Telnet) , enter the host and select AT386 console . It reports `AT386` as the terminal type, sends the AT386 codes for F1 to F10 and shifted F1 to F10, and draws ANSI screens.


## What AT386 is

AT386 is the terminal type of the system console on AT&T UNIX System V for Intel 386 PCs. UnixWare and Interactive UNIX used it as well.

The screen side is close to ANSI. The keyboard is where it differs. On an AT386 console F5 sends `ESC O T`, and each function key has its own code. Plain ANSI and SCO ANSI send different bytes for the same key.

An application reads those bytes to decide what the user pressed. With the wrong terminal type the screen looks right and the function keys do nothing. That is the problem this profile fixes.


### The original terminal

From
AT&T UNIX System V/386
Also used by
UnixWare and Interactive UNIX
Terminal type
AT386
F5 sends
ESC O T

## What the AT386 profile handles

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


### In the AT386 profile

- The terminal type `AT386`
- The AT386 codes for F1 to F10
- The AT386 codes for shifted F1 to F10
- The shared ANSI screen behavior


### Check on your host

- Keys beyond F1 to F10 and their shifted codes
- Extra character sets and display modes
- Keyboard remapping
- Printing from the application


## Connect to an AT386 host

An AT386 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 and the port.


### Select AT386 console

Set the terminal to AT386 console , then connect.

Or open it from a shortcut or the command line


```text
wnd-terminal --connect "Invoices=telnet:unix.example.com:23#term=AT386"
```


## Try an AT386 screen on your own computer

The sample bundle has an invoice queue that opens only when the terminal sends the AT386 F5 code. Press F5 and the host shows `INVOICE 1001 OPEN`.

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


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


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


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


## AT386 emulator questions


### Why do my function keys not work on an older UNIX application?

The application expects the key codes of a specific terminal type. On an AT386 console F5 sends ESC O T. If your emulator sends the ANSI or SCO code, the application ignores the key. Select the AT386 profile to send the AT386 codes.


### What does the AT386 profile cover?

The terminal type, F1 to F10, shifted F1 to F10 and the shared ANSI screen behavior are in it. Extra character sets, more keys, display modes, remapping and printers are outside it.


### Is AT386 the same as SCO ANSI?

No. They are close on screen and different at the keyboard. WND Terminal has a separate profile for each.


### Which platforms run the AT386 profile?

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.

[SCO ANSI SCO OpenServer console colors and PC line drawing, over Telnet. SCO ANSI emulator →](https://wndsoftware.com/sco-ansi-terminal-emulator)
[BBS ANSI PC ANSI color and CP437 box drawing for bulletin boards and DOS-style screens. BBS ANSI emulator →](https://wndsoftware.com/bbs-ansi-terminal-emulator)
[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)
