Browse Source

updated xterm compatibility sheet

Ondřej Hruška 3 years ago
parent
commit
07b1359f86
1 changed files with 25 additions and 26 deletions
  1. 25 26
      docs/espterm-xterm.html

+ 25 - 26
docs/espterm-xterm.html View File

@@ -603,7 +603,7 @@ CSI <i>Pm</i> `  Character Position Absolute  [column] (default = [row,1])
603 603
           (HPA).
604 604
 CSI <i>Pm</i> a  Character Position Relative  [columns] (default = [row,col+1])
605 605
           (HPR).
606
-<del>CSI <i>Ps</i> b  Repeat the preceding graphic character <i>Ps</i> times (REP).</del>
606
+CSI <i>Ps</i> b  Repeat the preceding graphic character <i>Ps</i> times (REP).
607 607
 CSI <i>Ps</i> c  Send Device Attributes (Primary DA).
608 608
             <i>Ps</i> = 0  or omitted -&gt; request attributes from terminal.  The
609 609
           response depends on the <b>decTerminalID</b> resource setting.
@@ -681,7 +681,7 @@ CSI ? <i>Pm</i> h
681 681
             <i>Ps</i> = 9  -&gt; Send Mouse X &amp; Y on button press.  See the sec-
682 682
           tion <b>Mouse</b> <b>Tracking</b>.  This is the X10 xterm mouse protocol.
683 683
             <del><i>Ps</i> = 1 0  -&gt; Show toolbar (rxvt).</del>
684
-            <del><i>Ps</i> = 1 2  -&gt; Start Blinking Cursor (att610).</del>
684
+            <i>Ps</i> = 1 2  -&gt; Start Blinking Cursor (att610).
685 685
             <del><i>Ps</i> = 1 8  -&gt; Print form feed (DECPFF).</del>
686 686
             <del><i>Ps</i> = 1 9  -&gt; Set print extent to full screen (DECPEX).</del>
687 687
             <i>Ps</i> = 2 5  -&gt; Show Cursor (DECTCEM).
@@ -693,7 +693,7 @@ CSI ? <i>Pm</i> h
693 693
             <del><i>Ps</i> = 4 2  -&gt; Enable National Replacement Character sets
694 694
           (DECNRCM).</del>
695 695
             <del><i>Ps</i> = 4 4  -&gt; Turn On Margin Bell.</del>
696
-            <del><i>Ps</i> = 4 5  -&gt; Reverse-wraparound Mode.</del>
696
+            <i>Ps</i> = 4 5  -&gt; Reverse-wraparound Mode.
697 697
             <del><i>Ps</i> = 4 6  -&gt; Start Logging.  This is normally disabled by a
698 698
           compile-time option.</del>
699 699
             <i>Ps</i> = 4 7  -&gt; Use Alternate Screen Buffer.  <del>(This may be dis-
@@ -751,15 +751,15 @@ CSI ? <i>Pm</i> h
751 751
           0 4 7  and 1 0 4 8  modes.  Use this with terminfo-based
752 752
           applications rather than the 4 7  mode.
753 753
 <ins block>ESP8266 doesn't have enough RAM to hold two screen buffers.
754
-          Instead, we at least back up and restore screen title, size and other
755
-          attributes. The screen is also cleared with each buffer change. <b>TODO implement</b></ins><!--
754
+          Instead, we at least back up and restore the cursor, screen title, size, buttons and other
755
+          attributes. The screen is also cleared with each buffer change.</ins><!--
756 756
 -->            <del><i>Ps</i> = 1 0 5 0  -&gt; Set terminfo/termcap function-key mode.
757 757
             <i>Ps</i> = 1 0 5 1  -&gt; Set Sun function-key mode.
758 758
             <i>Ps</i> = 1 0 5 2  -&gt; Set HP function-key mode.
759 759
             <i>Ps</i> = 1 0 5 3  -&gt; Set SCO function-key mode.
760 760
             <i>Ps</i> = 1 0 6 0  -&gt; Set legacy keyboard emulation (X11R6).
761
-            <i>Ps</i> = 1 0 6 1  -&gt; Set VT220 keyboard emulation.
762
-            <i>Ps</i> = 2 0 0 4  -&gt; Set bracketed paste mode.</del>
761
+            <i>Ps</i> = 1 0 6 1  -&gt; Set VT220 keyboard emulation.</del>
762
+            <i>Ps</i> = 2 0 0 4  -&gt; Set bracketed paste mode.
763 763
 <del>CSI <i>Pm</i> i  Media Copy (MC).
764 764
             <i>Ps</i> = 0  -&gt; Print screen (default).
765 765
             <i>Ps</i> = 4  -&gt; Turn off printer controller mode.
@@ -869,7 +869,7 @@ CSI <i>Pm</i> m  Character Attributes (SGR).
869 869
             <i>Ps</i> = 4  -&gt; Underlined.
870 870
             <i>Ps</i> = 5  -&gt; Blink <span>(appears as Bold).</span>
871 871
             <i>Ps</i> = 7  -&gt; Inverse.
872
-            <del><i>Ps</i> = 8  -&gt; Invisible, i.e., hidden (VT300).</del>
872
+            <i>Ps</i> = 8  -&gt; Invisible, i.e., hidden (VT300).
873 873
             <i>Ps</i> = 9  -&gt; Crossed-out characters (ISO 6429).
874 874
             <ins><i>Ps</i> = 2 0  -&gt; Fraktur (code from Wikipedia)</ins>
875 875
             <del><i>Ps</i> = 2 1  -&gt; Doubly-underlined (ISO 6429).</del>
@@ -879,7 +879,7 @@ CSI <i>Pm</i> m  Character Attributes (SGR).
879 879
             <i>Ps</i> = 2 4  -&gt; Not underlined.
880 880
             <i>Ps</i> = 2 5  -&gt; Steady (not blinking).
881 881
             <i>Ps</i> = 2 7  -&gt; Positive (not inverse).
882
-            <del><i>Ps</i> = 2 8  -&gt; Visible, i.e., not hidden (VT300).</del>
882
+            <i>Ps</i> = 2 8  -&gt; Visible, i.e., not hidden (VT300).
883 883
             <i>Ps</i> = 2 9  -&gt; Not crossed-out (ISO 6429).
884 884
             <i>Ps</i> = 3 0  -&gt; Set foreground color to Black.
885 885
             <i>Ps</i> = 3 1  -&gt; Set foreground color to Red.
@@ -925,24 +925,23 @@ CSI <i>Pm</i> m  Character Attributes (SGR).
925 925
           <del>If <i>xterm</i> is compiled with the 16-color support disabled, it
926 926
           supports the following, from <i>rxvt</i>:
927 927
             <i>Ps</i> = 1 0 0  -&gt; Set foreground and background color to
928
-          default.
929
-
930
-          <i>Xterm</i> maintains a color palette whose entries are identified
928
+          default.</del><ins block>ESPTerm implements a standard 256-color palette which can be accessed using the following three-part SGR:</ins><!--
929
+-->          <i>Xterm</i> maintains a color palette whose entries are identified
931 930
           by an index beginning with zero.  If 88- or 256-color support
932 931
           is compiled, the following apply:
933 932
           <b>o</b> All parameters are decimal integers.
934 933
           <b>o</b> RGB values range from zero (0) to 255.
935
-          <b>o</b> ISO-8613-3 can be interpreted in more than one way; <i>xterm</i>
934
+          <del><b>o</b> ISO-8613-3 can be interpreted in more than one way; <i>xterm</i>
936 935
             allows the semicolons in this control to be replaced by
937 936
             colons (but after the first colon, colons must be used).
938 937
 
939
-          These ISO-8613-3 controls are supported:
938
+          </del>These ISO-8613-3 controls are supported:<del>
940 939
             <i>Pm</i> = 3 8 ; 2 ; <i>Pr</i>; <i>Pg</i>; <i>Pb</i> -&gt; Set foreground color to the
941
-          closest match in <i>xterm</i>'s palette for the given RGB <i>Pr</i>/<i>Pg</i>/<i>Pb</i>.
942
-            <i>Pm</i> = 3 8 ; 5 ; <i>Ps</i> -&gt; Set foreground color to <i>Ps</i>.
940
+          closest match in <i>xterm</i>'s palette for the given RGB <i>Pr</i>/<i>Pg</i>/<i>Pb</i>.</del>
941
+            </del><i>Pm</i> = 3 8 ; 5 ; <i>Ps</i> -&gt; Set foreground color to <i>Ps</i>.<del>
943 942
             <i>Pm</i> = 4 8 ; 2 ; <i>Pr</i>; <i>Pg</i>; <i>Pb</i> -&gt; Set background color to the
944 943
           closest match in <i>xterm</i>'s palette for the given RGB <i>Pr</i>/<i>Pg</i>/<i>Pb</i>.
945
-            <i>Pm</i> = 4 8 ; 5 ; <i>Ps</i> -&gt; Set background color to <i>Ps</i>.</del>
944
+            </del><i>Pm</i> = 4 8 ; 5 ; <i>Ps</i> -&gt; Set background color to <i>Ps</i>.
946 945
 
947 946
 <del>CSI &gt; <i>Ps</i>; <i>Ps</i> m
948 947
           Set or reset resource-values used by <i>xterm</i> to decide whether
@@ -1064,7 +1063,7 @@ CSI ! p   Soft terminal reset (DECSTR).
1064 1063
             <i>Ps</i> = 2  1  -&gt; Extinguish Num Lock.
1065 1064
             <i>Ps</i> = 2  2  -&gt; Extinguish Caps Lock.
1066 1065
             <i>Ps</i> = 2  3  -&gt; Extinguish Scroll Lock.</del>
1067
-<del>CSI <i>Ps</i> SP q
1066
+CSI <i>Ps</i> SP q
1068 1067
           Set cursor style (DECSCUSR, VT520).
1069 1068
             <i>Ps</i> = 0  -&gt; blinking block.
1070 1069
             <i>Ps</i> = 1  -&gt; blinking block (default).
@@ -1072,7 +1071,7 @@ CSI ! p   Soft terminal reset (DECSTR).
1072 1071
             <i>Ps</i> = 3  -&gt; blinking underline.
1073 1072
             <i>Ps</i> = 4  -&gt; steady underline.
1074 1073
             <i>Ps</i> = 5  -&gt; blinking bar (xterm).
1075
-            <i>Ps</i> = 6  -&gt; steady bar (xterm).</del>
1074
+            <i>Ps</i> = 6  -&gt; steady bar (xterm).
1076 1075
 <del>CSI <i>Ps</i> " q
1077 1076
           Select character protection attribute (DECSCA).  Valid values
1078 1077
           for the parameter:
@@ -1084,7 +1083,7 @@ CSI <i>Ps</i> ; <i>Ps</i> r
1084 1083
           dow) (DECSTBM).
1085 1084
 CSI ? <i>Pm</i> r
1086 1085
           Restore DEC Private Mode Values.  The value of <i>Ps</i> previously
1087
-          saved is restored.  <i>Ps</i> values are the same as for DECSET. <ins><b>TODO</b> implement</ins>
1086
+          saved is restored.  <i>Ps</i> values are the same as for DECSET.
1088 1087
 <del>CSI <i>Pt</i>; <i>Pl</i>; <i>Pb</i>; <i>Pr</i>; <i>Ps</i>$ r
1089 1088
           Change Attributes in Rectangular Area (DECCARA), VT400 and up.
1090 1089
             <i>Pt</i>; <i>Pl</i>; <i>Pb</i>; <i>Pr</i> denotes the rectangle.
@@ -1096,7 +1095,7 @@ CSI s     Save cursor (ANSI.SYS), <del>available only when DECLRMM is dis-
1096 1095
           DECLRMM is enabled (VT420 and up).</del>
1097 1096
 CSI ? <i>Pm</i> s
1098 1097
           Save DEC Private Mode Values.  <i>Ps</i> values are the same as for
1099
-          DECSET. <ins><b>TODO</b> implement</ins>
1098
+          DECSET.
1100 1099
 CSI <i>Ps</i> ; <i>Ps</i> ; <i>Ps</i> t
1101 1100
           Window manipulation (from <i>dtterm</i>, as well as extensions).
1102 1101
           These controls may be disabled using the <i>allowWindowOps</i>
@@ -1833,7 +1832,7 @@ dent of the application that requests the switch.
1833 1832
 
1834 1833
 </pre>
1835 1834
 <h2><a name="h2-Bracketed-Paste-Mode" id="h2-Bracketed-Paste-Mode">Bracketed Paste Mode</a></h2>
1836
-<pre><del>
1835
+<pre>
1837 1836
 When bracketed paste mode is set, pasted text is bracketed with control
1838 1837
 sequences so that the program can differentiate pasted text from typed-
1839 1838
 in text.  When bracketed paste mode is set, the program will receive:
@@ -1841,7 +1840,7 @@ in text.  When bracketed paste mode is set, the program will receive:
1841 1840
 followed by the pasted text, followed by
1842 1841
    ESC [ 2 0 1 ~ .
1843 1842
 
1844
-</del></pre>
1843
+</pre>
1845 1844
 <h2><a name="h2-Title-Modes" id="h2-Title-Modes">Title Modes</a></h2>
1846 1845
 <pre><del>
1847 1846
 The window- and icon-labels can be set or queried using control
@@ -2234,9 +2233,9 @@ ESC Z     Identify.
2234 2233
 <li><a href="#h2-VT52-Style-Function-Keys"><del>VT52-Style Function Keys</del></a></li>
2235 2234
 <li><a href="#h2-Sun-Style-Function-Keys"><del>Sun-Style Function Keys</del></a></li>
2236 2235
 <li><a href="#h2-HP-Style-Function-Keys"><del>HP-Style Function Keys</del></a></li>
2237
-<li><a href="#h2-The-Alternate-Screen-Buffer"><del>The Alternate Screen Buffer</del></a></li>
2238
-<li><a href="#h2-Bracketed-Paste-Mode"><del>Bracketed Paste Mode</del></a></li>
2239
-<li><a href="#h2-Title-Modes">Title Modes</a></li>
2236
+<li><a href="#h2-The-Alternate-Screen-Buffer">The Alternate Screen Buffer</a></li>
2237
+<li><a href="#h2-Bracketed-Paste-Mode">Bracketed Paste Mode</a></li>
2238
+<li><a href="#h2-Title-Modes"><del>Title Modes</del></a></li>
2240 2239
 <li><a href="#h2-Mouse-Tracking">Mouse Tracking</a></li>
2241 2240
 <li><a href="#h2-X10-compatbility-mode">X10 compatbility mode</a></li>
2242 2241
 <li><a href="#h2-Normal-tracking-mode">Normal tracking mode</a></li>