This is preliminary documentation for an upcoming version of Kermit 95 (3.0.0 Pre-Beta.8).
 

Kermit 95 Control Sequences (Outline)


Kermit 95 Release: 3.0.0 DEV
Build Date: 23 September 2026

This is an outline of the Kermit 95 Control Sequences documentation. It only contains section headings for quick navigation to the various sections of the main document.

Controls beginning with ESC

ESC SP } DECKBD — Keyboard Language Selection

ESC # Transmit Page (H19)

ESC # 7 DECHCP — Hard Copy (DEC Private)

ESC ( C SCS — Designate G0 Character Set

SNI-97801 specific character sets

ESC ) C SCS — Designate G1 Character Set

Additional linux character sets

ESC 1 Graphic Processor On

ESC 2 DECGOFF — Graphic Processor Off

ESC 6 zTI — Toggle IRM

ESC : zGUA — Guard Unprotected Areas

ESC F SSA — Start Selected Area

ESC F Cursor Home Down (HPTERM)

ESC I HTJ — Horizontal Tab with Justify

ESC S STS — Set Transmit State

ESC [ Hold Screen mode on (H19)

ESC \ Exit hold screen (H19)

ESC ] Transmit line 25 to host (H19)

ESC a INT — Interrupt (AAA)

ESC r Modify Baud Rate (H19)

Device-Control functions

DCS Pid ; Pdt ; Pen ! z D...D ST DECDMAC — Define Macro

ASCII Encoding

Hex Encoding

Invoking Other Macros

Examples

ASCII Encoding
Hex Encoding
Adding Repetition

Functions using CSI, ordered by the final character(s)

CSI = C Close Virtual Window

CSI = F Fetch virtual window

CSI = I Input (BA80)

CSI = ? I
CSI ? = I
Screen saver off (BA80)

CSI = ? J
CSI ? = J
Screen Saver On

CSI = Ps L SEF — Set Emulation Feature (SCO)

Ps = 0 ⇒ New regions filled with the current attribute (default)

Ps = 1 ⇒ New regions filled with the normal attribute

Ps = 2 ⇒ Disable iBCS2 compliance (default)

Ps = 3 ⇒ Enable iBCS2 compliance

Ps = 4 ⇒ Disable ANSI SGR0 interpretation (default)

Ps = 5 ⇒ Enable ANSI SGR0 interpretation

Ps = 8 ⇒ Cursor motion bound by region (default)

Ps = 9 ⇒ Cursor motion unbound

Ps = 10 ⇒ Enable 8-bit keyboard meta mode (default)

Ps = 11 ⇒ Disable 8-bit keyboard meta mode

Ps = 12 ⇒ Disable debugging for this screen (default)

Ps = 13 ⇒ Enable debugging for this screen (do not use)

Ps = 14 ⇒ Disable global video loop debugging (default)

Ps = 15 ⇒ Enable global video loop debugging (do not use)

Ps = 16 ⇒ Enable M6845 frame buffer optimization (default)

Ps = 17 ⇒ Disable M6845 frame buffer optimization (debugging only)

Ps = 20 ⇒ Disable using ESC for meta (high) bit

Ps = 21 ⇒ Enable using ESC for meta (high) bit

CSI = O Pa Pn1[:Pn2][;Pa Pn1[:Pn2]][...] O Open Virtual Window (BA80)

CSI Ps Q SEE — Select Editing Extent

CSI = Ps $ R Reset virtual window (BA80)

CSI Y CVT — Cursor Vertical Tab

CSI Ps [ SRS — Select Reversed String

CSI Pm ] SDS — Select Alternate Presentation Variant

CSI Ps ; Ps ] Linux display settings

Ps = 1 ; n ⇒ Set underline color

Ps = 2 ; n ⇒ Set dim color

Ps = 8 ⇒ Set current color pair as the default attribute

Ps = 9 ; n ⇒ Set screen blank timeout to n minutes

Ps = 10 ; n ⇒ Set bell frequency in Hz

Ps = 11 ; n ⇒ Set bell duration in msec

Ps = 12 ; n ⇒ Bring specified console to the front

Ps = 13 ⇒ Unblank the screen

Ps = 14 ; n ⇒ Set the VESA power-down interval in minutes

Ps = 15 ⇒ Bring previous console to front

Ps = 16 ; n ⇒ Set cursor blink interval in msec

CSI Pm h SM — Set Mode

Ps = 13 ⇒ FEAM — Format Effector Action Mode

Ps = 16 ⇒ TTM — Send through cursor position

Ps = 30 ⇒ Scrollbars On

Ps = 31 ⇒ WYLINM — Display status line

Ps = 32 ⇒ WYCRTSAVM — Screen Saver off

Ps = 35 ⇒ WYCLRM — Width change clear off

Ps = 36 ⇒ WYDELKM — Set delete key to BS/DEL

Ps = 37 ⇒ WYGATM — Send all characters

Ps = 38 ⇒ WYTEXM — Send full page

Ps = 40 ⇒ WYEXTDM — Extra data line

Ps = 42 ⇒ WYASCII — Select Wyse 350 personality

Ps = 50 ⇒ Compose key table on

Ps = 51 ⇒ Dead key table on

CSI ? Pm h DECSET — DEC Private Mode Set

Ps = 9 ⇒ DECINLM — Interlace

Ps = 10 ⇒ DECEDM — Block Mode On

Ps = 34 ⇒ DECRLM — Right to Left Mode

Ps = 36 ⇒ DECHEM — Hebrew Encoding Mode

Ps = 38 ⇒ DECTEK — Enter Tektronix 4010/4014 mode

Ps = 40 ⇒ XTERM - Allow 80 - 132 Mode

Ps = 41 ⇒ XTERM - more(1) fix

Ps = 43 ⇒ DECGEPM — Graphics Expanded Print mode

Ps = 44 ⇒ DECGPCM — Graphics Print Color mode

Ps = 45 ⇒ DECGPCS — Graphics Print Color syntax = RGB

Ps = 46 ⇒ DECGPBM — Graphics Print Background mode

Ps = 47 ⇒ DECGRCM — Graphics Rotated Print mode

Ps = 47 ⇒ Use alternate screen buffer (xterm)

Ps = 53 ⇒ DEC131TM — VT131 Transmit

Ps = 60 ⇒ DECHCCM — Horizontal cursor coupling

Ps = 61 ⇒ DECVCCM — Vertical cursor coupling

Ps = 68 ⇒ DECKBUM — Keyboard Usage - Data Processing

Ps = 73 ⇒ DECXRLM — Transmit rate limiting

Ps = 80 ⇒ DECSDM — Enable Sixel Display Mode

Ps = 84 ⇒ WYENAT — Erasable/non-erasable attribute select

Ps = 85 ⇒ WYREPL — Replacement character color

Ps = 1001 ⇒ XTERM - Use Hilite Mouse Tracking

Ps = 1007 ⇒ XTERM - Enable Alternate Scroll Mode

Ps = 1010 ⇒ RXVT - Scroll to bottom on tty output

CSI > Pm h Zenith, Heath and AnnArbor set mode

Ps = 3 ⇒ Hold Screen Mode

Ps = 6 ⇒ Keypad Shifted

Ps = 25 ⇒ zMDM — Margin Bell Mode

Ps = 26 ⇒ zKCM — Key Click Mode

Ps = 27 ⇒ zKPCM — Key Pad Control Mode

Ps = 28 ⇒ zKRM — Key Repeat Mode

Ps = 29 ⇒ zRLM — Return Line Feed Mode

Ps = 30 ⇒ zDBM — Destructive Backspace Mode

Ps = 31 ⇒ zBKCM — Block Cursor Mode

Ps = 32 ⇒ zBNCM — Blinking Cursor Mode

Ps = 33 ⇒ zWFM — Wrap Forward Mode

Ps = 34 ⇒ zWBM — Wrap Backward Mode

Ps = 35 ⇒ zDDM — DEL character Display Mode

Ps = 36 ⇒ zSPM — Scroll Page Mode

Ps = 37 ⇒ zAXM — Auto Xoff/Xon Mode

Ps = 38 ⇒ zAPM — Auto Pause Mode

Ps = 39 ⇒ zSSM — Slow Scroll Mode

Ps = 40 ⇒ zHDM — Half-Duplex Mod

Ps = 41 ⇒ zTPDM — Transfer Pointer Display Mode

Ps = 42 ⇒ zLTM — Line Transfer Mode

Ps = 43 ⇒ zCSTM — Column Separator Transfer Mode

Ps = 44 ⇒ zFSTM — Field Separator Transfer Mode

Ps = 45 ⇒ zGRTM — Graphic Rendition Transfer Mode

Ps = 46 ⇒ zAKDM — Auto Keyboard Disable Mode

Ps = 47 ⇒ zFRM — Fast Repeat Mode

Ps = 48 ⇒ zHAM — Hold in Area Mode

Ps = 49 ⇒ zGAPM — Guarded Area Print Mode

Ps = 51 ⇒ zACM — Alternate Cursor Mode

Ps = 52 ⇒ zMKM — Meta Key Mode

Ps = 53 ⇒ zCLIM — Caps Lock Invert Mode

Ps = 54 ⇒ zINM — Ignore NUL Mode

Ps = 55 ⇒ zCNM — CR New-Line Mode

Ps = 56 ⇒ zICM — Invisible Cursor Mode

Ps = 57 ⇒ zMMM — Meta Monitor Mode

Ps = 59 ⇒ zIVM — Inverse Video Mode

Ps = 61 ⇒ Z8RCM — 8-bit Remote Copy Mode

CSI Pm l RM — Reset Mode

Ps = 13 ⇒ FEAM — Format Effector Action Mode

Ps = 16 ⇒ TTM — Send through EOL or EOS

Ps = 30 ⇒ Scrollbars Off

Ps = 31 ⇒ WYSTLINM — Turn off status line

Ps = 32 ⇒ WYCTRSAVM — Screen Saver on

Ps = 35 ⇒ WYCLRM — Width change clear on

Ps = 36 ⇒ WYDELKM — Set delete key to DEL/CAN

Ps = 37 ⇒ WHGATM — Send erasable characters

Ps = 38 ⇒ WYTEXM — Send scrolling region

Ps = 40 ⇒ WYEXTDM — Extra data line

Ps = 50 ⇒ 97801-5XX - Compose key table off

CSI ? Pm l DECRST — DEC Private Mode Reset

Ps = 9 ⇒ DECINLM — Interlace

Ps = 10 ⇒ DECEDM — Block mode off

Ps = 34 ⇒ DECRLM — Right to Left Mode

Ps = 36 ⇒ DECHEM — Hebrew Encoding Mode

Ps = 40 ⇒ XTERM - Disallow 80 - 132 mode switch

Ps = 41 ⇒ XTERM - No more(1) fix

Ps = 43 ⇒ DECGEPM — Graphics Normal Print mode

Ps = 44 ⇒ DECGPCM — Graphics Print Monochrome mode

Ps = 45 ⇒ DECGPCS — Graphics Print Color syntax = HLS

Ps = 46 ⇒ DECGPBM — Graphics Print No-Background mode

Ps = 47 ⇒ DECGRCM — Graphics Unrotated Print mode

Ps = 47 ⇒ Use normal screen buffer (xterm)

Ps = 53 ⇒ DEC131TM — VT131 Transmit

Ps = 60 ⇒ DECHCCM — Horizontal cursor coupling

Ps = 61 ⇒ DECVCCM — Vertical cursor coupling

Ps = 68 ⇒ DECKBUM — Keyboard Usage - Typewriter mode

Ps = 73 ⇒ DECXRLM — Transmit rate limiting

Ps = 84 ⇒ WYENAT

Ps = 85 ⇒ WYREPL

Ps = 1001 ⇒ XTERM - Don't use Hilite Mouse Tracking

Ps = 1005 ⇒ XTERM - UTF-8 Mouse Mode

Ps = 1007 ⇒ XTERM - Alternate Scroll Mode

Ps = 1010 ⇒ RXVT - Scroll to bottom on tty output

CIS > Pm l Zenith/Heath Mode Reset

Ps = 3 ⇒ Exit Hold Screen Mode

Ps = 25 ⇒ zMDM — Margin Bell Mode

Ps = 26 ⇒ zKCM — Key Click Mode

Ps = 27 ⇒ zKPCM — Key Pad Control Mode

Ps = 28 ⇒ zKRM — Key Repeat Mode

Ps = 29 ⇒ zRLM — Return Line Feed Mode

Ps = 30 ⇒ zDBM — Destructive Backspace Mode

Ps = 31 ⇒ zBKCM — Block Cursor Mode

Ps = 32 ⇒ zBNCM — Blinking Cursor Mode

Ps = 33 ⇒ zWFM — Wrap Forward Mode

Ps = 34 ⇒ zWBM — Wrap Backward Mode

Ps = 35 ⇒ zDDM — DEL character Display Mode

Ps = 36 ⇒ zSPM — Scroll Page Mode

Ps = 37 ⇒ zAXM — Auto Xoff/Xon Mode

Ps = 38 ⇒ zAPM — Auto Pause Mode

Ps = 39 ⇒ zSSM — Slow Scroll Mode

Ps = 40 ⇒ zHDM — Half-Duplex Mode

Ps = 41 ⇒ zTPDM — Transfer Pointer Display Mode

Ps = 42 ⇒ zLTM — Line Transfer Mode

Ps = 43 ⇒ zCSTM — Column Separator Transfer Mode

Ps = 44 ⇒ zFSTM — Field Separator Transfer Mode

Ps = 45 ⇒ zGRTM — Graphic Rendition Transfer Mode

Ps = 46 ⇒ zAKDM — Auto Keyboard Disable Mode

Ps = 47 ⇒ zFRM — Fast Repeat Mode

Ps = 48 ⇒ zHAM — Hold in Area Mode

Ps = 49 ⇒ zGAPM — Guarded Area Print Mode

Ps = 51 ⇒ zACM — Alternate Cursor Mode

Ps = 52 ⇒ zMKM — Meta Key Mode

Ps = 53 ⇒ zCLIM — Caps Lock Invert Mode

Ps = 54 ⇒ zINM — Ignore NUL Mode

Ps = 55 ⇒ zCNM — CR New-Line Mode

Ps = 56 ⇒ zICM — Invisible Cursor Mode

Ps = 57 ⇒ zMMM — Meta Monitor Mode

Ps = 59 ⇒ zIVM — Inverse Video Mode

Ps = 61 ⇒ Z8RCM — 8-bit Remote Copy Mode

CSI Pm m SGR — Select Graphic Rendition

Ps = 12 ⇒ Map 80-FF

Ps = 38 ⇒ Enable Underline Option

Ps = 50 ⇒ Save Attributes

Ps = 50 ⇒ Reset to the original color pair

Ps = 51 ⇒ Ignored

Ps = 53 ⇒ Overline On

Ps = 55 ⇒ Overline Off

CSI o DAQ — Define Area Qualification

CSI p SUNBOW — Black On White

CSI p Transmit Page to host

CSI ? Ps $ p DECRQM — Request DEC mode

Ps = 10 ⇒ DECEDM — Block mode

Ps = 40 ⇒ 80 - 132 mode switch

Ps = 41 ⇒ more(1) fix

Ps = 43 ⇒ DECGEPM — Graphics Normal Print mode

Ps = 44 ⇒ DECGPCM — Graphics Print Monochrome mode

Ps = 45 ⇒ DECGPCS — Graphics Print Color syntax = HLS

Ps = 46 ⇒ DECGPBM — Graphics Print No-Background mode

Ps = 47 ⇒ DECGRCM — Graphics Unrotated Print mode

Ps = 47 ⇒ Use normal screen buffer (xterm)

Ps = 53 ⇒ DEC131TM — VT131 Transmit

Ps = 1001 ⇒ XTERM - Use Hilite Mouse Tracking

Ps = 1007 ⇒ XTERM - Alternate Scroll Mode

Ps = 1010 ⇒ RXVT - Scroll to bottom on tty output

CSI q Transmit 25th line to host

CSI q SUNWOB — White On Black

CSI Ps q Set CH.CODE LED

CSI Ps r Set Baud Rate

CSI Ps r SUNSCRL — Set Scrolling Region

CSI ? Pm r Restore Modes

CSI ? Pm s Save Modes

CSI s zPSH — Push Line

CSI t zPOP — Pop Line

CSI Ps t Card Reader operations

Ps = 0 ⇒ Disable ID card reader

Ps = 1 ⇒ Enable ID card reader

CSI > Ps t XTSMTITLE — set xterm title mode features

Ps = 0 ⇒ Set window/icon labels using hexadecimal

Ps = 1 ⇒ Query window/icon labels using hexadecimal

Ps = 2 ⇒ Set window/icon labels using UTF-8

Ps = 3 ⇒ Query window/icon labels using UTF-8

CSI u zSTP — Set Transfer Point

CSI Ps u SNI97801 Various mode options

Ps = 2 ⇒ Clear character NUL

Ps = 3 ⇒ Clear character SP

Ps = 4 ⇒ Video timeout off

Ps = 5 ⇒ Video timeout on

Ps = 18 ⇒ Reduced-intensity character display

Ps = 19 ⇒ Reduced-intensity background display

CSI v zSRC — Start Remote Copy

CSI w VT raw keyboard input

CSI Ps w Transmit keylock switch status / Reinitialize character generator

CSI Ps ; Ps ; Ps w zSPF — Set Print Format

CSI & x DECES — Enable Session

CSI y Virtual Terminal locator report

CSI Ps y

Ps = 21 ⇒ Activate 7-bit mode

Ps = 22 ⇒ Query active mode

CSI 2 ; Ps y DECTST — VT100 confidence tests

CSI z zSTE — Set Transfer End

CSI Ps z SSW — Switch to screen

CSI Ps ; Ps z Define left and right margins

Operating System Commands

OSC Ps ; Pt BEL
OSC Ps ; Pt ST
Set Text Parameters

Ps = 1 ⇒ Change icon name

Ps = 3 ⇒ Set X property on top-level window

Ps = 13 ⇒ Change pointer foreground color

Ps = 14 ⇒ Change pointer background color

Ps = 15 ⇒ Change tektronix foreground color

Ps = 16 ⇒ Change tektronix background color

Ps = 18 ⇒ Change tektronix cursor color

Ps = 2L ⇒ DECSIN — Set Icon Title

Ps = 113 ⇒ Reset pointer foreground color

Ps = 114 ⇒ Reset pointer background color

Ps = 115 ⇒ Reset tektronix foreground color

Ps = 116 ⇒ Reset Tektronix background color

Ps = 118 ⇒ Reset tektronix cursor color

Ps = I ; c ⇒ Set icon to file

Ps = L ; c ⇒ set icon label

Color Support in Kermit 95

Paging

The Last Column Flag