add directory Linux-0.11
This commit is contained in:
386
Linux-0.11/info/vt102.codes
Normal file
386
Linux-0.11/info/vt102.codes
Normal file
@@ -0,0 +1,386 @@
|
||||
|
||||
Escape codes for vt102 terminal. <kivinen@hut.fi>
|
||||
|
||||
All numbers below are octal.<n> means numeric value,<c> means character string.
|
||||
If <n> is missing it is 0 or in cursor movements 1.
|
||||
|
||||
Reset and set modes
|
||||
Set Modes
|
||||
Esc [ <c> ; ... ; <c> h
|
||||
033 133 073 073 150
|
||||
Reset Modes
|
||||
Esc [ <c> ; ... ; <c> l
|
||||
033 133 073 073 154
|
||||
|
||||
Where <c> is
|
||||
'2'= Lock keyboard (set); Unlock keyboard (reset)
|
||||
'4'= Insert mode (set); Replace mode (reset)
|
||||
'12'= Echo on (set); Echo off (reset)
|
||||
'20'= Return = CR+LF (set); Return = CR (reset)
|
||||
'?1'= Cursorkeys application (set); Cursorkeys normal (reset)
|
||||
'?2'= Ansi (set); VT52 (reset)
|
||||
'?3'= 132 char/row (set); 80 char/row (reset)
|
||||
'?4'= Jump scroll (set); Smooth scroll (reset)
|
||||
'?5'= Reverse screen (set); Normal screen (reset)
|
||||
'?6'= Sets relative coordinates (set); Sets absolute coordinates (reset)
|
||||
'?7'= Auto wrap (set); Auto wrap off (reset)
|
||||
'?8'= Auto repeat on (set); Auto repeat off (reset)
|
||||
'?18'= Send FF to printer after print screen (set); No char after PS (reset)
|
||||
'?19'= Print screen prints full screen (set); PS prints scroll region (reset)
|
||||
'?25'= Cursor on (set); Cursor off (reset)
|
||||
|
||||
Set scrolling region (n1=upper,n2=lower)
|
||||
Esc [ <n1> ; <n2> r
|
||||
033 133 073 162
|
||||
|
||||
|
||||
Cursor movement (<n>=how many chars or lines), cursor stop at margin.
|
||||
Up
|
||||
Esc [ <n> A
|
||||
033 133 101
|
||||
Down
|
||||
Esc [ <n> B
|
||||
033 133 102
|
||||
Right
|
||||
Esc [ <n> C
|
||||
033 133 103
|
||||
Left
|
||||
Esc [ n D
|
||||
033 133 104
|
||||
Cursor position (<n1>=y,<n2>=x, from top of screen or scroll region)
|
||||
Esc [ <n1> ; <n2> H
|
||||
033 133 073 110
|
||||
Or Esc [ <n1> ; <n2> f
|
||||
033 133 073 146
|
||||
Index (cursor down with scroll up when at margin)
|
||||
Esc D
|
||||
033 104
|
||||
Reverse index (cursor up with scroll down when at margin)
|
||||
Esc M
|
||||
033 115
|
||||
Next line (CR+Index)
|
||||
Esc E
|
||||
033 105
|
||||
Save cursor and attribute
|
||||
Esc 7
|
||||
033 067
|
||||
Restore cursor and attribute
|
||||
Esc 8
|
||||
033 070
|
||||
|
||||
|
||||
Keybad character selection
|
||||
Application keypad mode
|
||||
Esc =
|
||||
033 075
|
||||
Numeric keypad mode
|
||||
Esc >
|
||||
033 076
|
||||
|
||||
Keypadkeys codes generated
|
||||
Numeric Application VT52 Application
|
||||
0 0 (060) Esc O p (033 117 160) Esc ? p (033 077 160)
|
||||
1 1 (061) Esc O q (033 117 161) Esc ? q (033 077 161)
|
||||
2 2 (062) Esc O r (033 117 162) Esc ? r (033 077 162)
|
||||
3 3 (063) Esc O s (033 117 163) Esc ? s (033 077 163)
|
||||
4 4 (064) Esc O t (033 117 164) Esc ? t (033 077 164)
|
||||
5 5 (065) Esc O u (033 117 165) Esc ? u (033 077 165)
|
||||
6 6 (066) Esc O v (033 117 166) Esc ? v (033 077 166)
|
||||
7 7 (067) Esc O w (033 117 167) Esc ? w (033 077 167)
|
||||
8 8 (070) Esc O x (033 117 170) Esc ? x (033 077 170)
|
||||
9 9 (071) Esc O y (033 117 171) Esc ? y (033 077 171)
|
||||
- (minus) - (055) Esc O m (033 117 155) Esc ? m (033 077 155)
|
||||
, (comma) , (054) Esc O l (033 117 154) Esc ? l (033 077 154)
|
||||
. (period) . (056) Esc O n (033 117 156) Esc ? n (033 077 156)
|
||||
Enter CR (015)* Esc O M (033 117 115) Esc ? M (033 077 115)
|
||||
PF1 Esc O P Esc O P (033 117 120) Esc P (033 120)
|
||||
PF2 Esc O Q Esc O Q (033 117 121) Esc Q (033 121)
|
||||
PF3 Esc O R Esc O R (033 117 122) Esc R (033 122)
|
||||
PF4 Esc O S Esc O S (033 117 123) Esc S (033 123)
|
||||
* Or CR+LF (015 012)
|
||||
|
||||
Cursorkeys codes generated (changed by set and reset modes '?1')
|
||||
normal application
|
||||
Up Esc [ A Esc O A
|
||||
033 133 101 033 117 101
|
||||
Down Esc [ B Esc O B
|
||||
033 133 102 033 117 102
|
||||
Right Esc [ C Esc O C
|
||||
033 133 103 033 117 103
|
||||
Left Esc [ D Esc O D
|
||||
033 133 104 033 117 104
|
||||
|
||||
|
||||
Select chaacter set
|
||||
UK as G0
|
||||
Esc ( A
|
||||
033 050 101
|
||||
US as G0
|
||||
Esc ( B
|
||||
033 050 102
|
||||
Special characters and line drawing character set as G0
|
||||
Esc ( 0
|
||||
033 050 060
|
||||
Alternate ROM as G0
|
||||
Esc ( 1
|
||||
033 050 061
|
||||
Alternate ROM special characters character set as G0
|
||||
Esc ( 2
|
||||
033 050 062
|
||||
|
||||
UK as G1
|
||||
Esc ) A
|
||||
033 051 101
|
||||
US as G1
|
||||
Esc ) B
|
||||
033 051 102
|
||||
Special characters and line drawing character set as G1
|
||||
Esc ) 0
|
||||
033 051 060
|
||||
Alternate ROM as G1
|
||||
Esc ) 1
|
||||
033 051 061
|
||||
Alternate ROM special characters character set as G1
|
||||
Esc ) 2
|
||||
033 051 062
|
||||
|
||||
Selects G2 for one character
|
||||
Esc N
|
||||
033 115
|
||||
Selects G3 for one character
|
||||
Esc O
|
||||
033 117
|
||||
|
||||
|
||||
Set graphic rendition
|
||||
Esc [ <n> ; <n> m
|
||||
033 133 073 156
|
||||
|
||||
Where <n> is
|
||||
0 = Turn off attributes
|
||||
1 = Bold (Full)
|
||||
2 = Half
|
||||
4 = Underline
|
||||
5 = Blink
|
||||
7 = Reverse
|
||||
21 = Normal intensity
|
||||
22 = Normal intensity
|
||||
24 = Cancel underlined
|
||||
25 = Cancel blinking
|
||||
27 = Cancel reverse
|
||||
|
||||
Tab stops
|
||||
Set horizontal tab
|
||||
Esc H
|
||||
033 110
|
||||
Clear horizontal tab
|
||||
Esc [ g
|
||||
033 133 147
|
||||
Or Esc [ 0 g
|
||||
033 133 060 147
|
||||
Clear all horizontal tabs
|
||||
Esc [ 3 g
|
||||
033 133 063 147
|
||||
|
||||
|
||||
Line attributes
|
||||
Double-height
|
||||
Top half
|
||||
Esc # 3
|
||||
033 043 063
|
||||
Bottom half
|
||||
Esc # 4
|
||||
033 043 064
|
||||
Single-width, single-height
|
||||
Esc # 5
|
||||
033 043 065
|
||||
Double-width
|
||||
Esc # 6
|
||||
033 043 066
|
||||
|
||||
|
||||
Erasing
|
||||
Erase in line
|
||||
End of line (including cursor position)
|
||||
Esc [ K
|
||||
033 133 113
|
||||
Or Esc [ 0 K
|
||||
033 133 060 113
|
||||
Beginning of line (including cursor position)
|
||||
Esc [ 1 K
|
||||
033 133 061 113
|
||||
Complete line
|
||||
Esc [ 2 K
|
||||
033 133 062 113
|
||||
Erase in display
|
||||
End of screen (including cursor position)
|
||||
Esc [ J
|
||||
033 133 112
|
||||
Or Esc [ 0 J
|
||||
033 133 060 112
|
||||
Beginning of screen (including cursor position)
|
||||
Esc [ 1 J
|
||||
033 133 061 112
|
||||
Complete display
|
||||
Esc [ 2 J
|
||||
033 133 062 112
|
||||
|
||||
|
||||
Computer editing
|
||||
Delete characters (<n> characters right from cursor
|
||||
Esc [ <n> P
|
||||
033 133 120
|
||||
Inser line (<n> lines)
|
||||
Esc [ <n> L
|
||||
033 133 114
|
||||
Delete line (<n> lines)
|
||||
Esc [ <n> M
|
||||
033 133 115
|
||||
|
||||
|
||||
Printing
|
||||
Esc [ <c> i
|
||||
033 133 151
|
||||
|
||||
Where <c> is
|
||||
''= Same as '0'
|
||||
'0'= Prints screen (full or scroll region)
|
||||
'4'= Printer controller off
|
||||
'5'= Printer controller on (Print all received chars to printer)
|
||||
'?1'= Print cursor line
|
||||
'?4'= Auto print off
|
||||
'?5'= Auto print on (Prints line to printer when you exit from it)
|
||||
|
||||
|
||||
Reports
|
||||
Device status
|
||||
Esc [ <c> n
|
||||
033 133 156
|
||||
|
||||
Where <c> is
|
||||
'0'=Response Ready, no malfunctions detected
|
||||
'3'=Malfunction, error in self-test.
|
||||
'5'=Status report request
|
||||
'6'=Request cursor position.
|
||||
'?10'=Response to printer status request, All ok.
|
||||
'?11'=Response to printer status request, Printer is not ready.
|
||||
'?13'=Response to printer status request, No printer.
|
||||
'?15'=Status report request from printer
|
||||
|
||||
Cursor position raport (Response to request cursor position)
|
||||
Esc [ <n1> ; <n2> R
|
||||
033 133 073 122
|
||||
Request terminal to identify itself (esc Z may not be supported in future)
|
||||
Esc [ c
|
||||
033 133 143
|
||||
Esc [ 0 c
|
||||
033 133 060 143
|
||||
Esc Z
|
||||
033 132
|
||||
Response to terminal identify (VT102)
|
||||
Esc [ ? 6 c
|
||||
033 133 077 066 143
|
||||
|
||||
|
||||
Reset to initial state
|
||||
Esc c
|
||||
033 143
|
||||
|
||||
|
||||
Tests
|
||||
Invoke confidence test
|
||||
Esc [ 2 ; <n> y
|
||||
033 133 062 073 171
|
||||
|
||||
Where <n> is
|
||||
'1'= Power-up test
|
||||
'2'= Data loopback test
|
||||
'4'= EIA loopback test
|
||||
'9'= Power-up tests (continuously)
|
||||
'10'= Data loopback tests (continuously)
|
||||
'12'= EIA loopback tests (continuously)
|
||||
'16'= Printer loopback test
|
||||
'24'= Printer loopback tests (continuously)
|
||||
|
||||
|
||||
Screen adjustments
|
||||
Esc # 8
|
||||
033 043 070
|
||||
|
||||
|
||||
Keyboard indicator
|
||||
Led L1 off
|
||||
Esc [ 0 q
|
||||
033 133 060 181
|
||||
Led L1 on
|
||||
Esc [ 1 q
|
||||
033 133 061 181
|
||||
|
||||
|
||||
|
||||
VT52 sequences
|
||||
Ansi mode
|
||||
Esc <
|
||||
033 074
|
||||
Cursor positioning
|
||||
Up Esc A
|
||||
033 101
|
||||
Down Esc B
|
||||
033 102
|
||||
Right Esc C
|
||||
033 103
|
||||
Left Esc D
|
||||
033 104
|
||||
Home Esc H
|
||||
033 110
|
||||
Direct cursor address
|
||||
Esc Y <line+040> <columns+040>
|
||||
033 131
|
||||
Reverse linefeed Esc I
|
||||
033 111
|
||||
Erase to end of line Esc K
|
||||
033 113
|
||||
Erase to end of screen Esc J
|
||||
033 112
|
||||
Auto print on Esc ^
|
||||
033 136
|
||||
Auto print off Esc
|
||||
033 137
|
||||
Printer controller on Esc W
|
||||
033 127
|
||||
Printer controller off Esc X
|
||||
033 130
|
||||
Print cursor line Esc V
|
||||
033 135
|
||||
Print screen Esc ]
|
||||
033 135
|
||||
Indentify request Esc Z
|
||||
033 132
|
||||
Response to indetify Esc / Z
|
||||
request (VT52) 033 057 132
|
||||
Special charset (same Esc F
|
||||
as line draw in VT102 033 106
|
||||
Normal char set Esc G
|
||||
033 107
|
||||
|
||||
|
||||
Control characters
|
||||
000 = Null (fill character)
|
||||
003 = ETX (Can be selected half-duplex turnaround char)
|
||||
004 = EOT (Can be turnaround or disconnect char, if turn, then DLE-EOT=disc.)
|
||||
005 = ENQ (Transmits answerback message)
|
||||
007 = BEL (Generates bell tone)
|
||||
010 = BS (Moves cursor left)
|
||||
011 = HT (Moves cursor to next tab)
|
||||
012 = LF (Linefeed or New line operation)
|
||||
013 = VT (Processed as LF)
|
||||
014 = FF (Processed as LF, can be selected turnaround char)
|
||||
015 = CR (Moves cursor to left margin, can be turnaround char)
|
||||
016 = SO (Selects G1 charset)
|
||||
017 = SI (Selects G0 charset)
|
||||
021 = DC1 (XON, causes terminal to continue transmit)
|
||||
023 = DC3 (XOFF, causes terminal to stop transmitting)
|
||||
030 = CAN (Cancels escape sequence)
|
||||
032 = SUB (Processed as CAN)
|
||||
033 = ESC (Processed as sequence indicator)
|
||||
|
||||
502
Linux-0.11/info/xterm-seqs.ms
Normal file
502
Linux-0.11/info/xterm-seqs.ms
Normal file
@@ -0,0 +1,502 @@
|
||||
.\"#! troff -Q -ms $1
|
||||
.\" This is the "Xterm Control Sequences" document, originally written by
|
||||
.\" Edward Moy, University of California, Berkeley, for the X.V10R4 xterm.
|
||||
.\" Some minor edits have been made to begin to reconcile this document with
|
||||
.\" the current sources, but it still has a long way to go:
|
||||
.\"
|
||||
.\" 1) I don't guarantee that this is 100% correct. I tried most of
|
||||
.\" the things that seemed to be different, and this document
|
||||
.\" reflects what I saw. Stuff that appears to be in the X10R4
|
||||
.\" document and missing from this document is so because it
|
||||
.\" appears not to be present in the X11 version of "xterm" (e.g.,
|
||||
.\" the "Alternate Character ROM" character sets and the Sun TTY
|
||||
.\" emulation).
|
||||
.\"
|
||||
.\" 2) It is definitely not 100% complete; some escape sequences
|
||||
.\" that do something that's either unobservable - at least in
|
||||
.\" the current state of the code - or not useful aren't
|
||||
.\" documented. An example of the former are the Locking Shift
|
||||
.\" sequences that modify the interpretation of the GR
|
||||
.\" characters; at present, it sets a state variable that's
|
||||
.\" unused, but perhaps some future version will use it (perhaps
|
||||
.\" for displaying characters in the range 0200-0377?). An
|
||||
.\" example of the latter is the sequence to set DECANM mode
|
||||
.\" (ANSI/VT52 mode): it doesn't do what it does on a VT100,
|
||||
.\" namely get the terminal to emulate a VT100, it only seems to
|
||||
.\" fiddle the current character set a bit.
|
||||
.\"
|
||||
.\" 3) It doesn't document any of the mouse-related stuff, such as
|
||||
.\" what the "Track Mouse" escape sequence does, or what the
|
||||
.\" different mouse modes (MIT, VT220, "VT220 Hilite") do; I
|
||||
.\" leave that to somebody familiar with that part of the code....
|
||||
.\"
|
||||
.\" Run this file through troff and use the -ms macro package.
|
||||
.ND
|
||||
.de St
|
||||
.sp
|
||||
.nr PD 0
|
||||
.nr PI 1.5i
|
||||
.nr VS 16
|
||||
..
|
||||
.de Ed
|
||||
.nr PD .3v
|
||||
.nr VS 12
|
||||
..
|
||||
.rm CH
|
||||
.ds LH Xterm Control Sequences
|
||||
.nr s 6*\n(PS/10
|
||||
.ds L \s\nsBEL\s0
|
||||
.ds E \s\nsESC\s0
|
||||
.ds T \s\nsTAB\s0
|
||||
.ds X \s\nsETX\s0
|
||||
.ds N \s\nsENQ\s0
|
||||
.ds e \s\nsETB\s0
|
||||
.ds C \s\nsCAN\s0
|
||||
.ds S \s\nsSUB\s0
|
||||
.nr [W \w'\*L'u
|
||||
.nr w \w'\*E'u
|
||||
.if \nw>\n([W .nr [W \nw
|
||||
.nr w \w'\*T'u
|
||||
.if \nw>\n([W .nr [W \nw
|
||||
.nr w \w'\*X'u
|
||||
.if \nw>\n([W .nr [W \nw
|
||||
.nr w \w'\*N'u
|
||||
.if \nw>\n([W .nr [W \nw
|
||||
.nr w \w'\*e'u
|
||||
.if \nw>\n([W .nr [W \nw
|
||||
.nr w \w'\*C'u
|
||||
.if \nw>\n([W .nr [W \nw
|
||||
.nr w \w'\*S'u
|
||||
.if \nw>\n([W .nr [W \nw
|
||||
.nr [W +\w'\|\|'u
|
||||
.de []
|
||||
.nr w \w'\\$2'
|
||||
.nr H \\n([Wu-\\nwu
|
||||
.nr h \\nHu/2u
|
||||
.ds \\$1 \(br\v'-1p'\(br\v'1p'\h'\\nhu'\\$2\h'\\nHu-\\nhu'\(br\l'-\\n([Wu\(ul'\v'-1p'\(br\l'-\\n([Wu\(rn'\v'1p'\|
|
||||
..
|
||||
.[] Et \v'-1p'\*X\v'1p'
|
||||
.[] En \v'-1p'\*N\v'1p'
|
||||
.[] Be \v'-1p'\*L\v'1p'
|
||||
.[] Bs \v'-1p'\s\nsBS\s0\v'1p'
|
||||
.[] Ta \v'-1p'\*T\v'1p'
|
||||
.[] Lf \v'-1p'\s\nsLF\s0\v'1p'
|
||||
.[] Vt \v'-1p'\s\nsVT\s0\v'1p'
|
||||
.[] Ff \v'-1p'\s\nsFF\s0\v'1p'
|
||||
.[] Cr \v'-1p'\s\nsCR\s0\v'1p'
|
||||
.[] So \v'-1p'\s\nsSO\s0\v'1p'
|
||||
.[] Si \v'-1p'\s\nsSI\s0\v'1p'
|
||||
.[] Eb \v'-1p'\*e\v'1p'
|
||||
.[] Ca \v'-1p'\*C\v'1p'
|
||||
.[] Su \v'-1p'\*S\v'1p'
|
||||
.[] Es \v'-1p'\*E\v'1p'
|
||||
.[] Fs \v'-1p'\s\nsFS\s0\v'1p'
|
||||
.[] Gs \v'-1p'\s\nsGS\s0\v'1p'
|
||||
.[] Rs \v'-1p'\s\nsRS\s0\v'1p'
|
||||
.[] Us \v'-1p'\s\nsUS\s0\v'1p'
|
||||
.[] # #
|
||||
.[] (( (
|
||||
.[] ) )
|
||||
.[] * *
|
||||
.[] + +
|
||||
.[] 0 0
|
||||
.[] 1 1
|
||||
.[] 2 2
|
||||
.[] 3 3
|
||||
.[] 4 4
|
||||
.[] 5 5
|
||||
.[] 6 6
|
||||
.[] 7 7
|
||||
.[] 8 8
|
||||
.[] 9 9
|
||||
.[] : :
|
||||
.[] ; ;
|
||||
.[] = =
|
||||
.[] > >
|
||||
.[] ? ?
|
||||
.[] @ @
|
||||
.[] A A
|
||||
.[] cB B
|
||||
.[] C C
|
||||
.[] D D
|
||||
.[] E E
|
||||
.[] F F
|
||||
.[] H H
|
||||
.[] J J
|
||||
.[] K K
|
||||
.[] L L
|
||||
.[] M M
|
||||
.[] N N
|
||||
.[] O O
|
||||
.[] P P
|
||||
.[] R R
|
||||
.[] S S
|
||||
.[] T T
|
||||
.[] Z Z
|
||||
.[] [[ [
|
||||
.[] ] ]
|
||||
.[] ` \`
|
||||
.[] a a
|
||||
.[] b b
|
||||
.[] c c
|
||||
.[] d d
|
||||
.[] f f
|
||||
.[] g g
|
||||
.[] h h
|
||||
.[] i i
|
||||
.[] j j
|
||||
.[] k k
|
||||
.[] l l
|
||||
.[] m m
|
||||
.[] n n
|
||||
.[] o o
|
||||
.[] p p
|
||||
.[] q q
|
||||
.[] r r
|
||||
.[] s s
|
||||
.[] t t
|
||||
.[] x x
|
||||
.[] | |
|
||||
.[] } }
|
||||
.[] c~ ~
|
||||
.ds Cc \fIC\fP
|
||||
.ds Ps \fIP\v'.3m'\h'-.2m'\s-2s\s0\v'-.3m'\fP
|
||||
.ds Pm \fIP\v'.3m'\h'-.2m'\s-2m\s0\v'-.3m'\fP
|
||||
.ds Pt \fIP\v'.3m'\h'-.2m'\s-2t\s0\v'-.3m'\fP
|
||||
.ds Ix \fIx\fP
|
||||
.ds Iy \fIy\fP
|
||||
.ds Iw \fIw\fP
|
||||
.ds Ih \fIh\fP
|
||||
.ds Ir \fIr\fP
|
||||
.ds Ic \fIc\fP
|
||||
.nr LL 6.5i
|
||||
.TL
|
||||
Xterm Control Sequences
|
||||
.am NP
|
||||
.ds CF %
|
||||
..
|
||||
.SH
|
||||
Definitions
|
||||
.IP \*(Cc
|
||||
A single (required) character.
|
||||
.IP \*(Ps
|
||||
A single (usually optional) numeric parameter, composed of one of more digits.
|
||||
.IP \*(Pm
|
||||
A multiple numeric parameter composed of any number of single numeric
|
||||
parameters, separated by \*; character(s).
|
||||
.IP \*(Pt
|
||||
A text parameter composed of printable characters.
|
||||
.SH
|
||||
VT102 Mode
|
||||
.ds RH VT102 Mode
|
||||
.LP
|
||||
Most of these control sequences are standard VT102 control sequences.
|
||||
There are, however, additional ones to provide control of
|
||||
.I xterm
|
||||
dependent functions, like the scrollbar or window size.
|
||||
.St
|
||||
.IP \\*(Be
|
||||
Bell (Ctrl-G)
|
||||
.IP \\*(Bs
|
||||
Backspace (Ctrl-H)
|
||||
.IP \\*(Ta
|
||||
Horizontal Tab (Ctrl-I)
|
||||
.IP \\*(Lf
|
||||
Line Feed or New Line (Ctrl-J)
|
||||
.IP \\*(Vt
|
||||
Vertical Tab (Ctrl-K)
|
||||
.IP \\*(Ff
|
||||
Form Feed or New Page (Ctrl-L)
|
||||
.IP \\*(Cr
|
||||
Carriage Return (Ctrl-M)
|
||||
.IP \\*(So
|
||||
Shift Out (Ctrl-N) \(-> Switch to Alternate Character Set
|
||||
.IP \\*(Si
|
||||
Shift In (Ctrl-O) \(-> Switch to Standard Character Set
|
||||
.IP \\*(Es\\*#\\*8
|
||||
DEC Screen Alignment Test (DECALN)
|
||||
.IP \\*(Es\\*(((\\*(Cc
|
||||
Select G0 Character Set (SCS)
|
||||
\*(Cc = \*0 \(-> Special Character and Line Drawing Set
|
||||
\*(Cc = \*A \(-> United Kingdom (UK)
|
||||
\*(Cc = \*(cB \(-> United States (USASCII)
|
||||
.IP \\*(Es\\*)\\*(Cc
|
||||
Select G1 Character Set (SCS)
|
||||
\*(Cc = \*0 \(-> Special Character and Line Drawing Set
|
||||
\*(Cc = \*A \(-> United Kingdom (UK)
|
||||
\*(Cc = \*(cB \(-> United States (USASCII)
|
||||
.IP \\*(Es\\**\\*(Cc
|
||||
Select G2 Character Set (SCS)
|
||||
\*(Cc = \*0 \(-> Special Character and Line Drawing Set
|
||||
\*(Cc = \*A \(-> United Kingdom (UK)
|
||||
\*(Cc = \*(cB \(-> United States (USASCII)
|
||||
.IP \\*(Es\\*+\\*(Cc
|
||||
Select G3 Character Set (SCS)
|
||||
\*(Cc = \*0 \(-> Special Character and Line Drawing Set
|
||||
\*(Cc = \*A \(-> United Kingdom (UK)
|
||||
\*(Cc = \*(cB \(-> United States (USASCII)
|
||||
.IP \\*(Es\\*7
|
||||
Save Cursor (DECSC)
|
||||
.IP \\*(Es\\*8
|
||||
Restore Cursor (DECRC)
|
||||
.IP \\*(Es\\*=
|
||||
Application Keypad (DECPAM)
|
||||
.IP \\*(Es\\*>
|
||||
Normal Keypad (DECPNM)
|
||||
.IP \\*(Es\\*D
|
||||
Index (IND)
|
||||
.IP \\*(Es\\*E
|
||||
Next Line (NEL)
|
||||
.IP \\*(Es\\*H
|
||||
Tab Set (HTS)
|
||||
.IP \\*(Es\\*M
|
||||
Reverse Index (RI)
|
||||
.IP \\*(Es\\*N
|
||||
Single Shift Select of G2 Character Set (SS2)
|
||||
.IP \\*(Es\\*O
|
||||
Single Shift Select of G3 Character Set (SS3)
|
||||
.IP \\*(Es\\*Z
|
||||
Return Terminal ID (DECID)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*@
|
||||
Insert \*(Ps (Blank) Character(s) (default = 1) (ICH)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*A
|
||||
Cursor Up \*(Ps Times (default = 1) (CUU)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*(cB
|
||||
Cursor Down \*(Ps Times (default = 1) (CUD)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*C
|
||||
Cursor Forward \*(Ps Times (default = 1) (CUF)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*D
|
||||
Cursor Backward \*(Ps Times (default = 1) (CUB)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*;\\*(Ps\|\\*H
|
||||
Cursor Position [row;column] (default = [1,1]) (CUP)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*J
|
||||
Erase in Display (ED)
|
||||
\*(Ps = \*0 \(-> Clear Below (default)
|
||||
\*(Ps = \*1 \(-> Clear Above
|
||||
\*(Ps = \*2 \(-> Clear All
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*K
|
||||
Erase in Line (EL)
|
||||
\*(Ps = \*0 \(-> Clear to Right (default)
|
||||
\*(Ps = \*1 \(-> Clear to Left
|
||||
\*(Ps = \*2 \(-> Clear All
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*L
|
||||
Insert \*(Ps Line(s) (default = 1) (IL)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*M
|
||||
Delete \*(Ps Line(s) (default = 1) (DL)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*P
|
||||
Delete \*(Ps Character(s) (default = 1) (DCH)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*;\\*(Ps\|\\*;\\*(Ps\|\\*;\\*(Ps\|\\*;\\*(Ps\|\\*T
|
||||
Track Mouse [func;startcol;startrow;firstrow;lastrow] XXX - describe
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*c
|
||||
Device Attributes (default 0) (DA)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*;\\*(Ps\|\\*f
|
||||
Horizontal and Vertical Position [row;column] (default = [1,1]) (HVP)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*g
|
||||
Tab Clear
|
||||
\*(Ps = \*0 \(-> Clear Current Column (default)
|
||||
\*(Ps = \*3 \(-> Clear All
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*h
|
||||
Mode Set (SET)
|
||||
\*(Ps = \*4 \(-> Insert Mode (IRM)
|
||||
\*(Ps = \*2\*0 \(-> Automatic Linefeed (LNM)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*l
|
||||
Mode Reset (RST)
|
||||
\*(Ps = \*4 \(-> Insert Mode (IRM)
|
||||
\*(Ps = \*2\*0 \(-> Automatic Linefeed (LNM)
|
||||
.IP \\*(Es\\*([[\\*(Pm\|\\*m
|
||||
Character Attributes (SGR)
|
||||
\*(Ps = \*0 \(-> Normal (default)
|
||||
\*(Ps = \*1 \(-> Blink (appears as Bold)
|
||||
\*(Ps = \*4 \(-> Underscore
|
||||
\*(Ps = \*5 \(-> Bold
|
||||
\*(Ps = \*7 \(-> Inverse
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*n
|
||||
Device Status Report (DSR)
|
||||
\*(Ps = 5 \(-> Status Report \*(Es\*([[\*0\*n \(-> OK
|
||||
\*(Ps = 6 \(-> Report Cursor Position (CPR) [row;column] as
|
||||
\*(Es\*([[\*(Ir\|\*;\*(Ic\|\*R
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*;\\*(Ps\|\\*r
|
||||
Set Scrolling Region [top;bottom] (default = full size of window) (DECSTBM)
|
||||
.IP \\*(Es\\*([[\\*(Ps\|\\*x
|
||||
Request Terminal Parameters (DECREQTPARM)
|
||||
.IP \\*(Es\\*([[\\*?\\*(Ps\|\\*h
|
||||
DEC Private Mode Set (DECSET)
|
||||
\*(Ps = \*1 \(-> Application Cursor Keys (DECCKM)
|
||||
\*(Ps = \*3 \(-> 132 Column Mode (DECCOLM)
|
||||
\*(Ps = \*4 \(-> Smooth (Slow) Scroll (DECSCLM)
|
||||
\*(Ps = \*5 \(-> Reverse Video (DECSCNM)
|
||||
\*(Ps = \*6 \(-> Origin Mode (DECOM)
|
||||
\*(Ps = \*7 \(-> Wraparound Mode (DECAWM)
|
||||
\*(Ps = \*8 \(-> Auto-repeat Keys (DECARM)
|
||||
\*(Ps = \*9 \(-> Send MIT Mouse Row & Column on Button Press
|
||||
\*(Ps = \*3\*8 \(-> Enter Tektronix Mode (DECTEK)
|
||||
\*(Ps = \*4\*0 \(-> Allow 80 \z\(<-\(-> 132 Mode
|
||||
\*(Ps = \*4\*1 \(-> \fIcurses\fP(5) fix
|
||||
\*(Ps = \*4\*4 \(-> Turn On Margin Bell
|
||||
\*(Ps = \*4\*5 \(-> Reverse-wraparound Mode
|
||||
\*(Ps = \*4\*6 \(-> Start Logging
|
||||
\*(Ps = \*4\*7 \(-> Use Alternate Screen Buffer
|
||||
\*(Ps = \*1\*0\*0\*0 \(-> Send VT200 Mouse Row & Column on Button Press
|
||||
\*(Ps = \*1\*0\*0\*3 \(-> Send VT200 Hilite Mouse Row & Column on Button Press
|
||||
.IP \\*(Es\\*([[\\*?\\*(Ps\|\\*l
|
||||
DEC Private Mode Reset (DECRST)
|
||||
\*(Ps = \*1 \(-> Normal Cursor Keys (DECCKM)
|
||||
\*(Ps = \*3 \(-> 80 Column Mode (DECCOLM)
|
||||
\*(Ps = \*4 \(-> Jump (Fast) Scroll (DECSCLM)
|
||||
\*(Ps = \*5 \(-> Normal Video (DECSCNM)
|
||||
\*(Ps = \*6 \(-> Normal Cursor Mode (DECOM)
|
||||
\*(Ps = \*7 \(-> No Wraparound Mode (DECAWM)
|
||||
\*(Ps = \*8 \(-> No Auto-repeat Keys (DECARM)
|
||||
\*(Ps = \*9 \(-> Don't Send Mouse Row & Column on Button Press
|
||||
\*(Ps = \*4\*0 \(-> Disallow 80 \z\(<-\(-> 132 Mode
|
||||
\*(Ps = \*4\*1 \(-> No \fIcurses\fP(5) fix
|
||||
\*(Ps = \*4\*4 \(-> Turn Off Margin Bell
|
||||
\*(Ps = \*4\*5 \(-> No Reverse-wraparound Mode
|
||||
\*(Ps = \*4\*6 \(-> Stop Logging
|
||||
\*(Ps = \*4\*7 \(-> Use Normal Screen Buffer
|
||||
\*(Ps = \*1\*0\*0\*0 \(-> Don't Send Mouse Row & Column on Button Press
|
||||
\*(Ps = \*1\*0\*0\*3 \(-> Don't Send Mouse Row & Column on Button Press
|
||||
.IP \\*(Es\\*([[\\*?\\*(Ps\|\\*r
|
||||
Restore DEC Private Mode
|
||||
\*(Ps = \*1 \(-> Normal/Application Cursor Keys (DECCKM)
|
||||
\*(Ps = \*3 \(-> 80/132 Column Mode (DECCOLM)
|
||||
\*(Ps = \*4 \(-> Jump (Fast)/Smooth (Slow) Scroll (DECSCLM)
|
||||
\*(Ps = \*5 \(-> Normal/Reverse Video (DECSCNM)
|
||||
\*(Ps = \*6 \(-> Normal/Origin Cursor Mode (DECOM)
|
||||
\*(Ps = \*7 \(-> No Wraparound/Wraparound Mode (DECAWM)
|
||||
\*(Ps = \*8 \(-> Auto-repeat/No Auto-repeat Keys (DECARM)
|
||||
\*(Ps = \*9 \(-> Don't Send/Send MIT Mouse Row & Column on Button Press
|
||||
\*(Ps = \*4\*0 \(-> Disallow/Allow 80 \z\(<-\(-> 132 Mode
|
||||
\*(Ps = \*4\*1 \(-> Off/On \fIcurses\fP(5) fix
|
||||
\*(Ps = \*4\*4 \(-> Turn Off/On Margin Bell
|
||||
\*(Ps = \*4\*5 \(-> No Reverse-wraparound/Reverse-wraparound Mode
|
||||
\*(Ps = \*4\*6 \(-> Stop/Start Logging
|
||||
\*(Ps = \*4\*7 \(-> Use Normal/Alternate Screen Buffer
|
||||
\*(Ps = \*1\*0\*0\*0 \(-> Don't Send/Send VT220 Mouse Row & Column on Button Press
|
||||
\*(Ps = \*1\*0\*0\*3 \(-> Don't Send/Send VT220 Hilite Mouse Row & Column on Button Press
|
||||
.IP \\*(Es\\*([[\\*?\\*(Ps\|\\*s
|
||||
Save DEC Private Mode
|
||||
\*(Ps = \*1 \(-> Normal/Application Cursor Keys (DECCKM)
|
||||
\*(Ps = \*3 \(-> 80/132 Column Mode (DECCOLM)
|
||||
\*(Ps = \*4 \(-> Jump (Fast)/Smooth (Slow) Scroll (DECSCLM)
|
||||
\*(Ps = \*5 \(-> Normal/Reverse Video (DECSCNM)
|
||||
\*(Ps = \*6 \(-> Normal/Origin Cursor Mode (DECOM)
|
||||
\*(Ps = \*7 \(-> No Wraparound/Wraparound Mode (DECAWM)
|
||||
\*(Ps = \*8 \(-> Auto-repeat/No Auto-repeat Keys (DECARM)
|
||||
\*(Ps = \*9 \(-> Don't Send/Send MIT Mouse Row & Column on Button Press
|
||||
\*(Ps = \*4\*0 \(-> Disallow/Allow 80 \z\(<-\(-> 132 Mode
|
||||
\*(Ps = \*4\*1 \(-> Off/On \fIcurses\fP(5) fix
|
||||
\*(Ps = \*4\*4 \(-> Turn Off/On Margin Bell
|
||||
\*(Ps = \*4\*5 \(-> No Reverse-wraparound/Reverse-wraparound Mode
|
||||
\*(Ps = \*4\*6 \(-> Stop/Start Logging
|
||||
\*(Ps = \*4\*7 \(-> Use Normal/Alternate Screen Buffer
|
||||
\*(Ps = \*1\*0\*0\*0 \(-> Don't Send/Send VT220 Mouse Row & Column on Button Press
|
||||
\*(Ps = \*1\*0\*0\*3 \(-> Don't Send/Send VT220 Hilite Mouse Row & Column on Button Press
|
||||
.IP \\*(Es\\*]\\*(Ps\|\\*;\\*(Pt\|\\*(Be
|
||||
Set Text Parameters
|
||||
\*(Ps = \*0 \(-> Change Icon Name and Window Title to \*(Pt
|
||||
\*(Ps = \*1 \(-> Change Icon Name to \*(Pt
|
||||
\*(Ps = \*2 \(-> Change Window Title to \*(Pt
|
||||
\*(Ps = \*4\*6 \(-> Change Log File to \*(Pt
|
||||
.IP \\*(Es\\*c
|
||||
Full Reset (RIS)
|
||||
.IP \\*(Es\\*n
|
||||
Locking Shift Select of G2 Character Set (LS2)
|
||||
.IP \\*(Es\\*o
|
||||
Locking Shift Select of G3 Character Set (LS3)
|
||||
.Ed
|
||||
.SH
|
||||
Tektronix 4015 Mode
|
||||
.ds RH Tektronix 4015 Mode
|
||||
.LP
|
||||
Most of these sequences are standard Tektronix 4015 control sequences.
|
||||
The major features missing are the alternate (APL) character set and
|
||||
the write-thru and defocused modes.
|
||||
.St
|
||||
.IP \\*(Be
|
||||
Bell (Ctrl-G)
|
||||
.IP \\*(Bs
|
||||
Backspace (Ctrl-H)
|
||||
.IP \\*(Ta
|
||||
Horizontal Tab (Ctrl-I)
|
||||
.IP \\*(Lf
|
||||
Line Feed or New Line (Ctrl-J)
|
||||
.IP \\*(Vt
|
||||
Vertical Tab (Ctrl-K)
|
||||
.IP \\*(Ff
|
||||
Form Feed or New Page (Ctrl-L)
|
||||
.IP \\*(Cr
|
||||
Carriage Return (Ctrl-M)
|
||||
.IP \\*(Es\\*(Et
|
||||
Switch to VT102 Mode
|
||||
.IP \\*(Es\\*(En
|
||||
Return Terminal Status
|
||||
.IP \\*(Es\\*(Lf
|
||||
PAGE (Clear Screen)
|
||||
.IP \\*(Es\\*(Eb
|
||||
COPY (Save Tektronix Codes to File)
|
||||
.IP \\*(Es\\*(Ca
|
||||
Bypass Condition
|
||||
.IP \\*(Es\\*(Su
|
||||
GIN mode
|
||||
.IP \\*(Es\\*(Fs
|
||||
Special Point Plot Mode
|
||||
.IP \\*(Es\\*(Gs
|
||||
Graph Mode (same as \*(Gs)
|
||||
.IP \\*(Es\\*(Rs
|
||||
Incremental Plot Mode (same as \*(Rs)
|
||||
.IP \\*(Es\\*(Us
|
||||
Alpha Mode (same as \*(Us)
|
||||
.IP \\*(Es\\*8
|
||||
Select Large Character Set
|
||||
.IP \\*(Es\\*9
|
||||
Select #2 Character Set
|
||||
.IP \\*(Es\\*:
|
||||
Select #3 Character Set
|
||||
.IP \\*(Es\\*;
|
||||
Select Small Character Set
|
||||
.IP \\*(Es\\*]\\*(Ps\|\\*;\\*(Pt\|\\*(Be
|
||||
Set Text Parameters
|
||||
\*(Ps = \*0 \(-> Change Icon Name and Window Title to \*(Pt
|
||||
\*(Ps = \*1 \(-> Change Icon Name to \*(Pt
|
||||
\*(Ps = \*2 \(-> Change Window Title to \*(Pt
|
||||
\*(Ps = \*4\*6 \(-> Change Log File to \*(Pt
|
||||
.IP \\*(Es\\*`
|
||||
Normal Z Axis and Normal (solid) Vectors
|
||||
.IP \\*(Es\\*a
|
||||
Normal Z Axis and Dotted Line Vectors
|
||||
.IP \\*(Es\\*b
|
||||
Normal Z Axis and Dot-Dashed Vectors
|
||||
.IP \\*(Es\\*c
|
||||
Normal Z Axis and Short-Dashed Vectors
|
||||
.IP \\*(Es\\*d
|
||||
Normal Z Axis and Long-Dashed Vectors
|
||||
.IP \\*(Es\\*h
|
||||
Defocused Z Axis and Normal (solid) Vectors
|
||||
.IP \\*(Es\\*i
|
||||
Defocused Z Axis and Dotted Line Vectors
|
||||
.IP \\*(Es\\*j
|
||||
Defocused Z Axis and Dot-Dashed Vectors
|
||||
.IP \\*(Es\\*k
|
||||
Defocused Z Axis and Short-Dashed Vectors
|
||||
.IP \\*(Es\\*l
|
||||
Defocused Z Axis and Long-Dashed Vectors
|
||||
.IP \\*(Es\\*p
|
||||
Write-Thru Mode and Normal (solid) Vectors
|
||||
.IP \\*(Es\\*q
|
||||
Write-Thru Mode and Dotted Line Vectors
|
||||
.IP \\*(Es\\*r
|
||||
Write-Thru Mode and Dot-Dashed Vectors
|
||||
.IP \\*(Es\\*s
|
||||
Write-Thru Mode and Short-Dashed Vectors
|
||||
.IP \\*(Es\\*t
|
||||
Write-Thru Mode and Long-Dashed Vectors
|
||||
.IP \\*(Fs
|
||||
Point Plot Mode
|
||||
.IP \\*(Gs
|
||||
Graph Mode
|
||||
.IP \\*(Rs
|
||||
Incremental Plot Mode
|
||||
.IP \\*(Us
|
||||
Alpha Mode
|
||||
.Ed
|
||||
220
Linux-0.11/info/xterm-seqs2.txt
Normal file
220
Linux-0.11/info/xterm-seqs2.txt
Normal file
@@ -0,0 +1,220 @@
|
||||
Date: 12 Sep 89 17:44:43 GMT
|
||||
From: crdgw1!montnaro@uunet.uu.net (Skip Montanaro)
|
||||
Organization: GE Corporate Research & Development, Schenectady, NY
|
||||
Subject: XTerm Escape Sequences (X11 Version)
|
||||
To: xpert@expo.lcs.mit.edu
|
||||
|
||||
I rummaged around through the xterm code and came up with the following
|
||||
stuff. No guarantees. I'm headed out of town for a couple days and thought
|
||||
it better to get it out than let it get stale. Comments, bugs, and other
|
||||
notes are welcome. Somebody else can convert it to troff. I prefer LaTeX.
|
||||
:-) I will try and get to the Tek mode stuff when I return, although I doubt
|
||||
it's changed much from X10 XTerm.
|
||||
|
||||
I gleaned the basic stuff out of the charproc.c code, by hacking VTparse()
|
||||
so it spit out leaves of the parse tree. I was mildly surprised to see
|
||||
things like "ESC # BEL" turn up.
|
||||
|
||||
For most folks, the most interesting stuff will probably be "ESC ] Ps ND
|
||||
string NP" down near the bottom. That's what you use to change the icon and
|
||||
window labels, and the log file name. Most other things appear the same as
|
||||
the X10 documentation, although a few DEC-ish mode parameters (42, 43, 48, &
|
||||
49) seem to have disappeared.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
BEL Bell (Ctrl-G)
|
||||
BS Backspace (Ctrl-H)
|
||||
HT Horizontal Tab (Ctrl-I)
|
||||
NL Line Feed or New Line (Ctrl-J)
|
||||
VT Vertical Tab (Ctrl-K)
|
||||
NP Form Feed or New Page (Ctrl-L)
|
||||
CR Carriage Return (Ctrl-M)
|
||||
SO Shift Out (Ctrl-N) -> Switch to Alternate Character Set
|
||||
SI Shift In (Ctrl-O) -> Switch to Standard Character Set
|
||||
ESC BEL (Same as non-escaped BEL)
|
||||
ESC BS (Same as non-escaped BS)
|
||||
ESC HT (Same as non-escaped HT)
|
||||
ESC NL (Same as non-escaped NL)
|
||||
ESC VT (Same as non-escaped VT)
|
||||
ESC NP (Same as non-escaped NP)
|
||||
ESC CR (Same as non-escaped CR)
|
||||
ESC SO (Same as non-escaped SO)
|
||||
ESC SI (Same as non-escaped SI)
|
||||
ESC # BEL (Same as non-escaped BEL)
|
||||
ESC # BS (Same as non-escaped BS)
|
||||
ESC # HT (Same as non-escaped HT)
|
||||
ESC # NL (Same as non-escaped NL)
|
||||
ESC # VT (Same as non-escaped VT)
|
||||
ESC # NP (Same as non-escaped NP)
|
||||
ESC # CR (Same as non-escaped CR)
|
||||
ESC # SO (Same as non-escaped SO)
|
||||
ESC # SI (Same as non-escaped SI)
|
||||
ESC # 8 DEC Screen Alignment Test (DECALN)
|
||||
ESC ( BEL (Same as non-escaped BEL)
|
||||
ESC ( BS (Same as non-escaped BS)
|
||||
ESC ( HT (Same as non-escaped HT)
|
||||
ESC ( NL (Same as non-escaped NL)
|
||||
ESC ( VT (Same as non-escaped VT)
|
||||
ESC ( NP (Same as non-escaped NP)
|
||||
ESC ( CR (Same as non-escaped CR)
|
||||
ESC ( SO (Same as non-escaped SO)
|
||||
ESC ( SI (Same as non-escaped SI)
|
||||
ESC ( C Select G0 Character Set (SCS)
|
||||
C = 0 -> Special Character and Line Drawing Set
|
||||
C = 1 -> Alternate Character ROM Standard Set
|
||||
C = 2 -> Alternate Character ROM Special Set
|
||||
C = A -> United Kingdom (UK)
|
||||
C = B -> United States (USASCII)
|
||||
ESC ) C Select G1 Character Set (SCS)
|
||||
C takes same values as above
|
||||
ESC * C Select G2 Character Set (SCS)
|
||||
C takes same values as above
|
||||
ESC + C Select G3 Character Set (SCS)
|
||||
C takes same values as above
|
||||
ESC 7 Save Cursor (DECSC)
|
||||
ESC 8 Restore Cursor (DECRC)
|
||||
ESC = Application Keypad (DECPAM)
|
||||
ESC > Normal Keypad (DECNM)
|
||||
ESC D Index (IND)
|
||||
ESC E Next Line (NEL)
|
||||
ESC H Tab Set (HTS)
|
||||
ESC M Reverse Index (RI)
|
||||
ESC N Single Shift Select of G2 Character Set (SS2)
|
||||
ESC O Single Shift Select of G3 Character Set (SS3)
|
||||
ESC [ BEL (Same as non-escaped BEL)
|
||||
ESC [ BS (Same as non-escaped BS)
|
||||
ESC [ HT (Same as non-escaped HT)
|
||||
ESC [ NL (Same as non-escaped NL)
|
||||
ESC [ VT (Same as non-escaped VT)
|
||||
ESC [ NP (Same as non-escaped NP)
|
||||
ESC [ CR (Same as non-escaped CR)
|
||||
ESC [ SO (Same as non-escaped SO)
|
||||
ESC [ SI (Same as non-escaped SI)
|
||||
ESC [ ? BEL (Same as non-escaped BEL)
|
||||
ESC [ ? BS (Same as non-escaped BS)
|
||||
ESC [ ? HT (Same as non-escaped HT)
|
||||
ESC [ ? NL (Same as non-escaped NL)
|
||||
ESC [ ? VT (Same as non-escaped VT)
|
||||
ESC [ ? NP (Same as non-escaped NP)
|
||||
ESC [ ? CR (Same as non-escaped CR)
|
||||
ESC [ ? SO (Same as non-escaped SO)
|
||||
ESC [ ? SI (Same as non-escaped SI)
|
||||
ESC [ ? Ps h DEC Private Mode Set (DECSET)
|
||||
Ps = 1 -> Application Cursor Keys (DECCKM)
|
||||
Ps = 2 -> Set VT52 Mode
|
||||
Ps = 3 -> 132 Column Mode (DECCOLM)
|
||||
Ps = 4 -> Smooth (Slow) Scroll (DECSCLM)
|
||||
Ps = 5 -> Reverse Video (DECSCNM)
|
||||
Ps = 6 -> Origin Mode (DECOM)
|
||||
Ps = 7 -> Wraparound Mode (DECAWM)
|
||||
Ps = 8 -> Auto-Repeat Keys (DECARM)
|
||||
Ps = 9 -> Send MIT Mouse Row & Column on Button
|
||||
Press
|
||||
Ps = 38 -> Enter Tektronix Mode (DECTEK)
|
||||
Ps = 40 -> Allow 80 <-> 132 Mode
|
||||
Ps = 41 -> curses(5) fix
|
||||
Ps = 44 -> Turn on Margin Bell
|
||||
Ps = 45 -> Reverse-wraparound Mode
|
||||
Ps = 46 -> Start Logging
|
||||
Ps = 47 -> Use Alternate Screen Buffer
|
||||
Ps = 1000 -> xtem bogus sequence (???)
|
||||
Ps = 1001 -> xtem sequence w/hilite tracking (???)
|
||||
ESC [ ? Ps l DEC Private Mode Reset (DECRST)
|
||||
Ps = 1 -> Normal Cursor Keys (DECCKM)
|
||||
Ps = 3 -> 80 Column Mode (DECCOLM)
|
||||
Ps = 4 -> Jump (Fast) Scroll (DECSCLM)
|
||||
Ps = 5 -> Normal Video (DECSCNM)
|
||||
Ps = 6 -> Normal Cursor Mode (DECOM)
|
||||
Ps = 7 -> No Wraparound Mode (DECAWM)
|
||||
Ps = 8 -> No Auto-Repeat Keys (DECARM)
|
||||
Ps = 9 -> Don't Send MIT Mouse Row & Column on
|
||||
Button Press
|
||||
Ps = 40 -> Don't Allow 80 <-> 132 Mode
|
||||
Ps = 41 -> No curses(5) fix
|
||||
Ps = 44 -> Turn Off Margin Bell
|
||||
Ps = 45 -> No Reverse-wraparound Mode
|
||||
Ps = 46 -> Stop Logging
|
||||
Ps = 47 -> Use Normal Screen Buffer
|
||||
Ps = 1000 -> xtem bogus sequence (???)
|
||||
Ps = 1001 -> xtem sequence w/hilite tracking (???)
|
||||
ESC [ ? Ps r Restore DEC Private Mode
|
||||
Ps = 1 -> Normal/Application Cursor Keys (DECCKM)
|
||||
Ps = 3 -> 80/132 Column Mode (DECCOLM)
|
||||
Ps = 4 -> Jump (Fast)/Smooth (Slow) Scroll (DECSCLM)
|
||||
Ps = 5 -> Normal/Reverse Video (DECSCNM)
|
||||
Ps = 6 -> Normal/Origin Cursor Mode (DECOM)
|
||||
Ps = 7 -> No Wraparound/Wraparound Mode (DECAWM)
|
||||
Ps = 8 -> Auto-repeat/No Auto-repeat Keys (DECARM)
|
||||
Ps = 9 -> Don't Send/Send MIT Mouse Row & Column on
|
||||
Button Press
|
||||
Ps = 40 -> Disallow/Allow 80 <-> 132 Mode
|
||||
Ps = 41 -> Off/On curses(5) fix
|
||||
Ps = 44 -> Turn Off/On Margin Bell
|
||||
Ps = 45 -> No Reverse-wraparound/Reverse-wraparound
|
||||
Mode
|
||||
Ps = 46 -> Stop/Start Logging
|
||||
Ps = 47 -> Use Normal/Alternate Screen Buffer
|
||||
Ps = 1000 -> mouse bogus sequence (???)
|
||||
Ps = 1001 -> mouse bogus sequence (???)
|
||||
ESC [ ? Ps s Save DEC Private Mode
|
||||
Same P's as Restore DEC Private Mode
|
||||
ESC [ Ps @ Insert Ps (Blank) Character(s) (default = 1) (ICH)
|
||||
ESC [ Ps A Cursor Up Ps Times (default = 1) (CUU)
|
||||
ESC [ Ps B Cursor Down Ps Times (default = 1) (CUD)
|
||||
ESC [ Ps C Cursor Forward Ps Times (default = 1) (CUF)
|
||||
ESC [ Ps D Cursor Backward Ps Times (default = 1) (CUB)
|
||||
ESC [ Ps ; Ps H Cursor Position [row;column] (default = [1,1]) (CUP)
|
||||
ESC [ Ps J Erase in Display
|
||||
Ps = 0 -> Clear Below (default)
|
||||
Ps = 1 -> Clear Above
|
||||
Ps = 2 -> Clear All
|
||||
ESC [ Ps K Erase in Line
|
||||
Ps = 0 -> Clear to Right (default)
|
||||
Ps = 1 -> Clear to Left
|
||||
Ps = 2 -> Clear All
|
||||
ESC [ Ps L Insert Ps lines (default = 1) (IL)
|
||||
ESC [ Ps M Delete Ps lines (default = 1) (DL)
|
||||
ESC [ Ps P Delete Ps Characters (default = 1) (DCH)
|
||||
ESC [ T Track Mouse (???)
|
||||
ESC [ Ps c Device Attributes (DA1)
|
||||
ESC [ Ps ; Ps f Cursor Position [row;column] (default = [1,1]) (HVP)
|
||||
ESC [ Ps g Tab Clear
|
||||
Ps = 0 -> Clear Current Column (default)
|
||||
Ps = 3 -> Clear All
|
||||
ESC [ Ps h Mode Set (SET)
|
||||
Ps = 4 -> Insert Mode (IRM)
|
||||
Ps = 20 -> Automatic Linefeed (LNM)
|
||||
ESC [ Ps l Mode Reset (RST)
|
||||
Ps = 4 -> Insert Mode (IRM)
|
||||
Ps = 20 -> Automatic Linefeed (LNM)
|
||||
ESC [ Pm m Character Attributes (SGR)
|
||||
Ps = 0 -> Normal (default)
|
||||
Ps = 1 -> Blink (appears as Bold)
|
||||
Ps = 4 -> Underscore
|
||||
Ps = 5 -> Bold
|
||||
Ps = 7 -> Inverse
|
||||
ESC [ Ps n Device Status Report (DSR)
|
||||
Ps = 5 -> Status Report ESC [ 0 n -> OK
|
||||
Ps = 6 -> Report Cursor Position (CPR) [row;column]
|
||||
as ESC [ r ; c R
|
||||
ESC [ Ps ; Ps r Set Scrolling Region [top;bottom] (default = full size
|
||||
of window) (DECSTBM)
|
||||
ESC [ Ps x Request Terminal Parameters (DECREQTPARM)
|
||||
ESC ] Ps ND string NP OSC Mode
|
||||
ND can be any non-digit Character (it's discarded)
|
||||
NP can be any non-printing Character (it's discarded)
|
||||
string can be any ASCII printable string
|
||||
(max 511 characters)
|
||||
Ps = 0 -> use string as a new icon name and title
|
||||
Ps = 1 -> use string is a new icon name only
|
||||
Ps = 2 -> use string is a new title only
|
||||
Ps = 46 -> use string as a new log file name
|
||||
|
||||
ESC c Full Reset
|
||||
ESC n Switch to Alternate Character Set LS2
|
||||
ESC o Switch to Alternate Character Set LS3
|
||||
ESC | Switch to Alternate Graphics(?) Set LS3R
|
||||
ESC } Switch to Alternate Graphics(?) Set LS2R
|
||||
ESC ~ Switch to Alternate Graphics(?) Set LS1R
|
||||
--
|
||||
Skip Montanaro (montanaro@crdgw1.ge.com)
|
||||
Reference in New Issue
Block a user