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: 16 April 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 G ESAEnd selected area

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)

Device-Control functions

DCS $ q Pt ST DECRQSSRequest Status String

Pt = m SGR

Pt = " q DECSCA

Pt = " p DECSCL

Pt = r DECSTBM

Pt = s DECSLRMSet Left and Right Margins

Pt = t DECSLPP

Pt = } DECPRO

Pt = $ | DECPRO

Pt = $ } DECSASD

Pt = $ ~ DECSSDT

Pt = * x DECSACESelect Attrib Change Extent

Pt = * | DECSNLSSet Num Lines Per Screen

Pt = | DECTTC

Pt = ' s DECTLTC

Pt = + q DECELFEnable Local Functions

Pt = + r DECSMKRSelect modifier key reporting

Pt = = } DECLFKCLocal Function Key Control

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 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 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 ] Various display settings

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 = 8 DECARMAutorepeat

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 = 1004 XTERM - Send FocusIn / FocusOut events

Ps = 1007 XTERM - Enable Alternate Scroll Mode

Ps = 1010 RXVT - Scroll to bottom on tty output

Ps = 1011 RXVT - Scroll to bottom on key press

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 = 8 DECARMAuto repeat

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 = 1004 XTERM - Send FocusIn/FocusOut events

Ps = 1005 XTERM - UTF-8 Mouse Mode

Ps = 1007 XTERM - Alternate Scroll Mode

Ps = 1010 RXVT - Scroll to bottom on tty output

Ps = 1011 RXVT - Scroll to bottom on key press

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 = 1004 XTERM - Send FocusIn / FocusOut events

Ps = 1007 XTERM - Alternate Scroll Mode

Ps = 1010 RXVT - Scroll to bottom on tty output

Ps = 1011 RXVT - Scroll to bottom on key press

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 ; Ps ; Ps t XTWINOPSWindow manipulation

Ps = 5 Raise Window

Ps = 6 Lower Window

Ps = 7 Refresh the xterm window

Ps = 9 Maximise Window

Ps = 10 Full Screen Mode

Ps = 15 Report size of the screen in pixels

Ps = 16 Report xterm character cell size in pixels

Ps = 19 Report the size of the screen in characters

Ps = 20 Report icon label

Ps = 21 Report window label

Ps = 22 Save icon and window title on stack

Ps = 23 Restore title and/or icon from stack

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

Kermit k95 currently only supports a limited selection of Operating System Commands for the purpose of setting the window title. These can be terminated with either an ST (OSC Ps ; Pt ST) or, for compatibility purposes, a BEL (OSC Ps ; Pt BEL)

Ps specifies the type of operation:

Ps = 0 Window title (xterm)

Sets the window title to the value supplied, up to 63 characters.

Ps = 2 DECSINSet Icon Title

Set Icon Title (VT520)

Ps = 21 DECSWTSet Window Title

Sets the window title to the value supplied, up to 63 characters.