## freshly generated section, see for the file header below ## PRINT.table.XEX Instruction:2|Scope|Operation|Args |scr|ShowCharacter|p NUL.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| SOH.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| STX.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| ETX.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| EOT.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| ENQ.table.XEX Instruction:2|Scope|Operation|Args |emu|reportAnswerBack| ACK.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| BEL.table.XEX Instruction:2|Scope|Operation|Args |gui|Bell| BS.table.XEX Instruction:2|Scope|Operation|Args |scr|BackSpace| HT.table.XEX Instruction:2|Scope|Operation|Args |scr|Tabulate| LF.table.XEX Instruction:2|Scope|Operation|Args |emu|NewLine| VT.table.XEX Instruction:2|Scope|Operation|Args |emu|NewLine| FF.table.XEX Instruction:2|Scope|Operation|Args |emu|NewLine| CR.table.XEX Instruction:2|Scope|Operation|Args |scr|Return| LS0.table.XEX Instruction:2|Scope|Operation|Args |scr|useCharset|1 LS1.table.XEX Instruction:2|Scope|Operation|Args |scr|useCharset|0 DLE.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| DC1.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| DC2.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| DC3.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| DC4.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| NAK.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| SYN.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| ETB.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| CAN.table.XEX Instruction:2|Scope|Operation|Args |scr|ShowCharacter|2 EM.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| SUB.table.XEX Instruction:2|Scope|Operation|Args |scr|ShowCharacter|2 ESC.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| FS.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| GS.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| RS.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| US.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| IND.table.XEX Instruction:2|Scope|Operation|Args |scr|index| NEL.table.XEX Instruction:2|Scope|Operation|Args |scr|NextLine| HTS.table.XEX Instruction:2|Scope|Operation|Args |scr|changeTabStop|TRUE RI.table.XEX Instruction:2|Scope|Operation|Args |scr|reverseIndex| DECID.table.XEX Instruction:2|Scope|Operation|Args |emu|reportTerminalType| RIS.table.XEX Instruction:2|Scope|Operation|Args |emu|resetTerminal| LS2.table.XEX Instruction:2|Scope|Operation|Args |scr|useCharset|2 LS3.table.XEX Instruction:2|Scope|Operation|Args |scr|useCharset|3 DECSC.table.XEX Instruction:2|Scope|Operation|Args |scr|saveCursor| DECRC.table.XEX Instruction:2|Scope|Operation|Args |scr|restoreCursor| DECKPAM.table.XEX Instruction:2|Scope|Operation|Args |emu|setMode|MODE_AppKeyPad DECKPNM.table.XEX Instruction:2|Scope|Operation|Args |emu|resetMode|MODE_AppKeyPad DECANSI.table.XEX Instruction:2|Scope|Operation|Args |emu|setMode|MODE_Ansi SCS.table.XEX Instruction:2|Scope|Operation|Args |emu|setCharset|p-'(',q DECDHLT.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| DECDHLB.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| DECSWL.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| DECDWL.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| DECALN.table.XEX Instruction:2|Scope|Operation|Args |scr|helpAlign| EL.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 0|konsole|scr|clearToEndOfLine||Meaning 1|konsole|scr|clearToBeginOfLine||Meaning 2|konsole|scr|clearEntireLine||Meaning ED.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 0|konsole|scr|clearToEndOfScreen||Meaning 1|konsole|scr|clearToBeginOfScreen||Meaning 2|konsole|scr|clearEntireScreen||Meaning TBC.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 0|konsole|scr|changeTabStop|FALSE|Meaning 3|konsole|scr|clearTabStops||Meaning SM.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 4|konsole|scr|setMode|MODE_Insert|Meaning 20|konsole|emu|setMode|MODE_NewLine|\ref:LNM MC.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 0|konsole|emu|Ignored||Meaning RM.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 4|konsole|scr|resetMode|MODE_Insert|Meaning 20|konsole|emu|resetMode|MODE_NewLine|\ref:LNM SGR.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 0|konsole|scr|setDefaultRendition||Meaning 1|konsole|scr|setRendition|RE_BOLD|Meaning 4|konsole|scr|setRendition|RE_UNDERLINE|Meaning 5|konsole|scr|setRendition|RE_BLINK|Meaning 7|konsole|scr|setRendition|RE_REVERSE|Meaning 10|konsole|emu|Ignored||Meaning 11|konsole|emu|Ignored||Meaning 12|konsole|emu|Ignored||Meaning 22|konsole|scr|resetRendition|RE_BOLD|Meaning 24|konsole|scr|resetRendition|RE_UNDERLINE|Meaning 25|konsole|scr|resetRendition|RE_BLINK|Meaning 27|konsole|scr|resetRendition|RE_REVERSE|Meaning 30|konsole|scr|setForeColor|0|Meaning 31|konsole|scr|setForeColor|1|Meaning 32|konsole|scr|setForeColor|2|Meaning 33|konsole|scr|setForeColor|3|Meaning 34|konsole|scr|setForeColor|4|Meaning 35|konsole|scr|setForeColor|5|Meaning 36|konsole|scr|setForeColor|6|Meaning 37|konsole|scr|setForeColor|7|Meaning 39|konsole|scr|setForeColorToDefault||Meaning 40|konsole|scr|setBackColor|0|Meaning 41|konsole|scr|setBackColor|1|Meaning 42|konsole|scr|setBackColor|2|Meaning 43|konsole|scr|setBackColor|3|Meaning 44|konsole|scr|setBackColor|4|Meaning 45|konsole|scr|setBackColor|5|Meaning 46|konsole|scr|setBackColor|6|Meaning 47|konsole|scr|setBackColor|7|Meaning 49|konsole|scr|setBackColorToDefault||Meaning 90|konsole|scr|setForeColor|8|Meaning 91|konsole|scr|setForeColor|9|Meaning 92|konsole|scr|setForeColor|10|Meaning 93|konsole|scr|setForeColor|11|Meaning 94|konsole|scr|setForeColor|12|Meaning 95|konsole|scr|setForeColor|13|Meaning 96|konsole|scr|setForeColor|14|Meaning 97|konsole|scr|setForeColor|15|Meaning 100|konsole|scr|setBackColor|8|Meaning 101|konsole|scr|setBackColor|9|Meaning 102|konsole|scr|setBackColor|10|Meaning 103|konsole|scr|setBackColor|11|Meaning 104|konsole|scr|setBackColor|12|Meaning 105|konsole|scr|setBackColor|13|Meaning 106|konsole|scr|setBackColor|14|Meaning 107|konsole|scr|setBackColor|15|Meaning DSR.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 5|konsole|emu|reportStatus||Meaning 6|konsole|emu|reportCursorPosition||Meaning DECREQTPARM.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 0|konsole|emu|reportTerminalParms|2|Meaning 1|konsole|emu|reportTerminalParms|3|Meaning ICH.table.XEX Instruction:2|Scope|Operation|Args |scr|insertChars|p CUU.table.XEX Instruction:2|Scope|Operation|Args |scr|cursorUp|p CUD.table.XEX Instruction:2|Scope|Operation|Args |scr|cursorDown|p CUF.table.XEX Instruction:2|Scope|Operation|Args |scr|cursorRight|p CUB.table.XEX Instruction:2|Scope|Operation|Args |scr|cursorLeft|p CHA.table.XEX Instruction:2|Scope|Operation|Args |scr|setCursorX|p CUP.table.XEX Instruction:2|Scope|Operation|Args |scr|setCursorYX|p,q IL.table.XEX Instruction:2|Scope|Operation|Args |scr|insertLines|p DL.table.XEX Instruction:2|Scope|Operation|Args |scr|deleteLines|p DCH.table.XEX Instruction:2|Scope|Operation|Args |scr|deleteChars|p ECH.table.XEX Instruction:2|Scope|Operation|Args |scr|eraseChars|p DA.table.XEX Instruction:2|Scope|Operation|Args |emu|reportTerminalType| VPA.table.XEX Instruction:2|Scope|Operation|Args |scr|setCursorY|p HVP.table.XEX Instruction:2|Scope|Operation|Args |scr|setCursorYX|p,q DECSTBM.table.XEX Instruction:2|Scope|Operation|Args |scr|setMargins|p,q DECTST.table.XEX Instruction:2|Scope|Operation|Args |emu|Ignored| DECSET.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 1|konsole|emu|setMode|MODE_AppCuKeys|Meaning 3|konsole|emu|setColumns|132|Meaning 4|konsole|emu|Ignored||Meaning 5|konsole|scr|setMode|MODE_Screen|Meaning 6|konsole|scr|setMode|MODE_Origin|Meaning 7|konsole|scr|setMode|MODE_Wrap|Meaning 8|konsole|emu|Ignored||Meaning 9|konsole|emu|Ignored||Meaning 25|konsole|emu|setMode|MODE_Cursor|Meaning 47|konsole|emu|setMode|MODE_AppScreen|Meaning 1000|konsole|emu|setMode|MODE_Mouse1000|Meaning 1001|konsole|emu|Ignored||Meaning 1047|konsole|emu|setMode|MODE_AppScreen|Meaning 1048|konsole|scr|saveCursor||Meaning DECRST.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 1|konsole|emu|resetMode|MODE_AppCuKeys|Meaning 2|konsole|emu|resetMode|MODE_Ansi|Meaning 3|konsole|emu|setColumns|80|Meaning 4|konsole|emu|Ignored||Meaning 5|konsole|scr|resetMode|MODE_Screen|Meaning 6|konsole|scr|resetMode|MODE_Origin|Meaning 7|konsole|scr|resetMode|MODE_Wrap|Meaning 8|konsole|emu|Ignored||Meaning 9|konsole|emu|Ignored||Meaning 25|konsole|emu|resetMode|MODE_Cursor|Meaning 47|konsole|emu|resetMode|MODE_AppScreen|Meaning 1000|konsole|emu|resetMode|MODE_Mouse1000|Meaning 1001|konsole|emu|Ignored||Meaning 1047|konsole|emu|resetMode|MODE_AppScreen|Meaning 1048|konsole|scr|restoreCursor||Meaning XTESAVE.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 1|konsole|emu|saveMode|MODE_AppCuKeys|Meaning 6|konsole|scr|saveMode|MODE_Origin|Meaning 7|konsole|scr|saveMode|MODE_Wrap|Meaning 1000|konsole|emu|saveMode|MODE_Mouse1000|Meaning 1001|konsole|emu|Ignored||Meaning XTERESTORE.table.XPS Subcode|Emulation|Scope|Operation|Args|Meaning 1|konsole|emu|restoreMode|MODE_AppCuKeys|Meaning 6|konsole|scr|restoreMode|MODE_Origin|Meaning 7|konsole|scr|restoreMode|MODE_Wrap|Meaning 1000|konsole|emu|restoreMode|MODE_Mouse1000|Meaning 1001|konsole|emu|Ignored||Meaning VT52CUU.table.XEX Instruction:2|Scope|Operation|Args |scr|cursorUp|1 VT52CUD.table.XEX Instruction:2|Scope|Operation|Args |scr|cursorDown|1 VT52CUF.table.XEX Instruction:2|Scope|Operation|Args |scr|cursorRight|1 VT52CUB.table.XEX Instruction:2|Scope|Operation|Args |scr|cursorLeft|1 VT52SCSF.table.XEX Instruction:2|Scope|Operation|Args |scr|setAndUseCharset|0,'0' VT52SCSG.table.XEX Instruction:2|Scope|Operation|Args |scr|setAndUseCharset|0,'B' VT52CUH.table.XEX Instruction:2|Scope|Operation|Args |scr|setCursorYX|1,1 VT52RI.table.XEX Instruction:2|Scope|Operation|Args |scr|reverseIndex| VT52EDS.table.XEX Instruction:2|Scope|Operation|Args |scr|clearToEndOfScreen| VT52EDL.table.XEX Instruction:2|Scope|Operation|Args |scr|clearToEndOfLine| VT52CUP.table.XEX Instruction:2|Scope|Operation|Args |scr|setCursorYX|p-31,q-31 VT52REP.table.XEX Instruction:2|Scope|Operation|Args |emu|reportTerminalType| VT52ANSI.table.XEX Instruction:2|Scope|Operation|Args |emu|setMode|MODE_Ansi VT52KPAM.table.XEX Instruction:2|Scope|Operation|Args |emu|setMode|MODE_AppKeyPad VT52KPNM.table.XEX Instruction:2|Scope|Operation|Args |emu|resetMode|MODE_AppKeyPad ############################################################################## # # # [Table.Codes] Concept Data Base # # # # Copyright (c) 1998 by Lars Doelle # # This file is part of Konsole # ############################################################################## # This is work in progress. The overall goal is to link the documentation of # konsole closely to it's source. Further, the source could be organize such # that the emulation dependent parts are separated from everything else. # If this goal is matched, the emulation independent parts have to undergo # documentation, also. # # Refere to [db.trans] for not-yet-integrated stuff. # # What has to be done in any case is to merge db.trans into this file and to # make a script that extracts it again. From db.trans, we then generate parts # of the decoder (the semantic assignment). # # db2.pl contains as script able to slit TEScreen.C into the emulation # (in)dependent parts due to [db.trans]. # # A like thing has to be done for TEmuVt102.C/h and for TEScreen.h. # # The missing link in the moment is a proper handling of all the Ps arguments # that refere to different routines (subfunction of an esc code). ## Keyboard ################################################################# KEYBOARD.head Keyboard Events KEYBOARD.emus KONSOLE KEYBOARD.sect Event KEYBOARD.text FIXME. explain KEYBOARD.table.Codes Key|Code:4 AltButton|"\033" Return|MODE_NewLine ? "\r\n" : "\r" Backspace|MODE_BsHack ? "\x7f" : "\x08" Delete|MODE_BsHack ? "\033[3~" : "\x7f" Up|!MODE_Ansi ?"\033A" : MODE_AppCuKeys ?"\033OA" : "\033[A" Down|!MODE_Ansi ?"\033B" : MODE_AppCuKeys ?"\033OB" : "\033[B" Right|!MODE_Ansi ?"\033C" : MODE_AppCuKeys ?"\033OC" : "\033[C" Left|!MODE_Ansi ?"\033D" : MODE_AppCuKeys ?"\033OD" : "\033[D" F1|Xterm? "\033[11~": "\033[[A" F2|Xterm? "\033[12~": "\033[[B" F3|Xterm? "\033[13~": "\033[[C" F4|Xterm? "\033[14~": "\033[[D" F5|Xterm? "\033[15~": "\033[[E" F6|"\033[17~" F7|"\033[18~" F8|"\033[19~" F9|"\033[20~" F10|"\033[21~" F11|"\033[23~" F12|"\033[24~" Home|"\033[7~" End|"\033[8~" Prior|"\033[5~" Next|"\033[6~" Insert|"\033[2~" Control_Space|"\x00" Control_Print|reportAnswerBack() Ascii|Character MOUSE.head Mouse Events MOUSE.emus KONSOLE MOUSE.sect Event MOUSE.text FIXME. explain CHA.head Cursor Horizontal Absolute CHA.emus ECMA KONSOLE CHA.sect Command.Cursor CHA.code CSI|G|{Pn} CHA.text FIXME. explain DCH.head Delete Character DCH.emus ECMA KONSOLE DCH.sect Command.Delete DCH.code CSI|P|{Pn} DCH.text FIXME. explain DECRST.head DEC Private Reset Mode DECRST.emus VT100 KONSOLE DECRST.sect Command.SetMode DECRST.code PRI|l|{Ps;...} DECRST.text FIXME. explain DECSET.head DEC Private Set Mode DECSET.emus VT100 KONSOLE DECSET.sect Command.SetMode DECSET.code PRI|h|{Ps;...} DECSET.text FIXME. explain DL.head Delete Line DL.emus ECMA KONSOLE DL.sect Command.Delete DL.code CSI|M|{Pn} DL.text FIXME. explain ECH.head Erase Character ECH.emus ECMA KONSOLE ECH.sect Command.Erase ECH.code CSI|X|{Pn} ECH.text FIXME. explain ICH.head Insert Character ICH.emus ECMA KONSOLE ICH.sect Command.Insert ICH.code CSI|@|{Pn} ICH.text FIXME. explain IL.head Insert Line IL.emus KONSOLE IL.sect Command.Insert IL.code CSI|L|{Pn} IL.text FIXME. explain LS2.head Lock Shift Two LS2.emus KONSOLE LS2.sect Command.RenderMode LS2.code ESC|n| LS2.text FIXME. explain LS3.head Lock Shift Three LS3.emus KONSOLE LS3.sect Command.RenderMode LS3.code ESC|o| LS3.text FIXME. explain MC.head Media Copy MC.emus ECMA VT100 MC.sect Command.NoImp MC.code CSI|i|{Pn} MC.text FIXME. explain VPA.head Vertical Position Absolute VPA.emus ECMA KONSOLE VPA.sect Command.Cursor VPA.code CSI|d|{Pn} VPA.text FIXME. explain XTERESTORE.head XTerm Private Restore Mode XTERESTORE.emus XTERM KONSOLE XTERESTORE.sect Command.SetMode XTERESTORE.code PRI|r|{Ps;...} XTERESTORE.text FIXME. explain XTESAVE.head XTerm Private Save Mode XTESAVE.emus XTERM KONSOLE XTESAVE.sect Command.SetMode XTESAVE.code PRI|s|{Ps;...} XTESAVE.text FIXME. explain NUL.head Null NUL.emus VT100 XTERM Linux KONSOLE NUL.sect Command.Ignored NUL.code CTL|0x00| NUL.text NUL is used as media- or time-fill. It is ignored by Konsole, but may be sensible for devices which requiere a recognizable amount of time to complete some commands (e.g. form feed on a non-buffering printing device). SOH.head Start Of Heading SOH.emus VT100 XTERM Linux KONSOLE SOH.sect Command.Ignored SOH.code CTL|0x01| SOH.text Ignored STX.head Start Of Text STX.emus VT100 XTERM Linux KONSOLE STX.sect Command.Ignored STX.code CTL|0x02| STX.text Ignored ETX.head End Of Text ETX.emus VT100 XTERM Linux KONSOLE ETX.sect Command.Ignored ETX.code CTL|0x03| ETX.text Ignored EOT.head End Of Transmission EOT.emus VT100 XTERM Linux KONSOLE EOT.sect Command.Ignored EOT.code CTL|0x04| EOT.text Ignored ENQ.head Enquiry ENQ.emus VT100 ENQ.sect Command.Request ENQ.code CTL|0x05| ENQ.text Transmit the ANSWERBACK message. The answerback message can be loaded in SET-UP B (i.e. is a configurable string). ACK.head Acknowledge ACK.emus VT100 XTERM Linux KONSOLE ACK.sect Command.Ignored ACK.code CTL|0x06| ACK.text Ignored BEL.head Bell BEL.emus VT100 BEL.sect Command BEL.code CTL|0x07| BEL.text Sound bell BS.head Back Space BS.emus VT100 BS.sect Command.Cursor BS.code CTL|0x08| BS.text Move cursor to the left one position, unless it is at the left margin, in which case no action is taken. HT.head Horizontal Tabulation HT.emus VT100 HT.sect Command.Cursor HT.code CTL|0x09| HT.text Move cursor to the next tab stop, or to the right margin if no further tabs are set. LF.head Line Feed LF.emus VT100 LF.sect Command.Cursor LF.code CTL|0x0a| LF.text Causes either a line feed or new line operation (See \ref:LNM.) VT.head Vertical Tabulation VT.emus VT100 VT.sect Command.Cursor VT.code CTL|0x0b| VT.text Same as \ref:LF. FF.head Form Feed FF.emus VT100 FF.sect Command.Cursor FF.code CTL|0x0c| FF.text Same as \ref:LF. CR.head Carriage Return CR.emus VT100 CR.sect Command.Cursor CR.code CTL|0x0d| CR.text Move the cursor to the left margin of the current line. LS0.head Lock Shift Zero (Shift Out - SO) LS0.emus VT100 LS0.sect Command.RenderMode LS0.code CTL|0x0e| LS0.text Invoke the G1 character set, as designated by the \ref:SCS control sequence. LS1.head Lock Shift One (Shift In - SI) LS1.emus VT100 LS1.sect Command.RenderMode LS1.code CTL|0x0f| LS1.text Invoke the G0 character set, as selected by the ( sequence. DLE.head Data Link Escape DLE.emus VT100 XTERM Linux KONSOLE DLE.sect Command.Ignored DLE.code CTL|0x10| DLE.text Ignored DC1.head Device Control One DC1.emus VT100 DC1.sect Ignored DC1.code CTL|0x11| DC1.text Causes terminal to resume transmission (XON). DC2.head Device Control Two DC2.emus VT100 XTERM Linux KONSOLE DC2.sect Command.Ignored DC2.code CTL|0x12| DC2.text Ignored DC3.head Device Control Three DC3.emus VT100 XTERM Linux KONSOLE DC3.sect Command.Ignored DC3.code CTL|0x13| DC3.text Causes terminal to stop transmitting all codes except XOFF and XON (XOFF). DC4.head Device Control Four DC4.emus VT100 XTERM Linux KONSOLE DC4.sect Command.Ignored DC4.code CTL|0x14| DC4.text Ignored NAK.head Negative Acknowledge NAK.emus VT100 XTERM Linux KONSOLE NAK.sect Command.Ignored NAK.code CTL|0x15| NAK.text Ignored SYN.head Synchronous Idle SYN.emus VT100 XTERM Linux KONSOLE SYN.sect Command.Ignored SYN.code CTL|0x16| SYN.text Ignored ETB.head End Of Transmission Block ETB.emus VT100 XTERM Linux KONSOLE ETB.sect Command.Ignored ETB.code CTL|0x17| ETB.text Ignored CAN.head Cancel CAN.emus VT100 CAN.sect Command CAN.code CTL|0x18| CAN.text If sent during a control sequence, the sequence id immediately terminated and not executed. It also causes the error character (checkerboard) to be displayed. EM.head End Of Medium EM.emus VT100 XTERM Linux KONSOLE EM.sect Command.Ignored EM.code CTL|0x19| EM.text Ignored SUB.head Substitute SUB.emus VT100 SUB.sect Command SUB.code CTL|0x1a| SUB.text Same as \ref:CAN. ESC.head Escape ESC.emus ECMA VT100 ESC.sect Ignored ESC.code CTL|0x1b| ESC.text Introduces a control sequence. FS.head File Separator (IS4 - Information Separator Four) FS.emus VT100 XTERM Linux KONSOLE FS.sect Command.Ignored FS.code CTL|0x1c| FS.text Ignored GS.head Group Separator (IS3 - Information Separator Three) GS.emus VT100 XTERM Linux KONSOLE GS.sect Command.Ignored GS.code CTL|0x1d| GS.text Ignored RS.head Record Separator (IS2 - Information Separator Two) RS.emus VT100 XTERM Linux KONSOLE RS.sect Command.Ignored RS.code CTL|0x1e| RS.text Ignored US.head Unit Separator (IS1 - Information Separator One) US.emus VT100 XTERM Linux KONSOLE US.sect Command.Ignored US.code CTL|0x1f| US.text Ignored DEL.head Delete Character DEL.emus VT100 DEL.sect Command.Ignored DEL.code DEL|| DEL.text Ignored CPR.head Cursor Position Report CPR.emus ECMA VT100 CPR.sect Reply CPR.code CSI|R|{Pn;Pn} CPR.dflt 1 1 CPR.text The CPR sequence reports the active position by means of the parameters. This sequence has two parameter values, the first specifying the line and the second specifying the column. The default condition with no parameters present, or parameters of 0, is equivalent to a cursor at home position. . The numbering of the lines depends upon the state of the Origin Mode (\ref:DECOM). . This control sequence is sent in reply to a device status report (\ref:DSR) command sent from the host. CUB.head Cursor Backward CUB.emus ECMA VT100 CUB.sect Command.Cursor Event CUB.code CSI|D|{Pn} CUB.dflt 1 CUB.text The CUB sequence move the cursor to the left. The distance moved is determined by the parameter. If the parameter missing, zero, or one, the cursor is moved one position. The cursor cannot be moved past the left margin. CUD.head Cursor Down CUD.emus ECMA VT100 CUD.sect Command.Cursor Event CUD.code CSI|B|{Pn} CUD.dflt 1 CUD.text Moves the cursor down a number of lines as specified in the parameter without changing columns. The cursor cannot be moved past the bottom margin. CUF.head Cursor Foreward CUF.emus ECMA VT100 CUF.sect Command.Cursor Event CUF.code CSI|C|{Pn} CUF.dflt 1 CUF.text The CUF sequence moves the cursor to the right a number of positions specified in the parameter. The cursor cannot be moved past the right margin. CUP.head Cursor Position CUP.emus ECMA VT100 CUP.sect Command.Cursor CUP.code CSI|H|{Pn;Pn} CUP.dflt 1 1 CUP.text The CUP sequence moves the curor to the position specified by the parameters. The first parameter specifies the line, and the second specifies the column. A value of zero for either line or column moves the cursor to the first line or column in the display. The default string (H) homes the cursor. In the VT100, this command behaves identically to it's format effector counterpart, \ref:HVP. . The numbering of the lines depends upon the state of the Origin Mode (\ref:DECOM). CUU.head Cursor Up CUU.emus ECMA VT100 CUU.sect Command.Cursor Event CUU.code CSI|A|{Pn} CUU.dflt 1 CUU.text Moves the cursor up without changing columns. The cursor is moved up a number of lines as indicated by the parameter. The cursor cannot be moved beyond the top margin. DA.head Device Attributes Request DA.emus ECMA VT100 DA.sect Command.Request DA.code CSI|c|{Pn} DA.dflt 0 DA.text The host requests the VT100 to send a DA sequence to indentify itself. This is done by sending the DA sequence with no parameters, or with a parameter of zero. The device replies by (\ref:DECDA). DECDA.head Device Attributes Reply DECDA.emus VT100 DECDA.sect Reply DECDA.code PRI|c|{1;Pn} DECDA.text Response to the \ref:DA request (VT100 to host) is generated by the VT100 as a DECDA control sequence with the numeric parameters as follows: DECDA.table.Pn Pn|Meaning:4 0|No options 1|Processor Option (STP) 2|Advanced Video Option (AVO) 3|AVO and STP 4|Graphics Option (GPO) 5|GPO and STP 6|GPO and AVO DECALN.head Screen Alignment Display DECALN.emus VT100 DECALN.sect Command DECALN.code HSH|8| DECALN.text This command causes the VT100 to fill it's screen with uppercase Es for screen focus and alignment. DECANM.head ANSI/VT52 Mode DECANM.emus VT100 DECANM.sect Mode DECANM.text This is a private parameter to the \ref:SM and \ref:RM control sequences. The reset state causes only VT52 compatible escape sequences to be recognized. The set state causes only ANSI compatible escape sequences to be recognized. See the entries for \ref:MODES, \ref:SM, \ref:RM and \ref:VT52ANSI. DECARM.head Auto Repeat Mode DECARM.emus VT100 DECARM.sect Mode DECARM.text This is a private parameter to the \ref:SM and \ref:RM control sequences. The reset state causes no keyboard keys to auto-repeat, the set state causes most of them to. See \ref:MODES, \ref:SM and \ref:RM. DECAWM.head Autowrap Mode DECAWM.emus VT100 DECAWM.sect Mode DECAWM.text This is a private parameter to the \ref:SM and \ref:RM control sequences. The reset state prevents the cursor from moving when characters are recieved while at the right margin. The set state causes these characters to advance to the next line, causing a scroll up if required and permitted. See \ref:MODES, \ref:SM, and \ref:RM. DECCKM.head Cursor Keys Mode DECCKM.emus VT100 DECCKM.sect Mode DECCKM.text This is a private parameter to the \ref:SM and \ref:RM control requences. This mode is only effective when the terminal is in keypad application mode (\ref:DECKPAM) and the ANSI/VT52 mode (\ref:DECANM) is set. Under these conditions, if this mode is reset, the cursor keys will send ANSI cursor control commands. If setm the cursor keys will send application function commands. See \ref:MODES, \ref:RM, and \ref:SM. DECCOLM.head Column Mode DECCOLM.emus VT100 DECCOLM.sect Mode DECCOLM.text This is a private parameter to the \ref:SM and \ref:RM control sequences. The reset state causes an 80 column screen to be used. The set state causes a 132 column screen to be used. See \ref:MODES, \ref:RM, and \ref:SM. DECDHLT.head Double Height Line (Top) DECDHLT.emus VT100 DECDHLT.sect Command.NoImp DECDHLT.code HSH|3| DECDHLT.text This sequence cause the line containing the cursor to become the top half of a double-height, double width line. If the line was single width single height, all characters to the right of the center of the screen will be lost. The cursor remains over the same character position, unless it would be to the right of the right margin, in which case it is moved to the right margin. . \ref:DECDHLB and \ref:DECDHLT should be used in pairs on adjacent lines with each line containing the same character string. DECDHLB.head Double Height Line (Bottom) DECDHLB.emus VT100 DECDHLB.sect Command.NoImp DECDHLB.code HSH|4| DECDHLB.text This sequence cause the line containing the cursor to become the bottom half of a double-height, double width line. If the line was single width single height, all characters to the right of the center of the screen will be lost. The cursor remains over the same character position, unless it would be to the right of the right margin, in which case it is moved to the right margin. . \ref:DECDHLB and \ref:DECDHLT should be used in pairs on adjacent lines with each line containing the same character string. DECDWL.head Double Width Line DECDWL.emus VT100 DECDWL.sect Command.NoImp DECDWL.code HSH|6| DECDWL.text This causes the line that contains the cursor to become double-width single height. If the line was single width, all characters ro the right of the center of the screen will be lost. The cursor remains over the same character position, unless it would be to the right of the right margin, in which case it is moved to the right margin. DECID.head Identify Terminal DECID.emus VT100 DECID.sect Command.Request DECID.code ESC|Z| DECID.text This sequence causes the same response as the \ref:DA sequence. This sequence will not be supported in future models. DECINLM.head Interlace Mode DECINLM.emus VT100 DECINLM.sect Mode DECINLM.text This is a private parameter to the \ref:RM and \ref:SM control sequences. The reset state (non-interlace) causes the video processor to display 240 scan lines per frame. The set state causes the video processor to display 480 scan lines per screen. See \ref:MODES, \ref:RM, and \ref:SM. DECKPAM.head Keypad Application Mode DECKPAM.emus VT100 DECKPAM.sect Command.Mode Mode DECKPAM.code ESC|=| DECKPAM.text The auxiliary keypad keys will transmit control sequences. DECKPNM.head Keypad Numeric Mode DECKPNM.emus VT100 DECKPNM.sect Mode Command.Mode DECKPNM.code ESC|>| DECKPNM.text The auxiliary keypad keys will send ASCII codes corresponding to the characters engraved on their keys. DECLL.head Load LEDs DECLL.emus VT100 DECLL.sect Command.NoImp DECLL.code CSI|q|{Ps;...} DECLL.dflt 0 DECLL.text Load the four programmable LEDs on the keyboard according to the parameter(s). DECLL.table.Ps Ps|Meaning:4 0|Clear All LEDs 1|Light L1 2|Light L2 3|Light L3 4|Light L4 DECOM.head Origin Mode DECOM.emus VT100 DECOM.sect Mode DECOM.text This is a private parameter to \ref:SM and \ref:RM control sequences. The reset state causes the origin (or home position) to be the upper left character position of the screen. Line and column numbers are, therefore, independent of current margin settings. The cursor may be positioned outside the margins with a cursor position (\ref:CUP) or horizontal and vertical position (\ref:HVP) control. . The set state causes the origin to be at the upper left character position within the current margins. Line and column numbers are, therefore, relative to the current margin settings. The cursor cannot be positioned outside of the margins. . The cursor is moved to the new home position when this mode is set or reset. Lines and columns are numbered consecutively, with the origin being line 1, column 1. DECRC.head Restore Cursor DECRC.emus VT100 DECRC.sect Command.CursMode DECRC.code ESC|8| DECRC.text This sequence causes the previously saved cursor position, graphic rendition, and character set to be restored. DECREPTPARM.head Report Terminal Parameters DECREPTPARM.emus ECMA VT100 DECREPTPARM.sect Reply DECREPTPARM.code CSI|x|{sol;par;nbits;xspd;rspd;cmul;flags} DECREPTPARM.text This sequence is generated by the VT100 to notify the host of the status of selected terminal parameters. The status sequence may be sent when requested by the host (via \ref:DECREQTPARM) or at the terminal's discretion. On power up or reset, the VT100 is inhibited from sending unsolicited reports. . The meanings of the sequence paramters are: DECREPTPARM.table.sol sol|Meaning:4 1|This message is a report. 2|This message is a report, and the terminal is only reporting on request. DECREPTPARM.table.par par|Meaning:4 1|No parity set 4|Parity set and odd 5|Parity set and even DECREPTPARM.table.nbits nbits|Meaning:4 1|8 bits per character 2|7 bits per character DECREPTPARM.table.speed(xspd,rspd) speed|Meaning (xspd,rspd):4 0|Speed set to 50 bps 8|Speed set to 75 bps 16|Speed set to 110 bps 24|Speed set to 134.5 bps 32|Speed set to 150 bps 40|Speed set to 200 bps 48|Speed set to 300 bps 56|Speed set to 600 bps 64|Speed set to 1200 bps 72|Speed set to 1800 bps 80|Speed set to 2000 bps 88|Speed set to 2400 bps 96|Speed set to 3600 bps 104|Speed set to 4800 bps 112|Speed set to 9600 bps 120|Speed set tp 19200 bps DECREPTPARM.table.cmul cmul|Meaning:4 1|The bit rate multiplier is 16 DECREPTPARM.table.flags flags|Meaning:4 0-15|This value communicates the four switch values in block 5 of SET-UP B, which are only visible to the user when an STP option is installed. DECREQTPARM.head Request Terminal Parameters DECREQTPARM.emus ECMA VT100 DECREQTPARM.sect Command.Request DECREQTPARM.code CSI|x|{Ps} DECREQTPARM.text The host sends this sequence to request the VT100 to send a \ref:DECREPTPARM sequence back. {Ps} can be either 0 or 1. If 0, the terminal will be allowed to send unsolicited \ref:DECREPTPARMs. These reports will be generated each time the terminal exits the SET-UP mode. If {Ps} is 1, then the terminal will only generate \ref:DECREPTPARMs in response to a request. DECSC.head Save Cursor DECSC.emus VT100 DECSC.sect Command.CursMode DECSC.code ESC|7| DECSC.text Causes the cursor position, graphic rendition, and character set to be saved. (See \ref:DECRC) DECSCLM.head Scrolling Mode DECSCLM.emus VT100 DECSCLM.sect Mode DECSCLM.text This is a private parameter to \ref:RM and \ref:SM control sequences. The reset state causes scrolls to "jump" instantaneuously one line at a time. The set state causes the scrolls to be "smooth", and scrolls at a maximum rate of siz lines/sec. See \ref:MODES, \ref:RM, and \ref:SM. DECSCNM.head Screen Mode DECSCNM.emus VT100 DECSCNM.sect Mode DECSCNM.text This is a private parameter to \ref:RM and \ref:SM control sequences. The reset state causes the screen to be black with white characters; the set state causes the screen to be white with black characters. See \ref:MODES, \ref:RM, and \ref:SM. DECSTBM.head Set Top and Bottom Margins DECSTBM.emus VT100 DECSTBM.sect Command.CursMode DECSTBM.code CSI|r|{Pn;Pn} DECSTBM.dflt 1 ScreenLines DECSTBM.text This sequence sets the top and bottom margins to define the scrolling region. The first parameter is the line number of the first line in the scrolling region; the second parameter is the line number of the bottom line of the scrolling region. . Default is the entire screen (no margins). The minimum region allowed is two lines, i.e., the top line must be less than the bottom. The cursor is placed in the home position (See \ref:DECOM). DECSWL.head Single-width Line DECSWL.emus VT100 DECSWL.sect Command.NoImp DECSWL.code HSH|5| DECSWL.text This causes the line which contains the cursor to become single-width, single-height. The cursor remains on the same character position. This is the default condition for all new lines on the screen. DECTST.head Invoke Confidence Test DECTST.emus ECMA VT100 DECTST.sect Command DECTST.code CSI|y|{2;Ps} DECTST.text Ps is the parameter indicating the test to be done. It is computed by taking the weight indicated for each desired test and adding them together. If Ps is 0, no test is performed but the VT100 is reset. DECTST.table.Weight Weight|Meaning:4 1|POST (ROM checksum, RAM NVR, keyboardm and AVO) 2|Data Loop Back (Loopback connector required) 3|EIA Modem Control Test (Loopback connector req.) 4|Repeat Testing until failure DSR.head Device Status Report DSR.emus ECMA VT100 DSR.sect Command.Request Reply DSR.code CSI|n|{Ps} DSR.text Requests and reports the general status of the VT100 according to the following parameters. . DSR with a parameter of 0 or 3 is always sent as a response to a requesting DSR with a parameter of 5. DSR.table.Ps Ps|Direction|Meaning:3 0|to host |Ready, no faults detected 3|to host |Malfunction detected 5|to VT100|Report Status (using a DSR control sequence) 6|to VT100|Report Active Position (using a CPR sequence) ED.head Erase in Display ED.emus ECMA VT100 ED.sect Command.Erase ED.code CSI|J|{Ps} ED.dflt 0 ED.text This sequence erases some or all of the characters in the display according to the parameter. Any complete line erased by this sequence will return that line to single width mode. ED.table.Ps Ps|Operation:4 0|Erase from the cursor to the end of the screen. 1|Erase from the start of the screen to the cursor. 2|Erase the entire screen. EL.head Erase in Line EL.emus ECMA VT100 EL.sect Command.Erase EL.code CSI|K|{Ps} EL.dflt 0 EL.text Erases some or all characters in the active line, according to the parameter. EL.table Ps|Operation:4 0|Erase from cursor to the end of the line. 1|Erase from the start of the line to the cursor. 2|Erase the entire line. HTS.head Horizontal Tab Set HTS.emus ECMA VT100 HTS.sect Command.CursMode HTS.code ESC|H| HTS.text Set a tab stop at the current cursor position. HVP.head Horizontal and Vertical Position HVP.emus ECMA VT100 HVP.sect Command.Cursor HVP.code CSI|f|{Pn;Pn} HVP.dflt 1 1 HVP.text Moves the cursor to the position specified by the parameters. The first parameter specifies the line, and the second specifies the column. A parameter of 0 or 1 causes the active position to move to the first line or column in the display. In the VT100, this control behaves identically with it's editor counterpart, \ref:CUP. The numbering of hte lines depends upon the state of the Origin Mode (\ref:DECOM). IND.head Index IND.emus ECMA VT100 IND.sect Command.Cursor IND.code ESC|D| IND.text This sequence causes the cursor to move downward one line without changing the column. If the cursor is at the bottom margin, a scroll up is performed. LNM.head Line Feed/New Line Mode LNM.emus ECMA VT100 LNM.sect Mode LNM.text This is a parameter to \ref:SM and \ref:RM control sequences. The reset state causes the interpretation of the \ref:LF character to imply only vertical movement of the cursor and causes the RETURN key to send the single code \ref:CR. . The set state causes the \ref:LF character to imply movement to the first position of the following line, and causes the RETURN key to send the code pair \ref:CR \ref:LF. This is the New Line option. . This mode does not affect the Index (\ref:IND) or the next line (\ref:NEL) format effectors. NEL.head Next Line NEL.emus ECMA VT100 NEL.sect Command.Cursor NEL.code ESC|E| NEL.text This causes the cursor to move to the first position of the next line down. If the cursor is on the bottom line, a scroll is performed. PRINT.head Printable Characters PRINT.emus ECMA VT100 PRINT.sect Command.Display PRINT.code PRN||{0x20..0x7e,0xa0..0xff} PRINT.text Printable characters are basically displayed. They my cause a line wrap when the cursor is already located at the end of the line. . The VT100 has a unique way to do this by producing a line wrap before the character would be displayed on the next line. This feature allows to print at the rightmost column without producing an implicit line feed. RI.head Reverse Index RI.emus ECMA VT100 RI.sect Command.Cursor RI.code ESC|M| RI.text Move the cursor up one line without changing columns. If the cursor is on the top line, a scroll down is performed. RIS.head Reset to Initial State RIS.emus ECMA VT100 RIS.sect Command.Mode RIS.code ESC|c| RIS.text Resets the VT100 to the state is has upon power up. This also causes the execution of the POST and signal INT H to be asserted briefly. RM.head Reset Mode RM.emus ECMA VT100 RM.sect Command.SetMode RM.code CSI|l|{Ps;...} RM.text Resets one or more VT100 modes as specified by each selective parameter in the parameter string. Each mode to be reset is specified by a separate parameter. See \ref:MODES and \ref:SM. SCS.head Select Character Set SCS.emus ECMA VT100 SCS.sect Command.RenderMode SCS.code SCS||{Pc;Cs} SCS.text The appropriate D0 and G1 character sets are designated from one of the five possible sets. The G0 and G1 sets are invoked by the characters \ref:LS1 and \ref:LS0, respectively. . The United Kingdom and ASCII sets conform to the "ISO international register of character sets to be used with escape sequences". The other sets are private character sets. Special graphics means that the graphic characters fpr the codes 0137 to 0176 are replaced with other characters. The specified character set will be used until another SCS is recieved. SCS.table.Pc Pc|Character Selection:4 (|Select G0 Set )|Select G1 Set SCS.table.Cs Cs|Character Set:4 A|United Kingdom Set B|ASCII Set 0|Special Graphics 1|Alternate Character ROM (Standard Character Set) 2|Alternate Character ROM (Special Graphics) SGR.head Select Graphic Rendition SGR.emus ECMA VT100 SGR.sect Command.RenderMode SGR.code CSI|m|{Ps;...} SGR.text Invoke the graphic rendition specified by the parameter(s). All following characters transmitted to the VT100 are rendered according to the parameter(s) until the next occurrence of an SGR. . All other parameter values are ignored. . Without the Advanced Video Option, only one type of character attribute is possible, as determined by the cursor selection; in that case specifying either underscore or reverse will activate the currently selected attribute. SGR.table.Ps Ps|Operation:4 0|Attributes Off 1|Bold or increased intensity 4|Underscore 5|Blink 7|Negative (reverse) image SM.head Set Mode SM.emus ECMA VT100 SM.sect Command.SetMode SM.code CSI|h|{Ps;...} SM.text Causes one or more modes to be set within the VT100 as specified by each selective parameter string. Each mode to be set is specified by a seperate parameter. A mode is considered set until it is reset by a Reset Mode (\ref:RM) control sequence. See \ref:RM and \ref:MODES. TBC.head Tabulation Clear TBC.emus ECMA VT100 TBC.sect Command.CursMode TBC.code CSI|g|{Ps} TBC.text If the parameter is missing or 0, this will clear the tab stop at the cursor's position. If it is 3, this will clear all of the tab stops. Any other parameter is ignored. ############################################################################## # # # VT52 # # # ############################################################################## VT52ANSI.head VT52 ANSI Ansi Mode VT52ANSI.emus VT100 XTERM VT52 KONSOLE VT52ANSI.sect Command.Mode VT52ANSI.code ESC|<| VT52ANSI.text This is an extention to the VT52 commands to embed the emulation into VT100. It allows to return back to VT100 emulation (ANSI mode). See also \ref:DECANM and \ref:SM. VT52CUB.head VT52 Cursor Back VT52CUB.emus KONSOLE VT52CUB.sect Command.VT52 VT52CUB.code ESC|D| VT52CUB.text See \ref:CUB. VT52CUD.head VT52 Cursor Down VT52CUD.emus KONSOLE VT52CUD.sect Command.VT52 VT52CUD.code ESC|B| VT52CUD.text See \ref:CUD. VT52CUF.head VT52 Cursor Forward VT52CUF.emus KONSOLE VT52CUF.sect Command.VT52 VT52CUF.code ESC|C| VT52CUF.text See \ref:CUF. VT52CUP.head VT52 Cursor Position VT52CUP.emus KONSOLE VT52CUP.sect Command.VT52 VT52CUP.code VT5||{X;Y} VT52CUP.text Line and column numbers for direct cursor address are single character codes whose values are the desired number plus 37 (in Octal). Line and column numbers start at 1. VT52CUU.head VT52 Cursor Up VT52CUU.emus KONSOLE VT52CUU.sect Command.VT52 VT52CUU.code ESC|A| VT52CUU.text See \ref:CUU. VT52EDL.head VT52 Clear To End Of Line VT52EDL.emus KONSOLE VT52EDL.sect Command.VT52 VT52EDL.code ESC|K| VT52EDL.text FIXME. explain VT52EDS.head VT52 Clear To End Of Screen VT52EDS.emus KONSOLE VT52EDS.sect Command.VT52 VT52EDS.code ESC|J| VT52EDS.text FIXME. explain VT52CUH.head VT52 Cursor Home VT52CUH.emus KONSOLE VT52CUH.sect Command.VT52 VT52CUH.code ESC|H| VT52CUH.text FIXME. explain VT52KPAM.head VT52 Enter alternate keypad mode VT52KPAM.emus KONSOLE VT52KPAM.sect Command.VT52 VT52KPAM.code ESC|=| VT52KPAM.text FIXME. explain VT52KPNM.head VT52 Exit alternate keypad mode VT52KPNM.emus KONSOLE VT52KPNM.sect Command.VT52 VT52KPNM.code ESC|>| VT52KPNM.text FIXME. explain VT52REP.head VT52 Report Terminal Type VT52REP.emus KONSOLE VT52REP.sect Command.VT52 VT52REP.code ESC|Z| VT52REP.text Response to ESC Z is ESC / Z. VT52RI.head VT52 Reverse Index VT52RI.emus KONSOLE VT52RI.sect Command.VT52 VT52RI.code ESC|I| VT52RI.text FIXME. explain VT52SCSF.head VT52 Select special graphics character set VT52SCSF.emus KONSOLE VT52SCSF.sect Command.VT52 VT52SCSF.code ESC|F| VT52SCSF.text FIXME. explain VT52SCSG.head VT52 Select ASCII character set VT52SCSG.emus KONSOLE VT52SCSG.sect Command.VT52 VT52SCSG.code ESC|G| VT52SCSG.text FIXME. explain VT52 Compatible Mode