From 445d78d4e18a976902753375351c2a39337dcac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Thu, 26 Oct 2017 00:56:58 +0200 Subject: [PATCH] explain new osc in help --- pages/help/cmd_system.php | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pages/help/cmd_system.php b/pages/help/cmd_system.php index 796082f..4a0c488 100644 --- a/pages/help/cmd_system.php +++ b/pages/help/cmd_system.php @@ -60,7 +60,7 @@ Set screen title to _t_ (this is a standard OSC command) - `\e]70;u\a` + `\e]27;1;u\a` Set background image to URL _u_ (including protocol) that can be resolved by the user's browser. The image will be scaled @@ -69,25 +69,32 @@ Note that this *won't work for users connected to the built-in AP*. + + `\e]27;2;n\a` + + Set number of visible buttons to _n_ (0-5). To hide/show the entire buttons bar, + use the dedicated hiding commands (see below) + + - \e]8x;t\a + \e]28;x;t\a - Set label for button 1-5 (code 81-85) to _t_ - e.g.`\e]81;Yes\a` + Set label for button _x_ (1-5) to _t_ - e.g.`\e]28;1;Yes\a` sets the first button text to "Yes". - \e]9x;m\a + \e]29;x;m\a - Set message for button 1-5 (code 91-95) to _m_ - e.g.`\e]94;+\a` + Set message for button _x_ (1-5) to _m_ - e.g.`\e]29;3;+\a` sets the 3rd button to send "+" when pressed. The message can be up to 10 bytes long.