| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- <html data-lt-installed="true"><head>
- <meta http-equiv="content-type" content="text/html; charset=windows-1252">
- <title>VT100 commands</title><style id="_fc_">[d__],[d__][style]{color:rgba(0, 0, 0, 1)!important}::placeholder{opacity:1!important;}[b__]{border:1px solid black!important}</style></head>
- <body bgcolor="#ffffff">
- <center>
- <h1>VT100 commands and control sequences</h1>
- edited by <a href="http://astronomy.swin.edu.au/%7Epbourke/dataformats/">Paul Bourke</a>
- </center>
- <p></p><hr><p>
- </p><pre>The following are the VT100 commands as described by the
- Digital VT101 Video Terminal User Guide (EK-VT101-UG-003). An
- asterik (*) beside the function indicate that it is currently
- supported. A plus (+) means the function is trapped and ignored.
- Scrolling Functions:
- * ESC [ pt ; pb r set scroll region
- * ESC [ ? 6 h turn on region - origin mode
- * ESC [ ? 6 l turn off region - full screen mode
-
- Cursor Functions:
- * ESC [ pn A cursor up pn times - stop at top
- * ESC [ pn B cursor down pn times - stop at bottom
- * ESC [ pn C cursor right pn times - stop at far right
- * ESC [ pn D cursor left pn times - stop at far left
- * ESC [ pl ; pc H set cursor position - pl Line, pc Column
- * ESC [ H set cursor home
- * ESC [ pl ; pc f set cursor position - pl Line, pc Column
- * ESC [ f set cursor home
- * ESC D cursor down - at bottom of region, scroll up
- * ESC M cursor up - at top of region, scroll down
- * ESC E next line (same as CR LF)
- * ESC 7 save cursor position(char attr,char set,org)
- * ESC 8 restore position (char attr,char set,origin)
- Applications / Normal Mode:
- * ESC [ ? 1 h cursor keys in applications mode
- * ESC [ ? 1 l cursor keys in cursor positioning mode
- * ESC = keypad keys in applications mode
- * ESC > keypad keys in numeric mode
- Character Sets:
- * ESC ( A UK char set as G0
- * ESC ( B US char set as G0
- * ESC ( 0 line char set as G0
- * ESC ) A UK char set as G1
- * ESC ) B US char set as G1
- * ESC ) 0 line char set as G1
- * ESC N select G2 set for next character only
- * ESC O select G3 set for next character only
- Character Attributes:
- * ESC [ m turn off attributes - normal video
- * ESC [ 0 m turn off attributes - normal video
- !* ESC [ 4 m turn on underline mode
- * ESC [ 7 m turn on inverse video mode
- * ESC [ 1 m highlight
- * ESC [ 5 m blink
- ! On color systems underlined characters are displayed in blue
- Line Attributes:
- + ESC # 3 double high (top half) - double wide
- + ESC # 4 double high (bottom half) - double wide
- + ESC # 5 single wide - single height
- + ESC # 6 double wide - single height
-
- Erasing:
- * ESC [ K erase to end of line (inclusive)
- * ESC [ 0 K erase to end of line (inclusive)
- * ESC [ 1 K erase to beginning of line (inclusive)
- * ESC [ 2 K erase entire line (cursor doesn't move)
- * ESC [ J erase to end of screen (inclusive)
- * ESC [ 0 J erase to end of screen (inclusive)
- * ESC [ 1 J erase to beginning of screen (inclusive)
- * ESC [ 2 J erase entire screen (cursor doesn't move)
- Tabulation:
- * ESC H set tab in current position
- * ESC [ g clear tab stop in current position
- * ESC [ 0 g clear tab stop in current position
- * ESC [ 3 g clear all tab stops
- Printing:
- * ESC [ i print page
- * ESC [ 0 i print page
- * ESC [ 1 i print line
- * ESC [ ? 4 i auto print off
- * ESC [ ? 5 i auto print on
- + ESC [ 4 i print controller off
- + ESC [ 5 i print controller on
- Requests / Reports:
- * ESC [ 5 n request for terminal status
- ESC [ 0 n report - no malfunction
- * ESC [ 6 n request for cursor position report
- ESC [ pl;pc R report - cursor at line pl, & column pc
- * ESC [ ? 1 5 n request printer status
- ESC [ ? 1 0 n report - printer ready
- * ESC [ c request to identify terminal type
- * ESC [ 0 c request to identify terminal type
- * ESC Z request to identify terminal type
- ESC [ ? 1;0 c report - type VT100
- Initialization / Tests:
- + ESC c reset to initial state
- + ESC [ 2 ; 1 y power up test
- + ESC [ 2 ; 2 y loop back test
- + ESC [ 2 ; 9 y power up test till failure or power down
- + ESC [ 2 ; 10 y loop back test till failure or power down
- + ESC # 8 video alignment test-fill screen with E's
- Setup Functions:
- + ESC [ ? 2 l enter VT52 mode
- + ESC < exit VT52 mode
- + ESC [ ? 3 h 132 column mode
- + ESC [ ? 3 l 80 column mode
- + ESC [ ? 4 h smooth scroll
- + ESC [ ? 4 l jump scroll
- * ESC [ ? 5 h black characters on white screen mode
- * ESC [ ? 5 l white characters on black screen mode
- * ESC [ ? 7 h auto wrap to new line
- * ESC [ ? 7 l auto wrap off
- + ESC [ ? 8 h keyboard auto repeat mode on
- + ESC [ ? 8 l keyboard auto repeat mode off
- + ESC [ ? 9 h 480 scan line mode
- + ESC [ ? 9 l 240 scan line mode
- * ESC [ ? 1 8 h print form feed on
- * ESC [ ? 1 8 l print form feed off
- * ESC [ ? 1 9 h print whole screen
- * ESC [ ? 1 9 l print only scroll region
- + ESC [ 2 0 h newline mode LF, FF, VT, CR = CR/LF)
- + ESC [ 2 0 l line feed mode (LF, FF, VT = LF ; CR = CR)
- LED Functions:
- !* ESC [ 0 q turn off LED 1-4
- !* ESC [ 1 q turn on LED #1
- !* ESC [ 2 q turn on LED #2
- !* ESC [ 3 q turn on LED #3
- !* ESC [ 4 q turn on LED #4
- ! The bottom line of the screen is used as a status line by the
- VT100 emulation. The information on the bottom line is:
- 1) the status of the four VT100 LED's
- 2) the status of the numeric keypad (application mode /normal mode)
- 3) the status of the cursor keypad (application mode/normal mode)
- Interpreted Control Characters:
-
- * ^O shift in - selects G0 character set
- * ^N shift out - selects G1 character set
- VT100 KEYBOARD MAP
- The following table describes the special function keys of the
- VT100 and shows the transmitted sequences. It also shows the key
- or key sequence required to produce this function on the IBM-PC
- keyboard. The VT100 has four function keys PF1 - PF4, four arrow
- keys, and a numeric keypad with 0-9, ".", "-", RETURN and ",".
- The numeric keypad and the arrow keys may be in standard mode or
- applications mode as set by the host computer. Sequences will be
- sent as follows:
- To Get Press Key on
- VT100 Key Standard Applications IBM Keypad
- =====================================================
- NUMLOK - On
- Keypad:
- 0 0 ESC O p 0
- 1 1 ESC O q 1
- 2 2 ESC O r 2
- 3 3 ESC O s 3
- 4 4 ESC O t 4
- 5 5 ESC O u 5
- 6 6 ESC O v 6
- 7 7 ESC O w 7
- 8 8 ESC O x 8
- 9 9 ESC O y 9
- - - ESC O m -
- , , ESC O l * (on PrtSc key)
- . . ESC O n .
- Return Return ESC O M +
-
- NUMLOK - Off
- Arrows:
- Up ESC [ A ESC O A Up
- Down ESC [ B ESC O B Down
- Right ESC [ C ESC O C Right
- Left ESC [ D ESC O D Left
- Up ESC [ A ESC O A Alt 9
- Down ESC [ B ESC O B Alt 0
- Right ESC [ C ESC O C Alt -
- Left ESC [ D ESC O D Alt =
- Note that either set of keys may be used to send VT100 arrow keys.
- The Alt 9,0,-, and = do not require NumLok to be off.
-
- Functions:
- PF1 - Gold ESC O P ESC O P F1
- PF2 - Help ESC O Q ESC O Q F2
- PF3 - Next ESC O R ESC O R F3
- PF4 - DelBrk ESC O S ESC O S F4
- Please note that the backspace key transmits an ascii DEL
- (character 127) while in VT100 emulation. To get a true ascii
- backspace (character 8) you must press control-backspace.
- </pre>
- <deepl-input-controller translate="no"></deepl-input-controller><div style="border-block-style: unset; border-inline: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-start-end-radius: unset; border-start-start-radius: unset; border-block-width: unset; border-block-color: unset; overflow-block: unset; overflow-inline: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; margin-block: unset; margin-inline: unset; scroll-margin-block: unset; scroll-margin-inline: unset; padding-block: unset; padding-inline: unset; scroll-padding-block: unset; scroll-padding-inline: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; max-block-size: unset; max-inline-size: unset; inset-block: unset; inset-inline: unset; block-size: unset; inline-size: unset; min-block-size: unset; min-inline-size: unset; background: unset; background-blend-mode: unset; border: unset; box-decoration-break: unset; -moz-float-edge: unset; border-radius: unset; vertical-align: unset; backface-visibility: unset; break-inside: unset; clear: unset; contain: unset; container: unset; content-visibility: unset; display: unset; float: unset; isolation: unset; -moz-orient: unset; overflow-anchor: unset; position: absolute; resize: unset; scroll-behavior: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; touch-action: unset; transform-box: unset; transform-style: unset; appearance: unset; break-after: unset; break-before: unset; overflow: unset; overscroll-behavior: unset; anchor-name: unset; offset: unset; perspective: unset; rotate: unset; scale: unset; shape-outside: unset; transform-origin: unset; translate: unset; -webkit-line-clamp: unset; will-change: unset; zoom: unset; perspective-origin: unset; anchor-scope: unset; transform: unset; shape-image-threshold: unset; shape-margin: unset; column-fill: unset; column-span: unset; column-rule: unset; columns: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; mix-blend-mode: unset; backdrop-filter: unset; box-shadow: unset; clip: unset; filter: unset; opacity: unset; font: unset; font-synthesis: unset; math-shift: unset; math-style: unset; font-palette: unset; math-depth: unset; dominant-baseline: unset; image-orientation: unset; image-rendering: unset; print-color-adjust: unset; text-orientation: unset; visibility: unset; writing-mode: unset; color-interpolation: unset; color-interpolation-filters: unset; paint-order: unset; shape-rendering: unset; stroke-linecap: unset; stroke-linejoin: unset; text-anchor: unset; clip-rule: unset; fill-rule: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-width: unset; fill: unset; stroke: unset; fill-opacity: unset; stroke-opacity: unset; marker: unset; stroke-miterlimit: unset; border-collapse: unset; caption-side: unset; empty-cells: unset; border-spacing: unset; forced-color-adjust: unset; hyphens: unset; line-break: unset; -moz-text-size-adjust: unset; overflow-wrap: unset; ruby-align: unset; ruby-position: unset; text-align: unset; text-align-last: unset; text-autospace: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-emphasis-position: unset; text-justify: unset; text-rendering: unset; text-transform: unset; text-underline-position: unset; text-wrap: unset; -webkit-text-security: unset; white-space: unset; word-break: unset; color: unset; hyphenate-character: unset; hyphenate-limit-chars: unset; letter-spacing: unset; tab-size: unset; text-emphasis: unset; text-indent: unset; text-shadow: unset; text-underline-offset: unset; -webkit-text-stroke: unset; word-spacing: unset; -webkit-text-fill-color: unset; pointer-events: unset; accent-color: unset; caret-color: unset; color-scheme: unset; cursor: unset; scrollbar-color: unset; list-style: unset; quotes: unset; overflow-clip-margin: unset; margin: unset; scroll-margin: unset; outline: unset; outline-offset: unset; padding: unset; scroll-padding: unset; page: unset; place-items: unset; box-sizing: unset; flex-flow: unset; grid: unset; masonry-auto-flow: unset; object-fit: unset; position-area: unset; position-try: unset; position-visibility: unset; place-content: unset; place-self: unset; aspect-ratio: unset; flex: unset; position-anchor: unset; z-index: unset; object-position: unset; gap: unset; order: unset; contain-intrinsic-size: unset; grid-area: unset; max-height: unset; max-width: unset; bottom: unset; left: 0px; right: unset; top: 0px; height: unset; min-height: unset; min-width: unset; width: unset; mask-type: unset; vector-effect: unset; clip-path: unset; d: unset; mask: unset; cx: unset; cy: unset; x: unset; y: unset; flood-opacity: unset; stop-opacity: unset; r: unset; rx: unset; ry: unset; flood-color: unset; lighting-color: unset; stop-color: unset; table-layout: unset; text-decoration: unset; text-decoration-inset: unset; text-overflow: unset; field-sizing: unset; ime-mode: unset; scrollbar-width: unset; user-select: unset; -moz-force-broken-image-icon: unset; animation-composition: unset; animation: unset; scroll-timeline: unset; transition: unset; view-timeline: unset; view-timeline-inset: unset; view-transition-class: unset; view-transition-name: unset; timeline-scope: unset; -moz-box-align: unset; -moz-box-direction: unset; -moz-box-orient: unset; -moz-box-pack: unset; -moz-box-ordinal-group: unset; -moz-box-flex: unset;"><div style="border-block-style: unset; border-inline: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-start-end-radius: unset; border-start-start-radius: unset; border-block-width: unset; border-block-color: unset; overflow-block: unset; overflow-inline: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; margin-block: unset; margin-inline: unset; scroll-margin-block: unset; scroll-margin-inline: unset; padding-block: unset; padding-inline: unset; scroll-padding-block: unset; scroll-padding-inline: unset; contain-intrinsic-block-size: unset; contain-intrinsic-inline-size: unset; max-block-size: unset; max-inline-size: unset; inset-block: unset; inset-inline: unset; block-size: unset; inline-size: unset; min-block-size: unset; min-inline-size: unset; background: unset; background-blend-mode: unset; border: unset; box-decoration-break: unset; -moz-float-edge: unset; border-radius: unset; vertical-align: unset; backface-visibility: unset; break-inside: unset; clear: unset; contain: unset; container: unset; content-visibility: unset; display: unset; float: unset; isolation: unset; -moz-orient: unset; overflow-anchor: unset; position: absolute; resize: unset; scroll-behavior: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scrollbar-gutter: unset; touch-action: unset; transform-box: unset; transform-style: unset; appearance: unset; break-after: unset; break-before: unset; overflow: unset; overscroll-behavior: unset; anchor-name: unset; offset: unset; perspective: unset; rotate: unset; scale: unset; shape-outside: unset; transform-origin: unset; translate: unset; -webkit-line-clamp: unset; will-change: unset; zoom: unset; perspective-origin: unset; anchor-scope: unset; transform: unset; shape-image-threshold: unset; shape-margin: unset; column-fill: unset; column-span: unset; column-rule: unset; columns: unset; content: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; mix-blend-mode: unset; backdrop-filter: unset; box-shadow: unset; clip: unset; filter: unset; opacity: unset; font: unset; font-synthesis: unset; math-shift: unset; math-style: unset; font-palette: unset; math-depth: unset; dominant-baseline: unset; image-orientation: unset; image-rendering: unset; print-color-adjust: unset; text-orientation: unset; visibility: unset; writing-mode: unset; color-interpolation: unset; color-interpolation-filters: unset; paint-order: unset; shape-rendering: unset; stroke-linecap: unset; stroke-linejoin: unset; text-anchor: unset; clip-rule: unset; fill-rule: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-width: unset; fill: unset; stroke: unset; fill-opacity: unset; stroke-opacity: unset; marker: unset; stroke-miterlimit: unset; border-collapse: unset; caption-side: unset; empty-cells: unset; border-spacing: unset; forced-color-adjust: unset; hyphens: unset; line-break: unset; -moz-text-size-adjust: unset; overflow-wrap: unset; ruby-align: unset; ruby-position: unset; text-align: unset; text-align-last: unset; text-autospace: unset; text-combine-upright: unset; text-decoration-skip-ink: unset; text-emphasis-position: unset; text-justify: unset; text-rendering: unset; text-transform: unset; text-underline-position: unset; text-wrap: unset; -webkit-text-security: unset; white-space: unset; word-break: unset; color: unset; hyphenate-character: unset; hyphenate-limit-chars: unset; letter-spacing: unset; tab-size: unset; text-emphasis: unset; text-indent: unset; text-shadow: unset; text-underline-offset: unset; -webkit-text-stroke: unset; word-spacing: unset; -webkit-text-fill-color: unset; pointer-events: unset; accent-color: unset; caret-color: unset; color-scheme: unset; cursor: unset; scrollbar-color: unset; list-style: unset; quotes: unset; overflow-clip-margin: unset; margin: unset; scroll-margin: unset; outline: unset; outline-offset: unset; padding: unset; scroll-padding: unset; page: unset; place-items: unset; box-sizing: unset; flex-flow: unset; grid: unset; masonry-auto-flow: unset; object-fit: unset; position-area: unset; position-try: unset; position-visibility: unset; place-content: unset; place-self: unset; aspect-ratio: unset; flex: unset; position-anchor: unset; z-index: unset; object-position: unset; gap: unset; order: unset; contain-intrinsic-size: unset; grid-area: unset; max-height: unset; max-width: unset; bottom: unset; left: 0px; right: unset; top: 0px; height: unset; min-height: unset; min-width: unset; width: unset; mask-type: unset; vector-effect: unset; clip-path: unset; d: unset; mask: unset; cx: unset; cy: unset; x: unset; y: unset; flood-opacity: unset; stop-opacity: unset; r: unset; rx: unset; ry: unset; flood-color: unset; lighting-color: unset; stop-color: unset; table-layout: unset; text-decoration: unset; text-decoration-inset: unset; text-overflow: unset; field-sizing: unset; ime-mode: unset; scrollbar-width: unset; user-select: unset; -moz-force-broken-image-icon: unset; animation-composition: unset; animation: unset; scroll-timeline: unset; transition: unset; view-timeline: unset; view-timeline-inset: unset; view-transition-class: unset; view-transition-name: unset; timeline-scope: unset; -moz-box-align: unset; -moz-box-direction: unset; -moz-box-orient: unset; -moz-box-pack: unset; -moz-box-ordinal-group: unset; -moz-box-flex: unset;"></div></div></body></html>
|