From bd933657f453586cd837c84b410d081f2fd958ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 8 Oct 2017 00:53:09 +0200 Subject: [PATCH] updated help --- lang/cs.php | 2 +- pages/help/cmd_system.php | 41 ++++++++++++++++++++++++++++----------- pages/help/sgr_colors.php | 4 ++++ 3 files changed, 35 insertions(+), 12 deletions(-) diff --git a/lang/cs.php b/lang/cs.php index 9e3945a..fb10e7e 100644 --- a/lang/cs.php +++ b/lang/cs.php @@ -4,7 +4,7 @@ return [ 'menu.cfg_wifi' => 'Nastavení WiFi', 'menu.cfg_network' => 'Nastavení sítě', 'menu.cfg_term' => 'Nastavení terminalu', - 'menu.about' => 'About', + 'menu.about' => 'O programu', 'menu.help' => 'Nápověda', 'menu.term' => 'Zpět k terminálu', 'menu.cfg_system' => 'Nastavení systému', diff --git a/pages/help/cmd_system.php b/pages/help/cmd_system.php index 28989d3..796082f 100644 --- a/pages/help/cmd_system.php +++ b/pages/help/cmd_system.php @@ -11,11 +11,28 @@ + + + + + + + + @@ -29,14 +46,6 @@ Can be used to check if the terminal has booted up and is ready to receive commands. - - - - + + + + diff --git a/pages/help/sgr_colors.php b/pages/help/sgr_colors.php index b504c7c..2252239 100644 --- a/pages/help/sgr_colors.php +++ b/pages/help/sgr_colors.php @@ -16,6 +16,10 @@ can be selected in Terminal Settings.

+

+ Background image can be set using `\e]70;url\a` (see section System Functions). +

+

Foreground colors

CodeMeaning
_CAN_ (24) + This ASCII code is sent by ESPTerm when it becomes ready to receive commands. + When this code is received on the UART, it means ESPTerm has restarted and is ready. + Use this to detect spontaneous restarts which require a full screen repaint. + As a control character sent to ESPTerm, CAN aborts any currently received commands + and clears the parser. +
_ENQ_ (5) + ESPTerm responds to this control characters with an "answerback message". + This message contains the curretn version, unique ID, and the IP address if in Client mode. +
`\ec` Clear screen, reset attributes and cursor. This command also restores the default - screen size, title, button labels and messages. + screen size, title, button labels and messages and the background URL.
_CAN_ (24) - This ASCII code is not a command, but is sent by ESPTerm when it becomes ready to receive commands. - When this code is received on the UART, it means ESPTerm has restarted and is ready. Use this to detect - spontaneous restarts which require a full screen repaint. -
`\e[n q` @@ -50,6 +59,16 @@ `\e]0;t\a` Set screen title to _t_ (this is a standard OSC command)
`\e]70;u\a` + Set background image to URL _u_ (including protocol) + that can be resolved by the user's browser. The image will be scaled + to fit the screen, preserving aspect ratio. A certain border must be added + to account for the screen margins. Use empty string to disable the image feature. + Note that this *won't work for users connected to the built-in AP*. +
@@ -68,8 +87,8 @@ - Set message for button 1-5 (code 91-95) to _m_ - e.g.`\e]94;*\a` - sets the 3rd button to send "*" when pressed. The message can be up to + Set message for button 1-5 (code 91-95) to _m_ - e.g.`\e]94;+\a` + sets the 3rd button to send "+" when pressed. The message can be up to 10 bytes long.