LIB2 / FILE VIEW

VT_Virtual_Terminal_User_Guide_R003.md

DOWNLOAD ORIGINAL ↓

# VT — Virtual Terminal User’s Guide

**A practical reference for reading and navigating a text document on a four-line display.**

## What VT displays

VT presents a **24-row × 80-column** text document through a smaller **4-row × 32-column** window. The viewer keeps track of a selected document row and the current horizontal window. Moving the window does **not** edit the document.

The horizontal windows begin at columns **1**, **31**, and **49**. Use LEFT and RIGHT to move between them. The last window ends at column 80.

## Movement keys

| Key | Action |
|---|---|
| **UP** / **DOWN** | Move the selected document row one line; the four-line window follows as needed. |
| **LEFT** / **RIGHT** | Move among horizontal windows beginning at columns 1, 31, and 49. |
| **`u`** / **`U`** | Move up four document rows, stopping at row 1. |
| **`d`** / **`D`** | Move down four document rows, stopping at row 24. |
| **`t`** / **`T`** | Go to row 1, with the horizontal window reset to column 1. This does **not** transmit. |
| **`b`** / **`B`** | Go to the bottom: select row 24, show rows 21–24, and reset the horizontal window to column 1. |
| **`s`** / **`S`** | Show the current visible row and column ranges on the fourth display line. |
| **`Q`** / **`q`** | Leave VT from the document view. |
| **MENU** / **BRK** | Leave the viewer via the surrounding system's menu or break route. |

The selected row is kept within the visible four-line window when you move vertically. Horizontal movement changes what part of each row you see, not the document contents.

## Command mode

Press **`:`** and then a command letter. The command prompt temporarily uses the fourth display line. Command letters below are accepted in upper- or lowercase.

| Command | Action |
|---|---|
| **`:h`** | Show built-in Help, presented over three screens. EXE moves to the next Help screen; an unrelated key (including Q) closes Help and returns to the document. MENU or BRK leaves VT. |
| **`:i`** | Toggle normal / inverse-video display. Enter `:i` again to restore the original appearance. Only the displayed pixels change; document text and transmitted bytes are untouched. The mode resets on exit. |
| **`:l`** | Jump to a numbered document row (1–24). A blinking underscore marks the next digit position; enter one or two digits and press EXE to confirm. |
| **`:r`** | Redraw the current document window without changing the selection or display mode. |
| **`:s`** | Show the current visible row and column ranges (same as plain `s`). |
| **`:t`** | Request transmission of the entire 24 × 80 document through an available serial service; it does not merely transmit the visible 4 × 32 window. |
| **`:q`** | Leave VT and return control to the surrounding environment. |
| **`:c`** | Request a context-specific action on the current selection, when one is provided; no universal action is assigned by VT. |

Unrecognized commands show a short error prompt. **EXE** in the ordinary document view may act on the selected line when a selection action is provided; it is not a general navigation key.

## Entering a line number with `:l`

1. From the document view, press `:` and `l`.
2. Watch the blinking underscore on the fourth line. Enter a row number from **1** through **24** (one or two digits).
3. Press **EXE** to jump. `00`, `25`, and other out-of-range entries are rejected. Press `:` during entry to restart the command prompt.

A line jump changes the selected row and its vertical origin; the horizontal window remains at its current position.

## A quick walk-through

Starting in any VT document, press **DOWN** once, then **`d`** to advance four rows. Press **RIGHT** to view another horizontal window. Press **`s`** to display the current ranges. Try **`:i`**, navigate while the display is inverted, then enter **`:i`** again. Use **`:h`** to read Help, **EXE** to advance its pages, and **Q** to return to your document. Finally, press **`t`** to return to the start or **`:q`** to leave VT.

## About document transmission

When serial output is supported and configured, **`:t`** sends all 24 rows as **80 text bytes plus CR and LF per row**, for an expected total of **1,968 bytes** (`24 × (80 + 2)`). The document is exported as text: inverse-video appearance and the position of the visible window are not encoded. If a serial service is unavailable, the request can be declined without sending data.

**Remember:** plain **`t`** moves to the top; **`:t`** requests transmission. Plain **`Q`** exits the document; within Help, **Q** first closes Help and returns to the document.

*Praeteritum ad futurum servamus.*