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

Kermit 95 Control Sequences (Outline)


Kermit 95 Release: 3.0.0 DEV
Build Date: 27 August 2025

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 } DECKBDKeyboard Language Selection

ESC # Transmit Page (H19)

ESC # 7 DECHCPHard Copy (DEC Private)

ESC ( C SCSDesignate G0 Character Set

SNI-97801 specific character sets

ESC ) C SCSDesignate G1 Character Set

Additional linux character sets

ESC 1 Graphic Processor On

ESC 2 Graphic Processor Off

ESC 6 zTIToggle IRM

ESC : zGUAGuard Unprotected Areas

ESC F SSAStart Selected Area

ESC F Cursor Home Down (HPTERM)

ESC I HTJHorizontal Tab with Justify

ESC S STSSet Transmit State

ESC [ Hold Screen mode on (H19)

ESC \ Exit hold screen (H19)

ESC ] Transmit line 25 to host (H19)

ESC a INTInterrupt (AAA)

ESC r Modify Baud Rate (H19)

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 SEFSet 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 SEESelect Editing Extent

CSI = Ps $ R Reset virtual window (BA80)

CSI Y CVTCursor Vertical Tab

CSI Ps [ Select Reversed String

CSI Pm ] 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 SMSet Mode

Ps = 13 Control execution off

Ps = 16 TTMSend through cursor position

Ps = 30 Scrollbars On

Ps = 31 WYSTLINMDisplay status line

Ps = 32 WYCTRSAVMScreen Saver off

Ps = 33 WYSTCURMCursor steady

Ps = 35 WYCLRMWidth change clear off

Ps = 36 WYDELKMSet delete key to BS/DEL

Ps = 37 WYGATMSend all characters

Ps = 38 WYTEXMSend full page

Ps = 40 WYEXTDMExtra data line

Ps = 42 WYASCIISelect Wyse 350 personality

Ps = 50 Compose key table on

Ps = 51 Dead key table on

CSI ? Pm h DECSETDEC Private Mode Set

Ps = 9 DECINLMInterlace

Ps = 10 DECEDMBlock Mode On

Ps = 34 DECRLMRight to Left Mode

Ps = 36 DECHEMHebrew Encoding Mode

Ps = 38 DECTEKEnter Tektronix 4010/4014 mode

Ps = 40 XTERM - Allow 80 - 132 Mode

Ps = 41 XTERM - more(1) fix

Ps = 43 DECGEPMGraphics Expanded Print mode

Ps = 44 DECGPCMGraphics Print Color mode

Ps = 45 DECGPCSGraphics Print Color syntax = RGB

Ps = 46 DECGPBMGraphics Print Background mode

Ps = 47 DECGRCMGraphics Rotated Print mode

Ps = 47 Use alternate screen buffer (xterm)

Ps = 53 DEC131TMVT131 Transmit

Ps = 60 DECHCCMHorizontal cursor coupling

Ps = 61 DECVCCMVertical cursor coupling

Ps = 64 DECPCCMPage cursor coupling

Ps = 68 DECKBUMKeyboard Usage - Data Processing

Ps = 73 DECXRLMTransmit rate limiting

Ps = 80 DECSDMEnable Sixel Display Mode

Ps = 84 WYENATErasable/non-erasable attribute select

Ps = 85 WYREPLReplacement 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 zMDMMargin Bell Mode

Ps = 26 zKCMKey Click Mode

Ps = 27 zKPCMKey Pad Control Mode

Ps = 28 zKRMKey Repeat Mode

Ps = 29 zRLMReturn Line Feed Mode

Ps = 30 zDBMDestructive Backspace Mode

Ps = 31 zBKCMBlock Cursor Mode

Ps = 32 zBNCMBlinking Cursor Mode

Ps = 33 zWFMWrap Forward Mode

Ps = 34 zWBMWrap Backward Mode

Ps = 35 zDDMDEL character Display Mode

Ps = 36 zSPMScroll Page Mode

Ps = 37 zAXMAuto Xoff/Xon Mode

Ps = 38 zAPMAuto Pause Mode

Ps = 39 zSSMSlow Scroll Mode

Ps = 40 zHDMHalf-Duplex Mod

Ps = 41 zTPDMTransfer Pointer Display Mode

Ps = 42 zLTMLine Transfer Mode

Ps = 43 zCSTMColumn Separator Transfer Mode

Ps = 44 zFSTMField Separator Transfer Mode

Ps = 45 zGRTMGraphic Rendition Transfer Mode

Ps = 46 zAKDMAuto Keyboard Disable Mode

Ps = 47 zFRMFast Repeat Mode

Ps = 48 zHAMHold in Area Mode

Ps = 49 zGAPMGuarded Area Print Mode

Ps = 51 zACMAlternate Cursor Mode

Ps = 52 zMKMMeta Key Mode

Ps = 53 zCLIMCaps Lock Invert Mode

Ps = 54 zINMIgnore NUL Mode

Ps = 55 zCNMCR New-Line Mode

Ps = 56 zICMInvisible Cursor Mode

Ps = 57 zMMMMeta Monitor Mode

Ps = 59 zIVMInverse Video Mode

Ps = 61 Z8RCM8-bit Remote Copy Mode

CSI Pm l RMReset Mode

Ps = 13 FEAMControl execution on

Ps = 16 TTMSend through EOL or EOS

Ps = 30 Scrollbars Off

Ps = 31 WYSTLINMTurn off status line

Ps = 32 WYCTRSAVMScreen Saver on

Ps = 33 WYSTCURMCursor blinking

Ps = 35 WYCLRMWidth change clear on

Ps = 36 WYDELKMSet delete key to DEL/CAN

Ps = 37 WHGATMSend erasable characters

Ps = 38 WYTEXMSend scrolling region

Ps = 40 WYEXTDMExtra data line

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

CSI ? Pm l DECRSTDEC Private Mode Reset

Ps = 9 DECINLMInterlace

Ps = 10 DECEDMBlock mode off

Ps = 34 DECRLMRight to Left Mode

Ps = 36 DECHEMHebrew Encoding Mode

Ps = 40 XTERM - Disallow 80 - 132 mode switch

Ps = 41 XTERM - No more(1) fix

Ps = 43 DECGEPMGraphics Normal Print mode

Ps = 44 DECGPCMGraphics Print Monochrome mode

Ps = 45 DECGPCSGraphics Print Color syntax = HLS

Ps = 46 DECGPBMGraphics Print No-Background mode

Ps = 47 DECGRCMGraphics Unrotated Print mode

Ps = 47 Use normal screen buffer (xterm)

Ps = 53 DEC131TMVT131 Transmit

Ps = 60 DECHCCMHorizontal cursor coupling

Ps = 61 DECVCCMVertical cursor coupling

Ps = 64 DECPCCMPage cursor coupling

Ps = 68 DECKBUMKeyboard Usage - Typewriter mode

Ps = 73 DECXRLMTransmit 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 zMDMMargin Bell Mode

Ps = 26 zKCMKey Click Mode

Ps = 27 zKPCMKey Pad Control Mode

Ps = 28 zKRMKey Repeat Mode

Ps = 29 zRLMReturn Line Feed Mode

Ps = 30 zDBMDestructive Backspace Mode

Ps = 31 zBKCMBlock Cursor Mode

Ps = 32 zBNCMBlinking Cursor Mode

Ps = 33 zWFMWrap Forward Mode

Ps = 34 zWBMWrap Backward Mode

Ps = 35 zDDMDEL character Display Mode

Ps = 36 zSPMScroll Page Mode

Ps = 37 zAXMAuto Xoff/Xon Mode

Ps = 38 zAPMAuto Pause Mode

Ps = 39 zSSMSlow Scroll Mode

Ps = 40 zHDMHalf-Duplex Mode

Ps = 41 zTPDMTransfer Pointer Display Mode

Ps = 42 zLTMLine Transfer Mode

Ps = 43 zCSTMColumn Separator Transfer Mode

Ps = 44 zFSTMField Separator Transfer Mode

Ps = 45 zGRTMGraphic Rendition Transfer Mode

Ps = 46 zAKDMAuto Keyboard Disable Mode

Ps = 47 zFRMFast Repeat Mode

Ps = 48 zHAMHold in Area Mode

Ps = 49 zGAPMGuarded Area Print Mode

Ps = 51 zACMAlternate Cursor Mode

Ps = 52 zMKMMeta Key Mode

Ps = 53 zCLIMCaps Lock Invert Mode

Ps = 54 zINMIgnore NUL Mode

Ps = 55 zCNMCR New-Line Mode

Ps = 56 zICMInvisible Cursor Mode

Ps = 57 zMMMMeta Monitor Mode

Ps = 59 zIVMInverse Video Mode

Ps = 61 Z8RCM8-bit Remote Copy Mode

CSI Pm m SGRSelect 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

CSI o DAQDefine Area Qualification

CSI p SUNBOWBlack On White

CSI p Transmit Page to host

CSI ? Ps $ p DECRQMRequest DEC mode

Ps = 10 DECEDMBlock mode

Ps = 40 80 - 132 mode switch

Ps = 41 more(1) fix

Ps = 43 DECGEPMGraphics Normal Print mode

Ps = 44 DECGPCMGraphics Print Monochrome mode

Ps = 45 DECGPCSGraphics Print Color syntax = HLS

Ps = 46 DECGPBMGraphics Print No-Background mode

Ps = 47 DECGRCMGraphics Unrotated Print mode

Ps = 47 Use normal screen buffer (xterm)

Ps = 53 DEC131TMVT131 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 SUNWOBWhite On Black

CSI Ps q Set CH.CODE LED

CSI Ps r Set Baud Rate

CSI Ps r SUNSCRLSet Scrolling Region

CSI ? Pm r Restore Modes

CSI ? Pm s Save Modes

CSI s zPSHPush Line

CSI t zPOPPop Line

CSI Ps t Card Reader operations

Ps = 0 Disable ID card reader

Ps = 1 Enable ID card reader

CSI > Ps t XTSMTITLEset 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 zSTPSet 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 zSRCStart Remote Copy

CSI w VT raw keyboard input

CSI Ps w Transmit keylock switch status / Reinitialize character generator

CSI Ps ; Ps ; Ps w zSPFSet Print Format

CSI & x DECESEnable 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 DECTSTVT100 confidence tests

CSI z zSTESet Transfer End

CSI Ps z SSWSwitch 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 DECSINSet 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