Browse Source

Deploy updates

Ondřej Hruška 2 years ago
parent
commit
e601a5203e
Signed by: Ondřej Hruška <ondra@ondrovo.com> GPG key ID: 2C5FD5035250423D
13 changed files with 2631 additions and 114 deletions
  1. 6 5
      about.html
  2. 3 2
      cfg_network.html
  3. 24 2
      cfg_system.html
  4. 37 11
      cfg_term.html
  5. 3 2
      cfg_wifi.html
  6. 2 2
      cfg_wifi_conn.html
  7. 2386 0
      css/app.8b43b1d-en.css
  8. 149 88
      help.html
  9. 7 0
      ini_export.html
  10. 7 0
      ini_import.html
  11. 4 0
      js/app.8b43b1d-en.js
  12. 1 0
      js/app.8b43b1d-en.js.map
  13. 2 2
      term.html

+ 6 - 5
about.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>About ESPTerm :: ESPTerm</title>
8
-	<link href="/css/app.32c889b-en.css" rel="stylesheet">
9
-	<script src="/js/app.32c889b-en.js"></script>
8
+	<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
9
+	<script src="/js/app.8b43b1d-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;
@@ -28,6 +28,7 @@
28 28
 </div>
29 29
 
30 30
 <div class="Box message hidden"></div>
31
+<div class="Box errmessage hidden"></div>
31 32
 
32 33
 <div class="Box">
33 34
 	<img src="/img/cvut.svg" id="logo" class="mq-tablet-min">
@@ -52,12 +53,12 @@
52 53
 	<table>
53 54
 		<tr>
54 55
 			<th>ESPTerm</th>
55
-			<td>v2.2.0, built 2017-10-08 at&nbsp;15:52 CEST</td>
56
+			<td>v2.3.0, built 2017-11-19 at&nbsp;23:25 CET</td>
56 57
 		</tr>
57 58
 		<tr>
58 59
 			<th>Git hash</th>
59
-			<td>back-end: <a href="https://github.com/espterm/espterm-firmware/commit/fbd4693">fbd4693</a>,
60
-				front-end: <a href="https://github.com/espterm/espterm-front-end/commit/32c889b">32c889b</td>
60
+			<td>back-end: <a href="https://github.com/espterm/espterm-firmware/commit/76fbf5d">76fbf5d</a>,
61
+				front-end: <a href="https://github.com/espterm/espterm-front-end/commit/8b43b1d">8b43b1d</td>
61 62
 		</tr>
62 63
 		<tr>
63 64
 			<th>libesphttpd</th>

+ 3 - 2
cfg_network.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>Network Settings :: ESPTerm</title>
8
-	<link href="/css/app.32c889b-en.css" rel="stylesheet">
9
-	<script src="/js/app.32c889b-en.js"></script>
8
+	<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
9
+	<script src="/js/app.8b43b1d-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;
@@ -28,6 +28,7 @@
28 28
 </div>
29 29
 
30 30
 <div class="Box message hidden"></div>
31
+<div class="Box errmessage hidden"></div>
31 32
 
32 33
 
33 34
 <!-- STA -->

+ 24 - 2
cfg_system.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>System Settings :: ESPTerm</title>
8
-	<link href="/css/app.32c889b-en.css" rel="stylesheet">
9
-	<script src="/js/app.32c889b-en.js"></script>
8
+	<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
9
+	<script src="/js/app.8b43b1d-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;
@@ -28,6 +28,7 @@
28 28
 </div>
29 29
 
30 30
 <div class="Box message hidden"></div>
31
+<div class="Box errmessage hidden"></div>
31 32
 
32 33
 <!-- Persist -->
33 34
 <div class="Box str mobcol">
@@ -57,6 +58,27 @@
57 58
 		(This clears the WiFi config! Does not affect saved defaults or admin password.)	</div>
58 59
 </div>
59 60
 
61
+<!-- Backup -->
62
+<div class="Box str mobcol">
63
+	<h2 tabindex=0>Back-up Config File</h2>
64
+
65
+	<div class="Row explain nomargintop">
66
+		All config except the admin password can be backed up and restored using an INI file.	</div>
67
+
68
+	<div class="Row buttons2">
69
+		<a class="button"
70
+		   href="ini_export.html">
71
+			Export to file		</a>
72
+	</div>
73
+
74
+	<div class="Row buttons2">
75
+		<form method="POST" action="ini_import.html" enctype='multipart/form-data'>
76
+			<span class="filewrap"><input accept=".ini,text/plain" type="file" name="file"></span><!--
77
+			--><input type="submit" value="Import!">
78
+		</form>
79
+	</div>
80
+</div>
81
+
60 82
 <!-- Overclock -->
61 83
 <form class="Box str mobcol" action="system_set.html" method="GET" id="form-hw">
62 84
 	<h2 tabindex=0>Hardware Tuning</h2>

+ 37 - 11
cfg_term.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>Terminal Settings :: ESPTerm</title>
8
-	<link href="/css/app.32c889b-en.css" rel="stylesheet">
9
-	<script src="/js/app.32c889b-en.js"></script>
8
+	<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
9
+	<script src="/js/app.8b43b1d-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;
@@ -28,6 +28,7 @@
28 28
 </div>
29 29
 
30 30
 <div class="Box message hidden"></div>
31
+<div class="Box errmessage hidden"></div>
31 32
 
32 33
 <div class="Box">
33 34
 	<a href="reset_screen.html">Reset screen & parser</a>
@@ -170,18 +171,18 @@
170 171
 
171 172
 	<div class="Row">
172 173
 		<div class="SubRow">
173
-			<label for="term_width">Width</label>
174
-			<input type="number" step=1 min=1 max=255 name="term_width" id="term_width" value="80" required>
174
+			<label for="width">Width</label>
175
+			<input type="number" step=1 min=1 max=255 name="width" id="width" value="80" required>
175 176
 		</div>
176 177
 		<div class="SubRow">
177
-			<label for="term_height">Height</label>
178
-			<input type="number" step=1 min=1 max=255 name="term_height" id="term_height" value="25" required>
178
+			<label for="height">Height</label>
179
+			<input type="number" step=1 min=1 max=255 name="height" id="height" value="25" required>
179 180
 		</div>
180 181
 	</div>
181 182
 
182 183
 	<div class="Row">
183
-		<label for="term_title">Header Text</label>
184
-		<input type="text" name="term_title" id="term_title" value="ESPTerm Web UI Demo" required>
184
+		<label for="title">Header Text</label>
185
+		<input type="text" name="title" id="title" value="ESPTerm Web UI Demo" required>
185 186
 	</div>
186 187
 
187 188
 	<div class="Row checkbox" >
@@ -191,6 +192,11 @@
191 192
 	</div>
192 193
 
193 194
 	<div class="Row">
195
+		<label for="button_count">Button count</label>
196
+		<input type="number" step=1 min=0 max=5 name="button_count" id="button_count" value="5" required>
197
+	</div>
198
+
199
+	<div class="Row">
194 200
 		<label>Button Labels</label>
195 201
 		<input class="tiny" type="text" name="btn1" id="btn1" value="OK">
196 202
 		<input class="tiny" type="text" name="btn2" id="btn2" value="Cancel">
@@ -209,6 +215,15 @@
209 215
 	</div>
210 216
 
211 217
 	<div class="Row">
218
+		<label>Button colors</label>
219
+		<input class="tiny" type="text" name="bc1" id="bc1" value="">
220
+		<input class="tiny" type="text" name="bc2" id="bc2" value="">
221
+		<input class="tiny" type="text" name="bc3" id="bc3" value="">
222
+		<input class="tiny" type="text" name="bc4" id="bc4" value="">
223
+		<input class="tiny" type="text" name="bc5" id="bc5" value="">
224
+	</div>
225
+
226
+	<div class="Row">
212 227
 		<label for="backdrop">Background image URL</label>
213 228
 		<input type="text" name="backdrop" id="backdrop" value="" required>
214 229
 	</div>
@@ -241,8 +256,8 @@
241 256
 			</div>
242 257
 
243 258
 	<div class="Row">
244
-		<label for="uart_baud">Baud rate<span class="mq-phone">&nbsp;(bps)</span></label>
245
-		<select name="uart_baud" id="uart_baud" class="short">
259
+		<label for="uart_baudrate">Baud rate<span class="mq-phone">&nbsp;(bps)</span></label>
260
+		<select name="uart_baudrate" id="uart_baudrate" class="short">
246 261
 			<option value="300">300</option>
247 262
 			<option value="600">600</option>
248 263
 			<option value="1200">1.200</option>
@@ -296,6 +311,17 @@
296 311
 		Edit them only if you know what you're doing.	</div>
297 312
 
298 313
 	<div class="Row">
314
+		<label for="font_stack">Font stack</label>
315
+		<input type="text" name="font_stack" id="font_stack" value="" required>
316
+	</div>
317
+
318
+	<div class="Row">
319
+		<label for="font_size">Font size<span class="mq-phone">&nbsp;(px)</span></label>
320
+		<input type="number" step=1 min=0 name="font_size" id="font_size" value="20" required>
321
+		<span class="mq-no-phone">&nbsp;px</span>
322
+	</div>
323
+
324
+	<div class="Row">
299 325
 		<label for="parser_tout_ms">Parser Timeout<span class="mq-phone">&nbsp;(ms)</span></label>
300 326
 		<input type="number" step=1 min=0 name="parser_tout_ms" id="parser_tout_ms" value="10" required>
301 327
 		<span class="mq-no-phone">&nbsp;ms</span>
@@ -358,7 +384,7 @@
358 384
   $.ready(function () {
359 385
     $('#cursor_shape').val('');
360 386
     $('#theme').val('0');
361
-    $('#uart_baud').val('115200');
387
+    $('#uart_baudrate').val('115200');
362 388
     $('#uart_parity').val('2');
363 389
     $('#uart_stopbits').val('1');
364 390
 

+ 3 - 2
cfg_wifi.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>WiFi Settings :: ESPTerm</title>
8
-	<link href="/css/app.32c889b-en.css" rel="stylesheet">
9
-	<script src="/js/app.32c889b-en.js"></script>
8
+	<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
9
+	<script src="/js/app.8b43b1d-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;
@@ -28,6 +28,7 @@
28 28
 </div>
29 29
 
30 30
 <div class="Box message hidden"></div>
31
+<div class="Box errmessage hidden"></div>
31 32
 
32 33
 <!-- AP -->
33 34
 <form class="Box str mobcol" action="wifi_set.html" method="GET" id="form-ap">

+ 2 - 2
cfg_wifi_conn.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>Connecting to Network :: ESPTerm</title>
8
-	<link href="/css/app.32c889b-en.css" rel="stylesheet">
9
-	<script src="/js/app.32c889b-en.js"></script>
8
+	<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
9
+	<script src="/js/app.8b43b1d-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;

File diff suppressed because it is too large
+ 2386 - 0
css/app.8b43b1d-en.css


+ 149 - 88
help.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>Quick Reference :: ESPTerm</title>
8
-	<link href="/css/app.32c889b-en.css" rel="stylesheet">
9
-	<script src="/js/app.32c889b-en.js"></script>
8
+	<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
9
+	<script src="/js/app.8b43b1d-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;
@@ -28,6 +28,7 @@
28 28
 </div>
29 29
 
30 30
 <div class="Box message hidden"></div>
31
+<div class="Box errmessage hidden"></div>
31 32
 
32 33
 <div class="Box">
33 34
 	<div noprint><a href="#" onclick="hpfold(1);return false">Expand all</a>&nbsp;|&nbsp;<a href="#" onclick="hpfold(0);return false">Collapse all</a><br>
@@ -891,58 +892,121 @@
891 892
 			If an argument is left out, it's treated as 0 or 1, depending on what makes sense for the command.
892 893
 		</p>
893 894
 
895
+		<h3>Erasing &amp; Inserting</h3>
896
+
894 897
 		<table class="ansiref w100">
895 898
 			<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
896 899
 			<tbody>
897 900
 			<tr>
901
+				<td><code>\e[<i>m</i>J</code></td>
898 902
 				<td>
899
-					<code>\e[<i>m</i>J</code>
903
+					Clear part of screen. <i>m</i>: 0 - from cursor, 1 - to cursor, 2 - all
900 904
 				</td>
905
+			</tr>
906
+			<tr>
907
+				<td><code>\e[<i>m</i>K</code></td>
901 908
 				<td>
902
-					Clear part of screen. <i>m</i>: 0 - from cursor, 1 - to cursor, 2 - all
909
+					Erase part of line. <i>m</i>: 0 - from cursor, 1 - to cursor, 2 - all
903 910
 				</td>
904 911
 			</tr>
905 912
 			<tr>
913
+				<td><code>\e[<i>n</i>X</code></td>
906 914
 				<td>
907
-					<code>\e[<i>m</i>K</code>
915
+					Erase <i>n</i> characters in line.
908 916
 				</td>
917
+			</tr>
918
+			<tr>
919
+				<td><code>
920
+					\e[<i>n</i>L<br>\e[<i>n</i>M
921
+				</code></td>
909 922
 				<td>
910
-					Erase part of line. <i>m</i>: 0 - from cursor, 1 - to cursor, 2 - all
923
+					Insert (<code>L</code>) or delete (<code>M</code>) <i>n</i> lines. Following lines are pulled up or pushed down.
911 924
 				</td>
912 925
 			</tr>
913 926
 			<tr>
927
+				<td><code>
928
+					\e[<i>n</i>@<br>\e[<i>n</i>P
929
+				</code></td>
914 930
 				<td>
915
-					<code>\e[<i>n</i>X</code></td>
931
+					Insert (<code>@</code>) or delete (<code>P</code>) <i>n</i> characters. The rest of the line is pulled left or pushed right.
932
+					Characters going past the end of line are lost.
933
+				</td>
934
+			</tr>
935
+			</tbody>
936
+		</table>
937
+
938
+		<h3>Supersized lines</h3>
939
+
940
+		<table class="ansiref w100">
941
+			<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
942
+			<tbody>
943
+			<tr>
944
+				<td><code>\e#1</code>, <code>\e#2</code></td>
916 945
 				<td>
917
-					Erase <i>n</i> characters in line.
946
+					Make the current line part of a double-height line.
947
+					Use <code>1</code> for the top, <code>2</code> for the bottom half.
918 948
 				</td>
919 949
 			</tr>
920 950
 			<tr>
951
+				<td><code>\e#3</code>, <code>\e#4</code></td>
921 952
 				<td>
922
-					<code>\e[<i>n</i>b</code></td>
953
+					Make the current line part of a double-width, double-height line.
954
+					Use <code>3</code> for the top, <code>4</code> for the bottom half.
955
+				</td>
956
+			</tr>
957
+			<tr>
958
+				<td><code>\e#6</code></td>
923 959
 				<td>
924
-					Repeat last printed characters <i>n</i> times (moving cursor and using the current style).
960
+					Make the current line double-width.
925 961
 				</td>
926 962
 			</tr>
927 963
 			<tr>
964
+				<td><code>\e#5</code></td>
928 965
 				<td>
929
-					<code>
930
-						\e[<i>n</i>L<br>\e[<i>n</i>M
931
-					</code>
966
+					Reset the current line to normal size.
967
+				</td>
968
+			</tr>
969
+			</tbody>
970
+		</table>
971
+
972
+		<h3>Other</h3>
973
+
974
+		<table class="ansiref w100">
975
+			<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
976
+			<tbody>
977
+			<tr>
978
+				<td><code>\ec</code></td>
979
+				<td>
980
+					Clear screen, reset attributes and cursor. This command also restores the default
981
+					screen size, title, button labels and messages and the background URL.
932 982
 				</td>
983
+			</tr>
984
+			<tr>
985
+				<td><code>
986
+					\e[?1049h<br>\e[?1049l
987
+				</code></td>
933 988
 				<td>
934
-					Insert (<code>L</code>) or delete (<code>M</code>) <i>n</i> lines. Following lines are pulled up or pushed down.
989
+					Switch to (<code>h</code>) or from (<code>l</code>) an alternate screen.
990
+					ESPTerm can't implement this fully, so the original screen content is not saved,
991
+					but it will remember the cursor, screen size, terminal title, button labels and messages.
935 992
 				</td>
936 993
 			</tr>
937 994
 			<tr>
995
+				<td><code>\e[8;<i>r</i>;<i>c</i>t</code></td>
996
+				<td>Set screen size to <i>r</i> rows and <i>c</i> columns (this is a command borrowed from Xterm)</td>
997
+			</tr>
998
+			<tr>
938 999
 				<td>
939
-					<code>
940
-						\e[<i>n</i>@<br>\e[<i>n</i>P
941
-					</code>
1000
+					<code>\e[<i>n</i>b</code></td>
1001
+				<td>
1002
+					Repeat last printed characters <i>n</i> times (moving cursor and using the current style).
942 1003
 				</td>
1004
+			</tr>
1005
+			<tr>
1006
+				<td><code>\e#8</code></td>
943 1007
 				<td>
944
-					Insert (<code>@</code>) or delete (<code>P</code>) <i>n</i> characters. The rest of the line is pulled left or pushed right.
945
-					Characters going past the end of line are lost.
1008
+					Reset all screen attributes to default and fill the screen with the letter "E". This was
1009
+					historically used for aligning CRT displays, now can be useful e.g. for testing erasing commands.
946 1010
 				</td>
947 1011
 			</tr>
948 1012
 			</tbody>
@@ -1053,6 +1117,8 @@
1053 1117
 			Those changes are not retained after restart.
1054 1118
 		</p>
1055 1119
 
1120
+		<h3>Single-byte commands &amp; queries</h3>
1121
+
1056 1122
 		<table class="ansiref w100">
1057 1123
 			<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
1058 1124
 			<tbody>
@@ -1074,23 +1140,20 @@
1074 1140
 				</td>
1075 1141
 			</tr>
1076 1142
 			<tr>
1077
-				<td><code>\ec</code></td>
1078
-				<td>
1079
-					Clear screen, reset attributes and cursor. This command also restores the default
1080
-					screen size, title, button labels and messages and the background URL.
1081
-				</td>
1082
-			</tr>
1083
-			<tr>
1084
-				<td><code>\e[8;<i>r</i>;<i>c</i>t</code></td>
1085
-				<td>Set screen size to <i>r</i> rows and <i>c</i> columns (this is a command borrowed from Xterm)</td>
1086
-			</tr>
1087
-			<tr>
1088 1143
 				<td><code>\e[5n</code></td>
1089 1144
 				<td>
1090 1145
 					Query device status, ESPTerm replies with <code>\e[0n</code> "device is OK".
1091 1146
 					Can be used to check if the terminal has booted up and is ready to receive commands.
1092 1147
 				</td>
1093 1148
 			</tr>
1149
+			</tbody>
1150
+		</table>
1151
+
1152
+		<h3>Setting parameters</h3>
1153
+
1154
+		<table class="ansiref w100">
1155
+			<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
1156
+			<tbody>
1094 1157
 			<tr>
1095 1158
 				<td><code>\e[<i>n</i> q</code></td>
1096 1159
 				<td>
@@ -1105,7 +1168,7 @@
1105 1168
 				<td>Set screen title to <i>t</i> (this is a standard OSC command)</td>
1106 1169
 			</tr>
1107 1170
 			<tr>
1108
-				<td><code>\e]70;<i>u</i>\a</code></td>
1171
+				<td><code>\e]27;1;<i>u</i>\a</code></td>
1109 1172
 				<td>
1110 1173
 					Set background image to URL <i>u</i> (including protocol)
1111 1174
 					that can be resolved by the user's browser. The image will be scaled
@@ -1115,77 +1178,62 @@
1115 1178
 				</td>
1116 1179
 			</tr>
1117 1180
 			<tr>
1181
+				<td><code>\e]27;2;<i>n</i>\a</code></td>
1118 1182
 				<td>
1119
-					<code>
1120
-						\e]<i>8x</i>;<i>t</i>\a
1121
-					</code>
1183
+					Set number of visible buttons to <i>n</i> (0-5). To hide/show the entire buttons bar,
1184
+					use the dedicated hiding commands (see below)
1122 1185
 				</td>
1186
+			</tr>
1187
+			<tr>
1188
+				<td><code>
1189
+					\e]28;<i>x</i>;<i>t</i>\a
1190
+				</code></td>
1123 1191
 				<td>
1124
-					Set label for button 1-5 (code 81-85) to <i>t</i> - e.g.<code>\e]81;Yes\a</code>
1192
+					Set label for button <i>x</i> (1-5) to <i>t</i> - e.g.<code>\e]28;1;Yes\a</code>
1125 1193
 					sets the first button text to "Yes".
1126 1194
 				</td>
1127 1195
 			</tr>
1128 1196
 			<tr>
1197
+				<td><code>
1198
+					\e]29;<i>x</i>;<i>m</i>\a
1199
+				</code></td>
1129 1200
 				<td>
1130
-					<code>
1131
-						\e]<i>9x</i>;<i>m</i>\a
1132
-					</code>
1133
-				</td>
1134
-				<td>
1135
-					Set message for button 1-5 (code 91-95) to <i>m</i> - e.g.<code>\e]94;+\a</code>
1201
+					Set message for button <i>x</i> (1-5) to <i>m</i> - e.g.<code>\e]29;3;+\a</code>
1136 1202
 					sets the 3rd button to send "+" when pressed. The message can be up to
1137 1203
 					10 bytes long.
1138 1204
 				</td>
1139 1205
 			</tr>
1140 1206
 			<tr>
1207
+				<td><code>
1208
+					\e]30;<i>x</i>;<i>c</i>\a
1209
+				</code></td>
1141 1210
 				<td>
1142
-					<code>
1143
-						\e]9;<i>t</i>\a
1144
-					</code>
1145
-				</td>
1146
-				<td>
1147
-					Show a notification with text <i>t</i>. This will be either a desktop notification
1148
-					or a pop-up balloon.
1149
-				</td>
1150
-			</tr>
1151
-			<tr>
1152
-				<td>
1153
-					<code>
1154
-						\e[?<i>n</i>s<br>\e[?<i>n</i>r
1155
-					</code>
1156
-				</td>
1157
-				<td>
1158
-					Save (<code>s</code>) and restore (<code>r</code>) any option set using <code>CSI ? <i>n</i> h</code>.
1159
-					This is used by some applications to back up the original state before
1160
-					making changes.
1211
+					Set button <i>x</i> (1-5) color to <i>c</i> - e.g.<code>\e]30;2;#00FF00\a</code>
1212
+					makes the 2nd button green. Supported are SGR colors 1-255
1213
+					and TrueColor in the format <code>#RRGGBB</code>. Use 0 to
1214
+					reset to the default color.
1161 1215
 				</td>
1162 1216
 			</tr>
1163 1217
 			<tr>
1164
-				<td>
1165
-					<code>
1166
-						\e[?800h<br>\e[?800l
1167
-					</code>
1168
-				</td>
1218
+				<td><code>
1219
+					\e[?800h<br>\e[?800l
1220
+				</code></td>
1169 1221
 				<td>
1170 1222
 					Show (<code>h</code>) or hide (<code>l</code>) the action buttons (the blue buttons under the screen).
1171 1223
 				</td>
1172 1224
 			</tr>
1173 1225
 			<tr>
1174
-				<td>
1175
-					<code>
1176
-						\e[?801h<br>\e[?801l
1177
-					</code>
1178
-				</td>
1226
+				<td><code>
1227
+					\e[?801h<br>\e[?801l
1228
+				</code></td>
1179 1229
 				<td>
1180 1230
 					Show (<code>h</code>) or hide (<code>l</code>) menu/help links under the screen.
1181 1231
 				</td>
1182 1232
 			</tr>
1183 1233
 			<tr>
1184
-				<td>
1185
-					<code>
1186
-						\e[?2004h<br>\e[?2004l
1187
-					</code>
1188
-				</td>
1234
+				<td><code>
1235
+					\e[?2004h<br>\e[?2004l
1236
+				</code></td>
1189 1237
 				<td>
1190 1238
 					Enable (<code>h</code>) or disable (<code>l</code>) Bracketed Paste mode.
1191 1239
 					This mode makes any text sent using the Upload Tool be preceded by <code>\e[200~</code>
@@ -1194,26 +1242,39 @@
1194 1242
 				</td>
1195 1243
 			</tr>
1196 1244
 			<tr>
1245
+				<td><code>
1246
+					\e[12h<br>\e[12l
1247
+				</code></td>
1197 1248
 				<td>
1198
-					<code>
1199
-						\e[?1049h<br>\e[?1049l
1200
-					</code>
1201
-				</td>
1202
-				<td>
1203
-					Switch to (<code>h</code>) or from (<code>l</code>) an alternate screen.
1204
-					ESPTerm can't implement this fully, so the original screen content is not saved,
1205
-					but it will remember the cursor, screen size, terminal title, button labels and messages.
1249
+					Enable (<code>h</code>) or disable (<code>l</code>) Send-Receive Mode (SRM).
1250
+					SRM is the opposite of Local Echo, meaning <code>\e[12h</code> disables and <code>\e[12l</code> enables Local Echo.
1206 1251
 				</td>
1207 1252
 			</tr>
1253
+			</tbody>
1254
+		</table>
1255
+
1256
+		<h3>Other</h3>
1257
+
1258
+		<table class="ansiref w100">
1259
+			<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
1260
+			<tbody>
1208 1261
 			<tr>
1262
+				<td><code>
1263
+					\e]9;<i>t</i>\a
1264
+				</code></td>
1209 1265
 				<td>
1210
-					<code>
1211
-						\e[12h<br>\e[12l
1212
-					</code>
1266
+					Show a notification with text <i>t</i>. This will be either a desktop notification
1267
+					or a pop-up balloon.
1213 1268
 				</td>
1269
+			</tr>
1270
+			<tr>
1271
+				<td><code>
1272
+					\e[?<i>n</i>s<br>\e[?<i>n</i>r
1273
+				</code></td>
1214 1274
 				<td>
1215
-					Enable (<code>h</code>) or disable (<code>l</code>) Send-Receive Mode (SRM).
1216
-					SRM is the opposite of Local Echo, meaning <code>\e[12h</code> disables and <code>\e[12l</code> enables Local Echo.
1275
+					Save (<code>s</code>) and restore (<code>r</code>) any option set using <code>CSI ? <i>n</i> h</code>.
1276
+					This is used by some applications to back up the original state before
1277
+					making changes.
1217 1278
 				</td>
1218 1279
 			</tr>
1219 1280
 			</tbody>

+ 7 - 0
ini_export.html View File

@@ -0,0 +1,7 @@
1
+<!DOCTYPE HTML>
2
+			<script>
3
+				var ref = document.referrer;
4
+				var qat = document.referrer.indexOf('?');
5
+				if (qat !== -1) ref = ref.substring(0, qat)
6
+				location.href=ref+'?msg=Request ignored, this is a demo.';
7
+			</script>

+ 7 - 0
ini_import.html View File

@@ -0,0 +1,7 @@
1
+<!DOCTYPE HTML>
2
+			<script>
3
+				var ref = document.referrer;
4
+				var qat = document.referrer.indexOf('?');
5
+				if (qat !== -1) ref = ref.substring(0, qat)
6
+				location.href=ref+'?msg=Request ignored, this is a demo.';
7
+			</script>

File diff suppressed because it is too large
+ 4 - 0
js/app.8b43b1d-en.js


File diff suppressed because it is too large
+ 1 - 0
js/app.8b43b1d-en.js.map


+ 2 - 2
term.html View File

@@ -5,8 +5,8 @@
5 5
 	<meta http-equiv="X-UA-Compatible" content="IE=edge">
6 6
 	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
7 7
 	<title>Terminal :: ESPTerm</title>
8
-	<link href="/css/app.32c889b-en.css" rel="stylesheet">
9
-	<script src="/js/app.32c889b-en.js"></script>
8
+	<link href="/css/app.8b43b1d-en.css" rel="stylesheet">
9
+	<script src="/js/app.8b43b1d-en.js"></script>
10 10
 	<script>
11 11
 		var _root = location.host;
12 12
 		var _demo = 1;