diff xml/510connectbotmonitor.in @ 2:f6a1aabf384f

add copyright
author Carl Byington <carl@five-ten-sg.com>
date Mon, 23 Jun 2014 16:57:39 -0700
parents f12df02aa228
children 5bf6d84cc5b8
line wrap: on
line diff
--- a/xml/510connectbotmonitor.in	Mon May 05 14:37:11 2014 -0700
+++ b/xml/510connectbotmonitor.in	Mon Jun 23 16:57:39 2014 -0700
@@ -19,7 +19,7 @@
 
     <refentry id="x@PACKAGE@.1">
         <refentryinfo>
-            <date>2014-04-18</date>
+            <date>2014-06-22</date>
             <author>
                 <firstname>Carl</firstname>
                 <surname>Byington</surname>
@@ -58,9 +58,9 @@
         <refsect1 id='monitor.1'>
             <title>Terminal Monitor</title>
             <para>
-                For every terminal session (local, telnet, ssh or other), the
+                For every terminal session (local, telnet, ssh or tn5250), the
                 terminal emulator also makes a connection to a terminal monitor
-                process, which can see keystrokes and screen contents, and can
+                process, which can see cursor movement and screen contents, and can
                 inject characters to send to the host.
             </para>
 
@@ -108,8 +108,10 @@
             </para>
 
             <para>
-                HOSTDATA = 2 (TE -> Monitor). The argument is a single uint16
-                value containing the 8 bit character that was sent to the host.
+                KEYSTATE = 2 (TE -> Monitor). The argument is a single uint16
+                value, 1 for key down, 0 for key up. The TE tracks a single special
+                key for the monitor, and reports key up/down state when it changes.
+                The actual key is configurable.
             </para>
 
             <para>
@@ -157,6 +159,17 @@
                 changes, the emulator will send a SCREENCHANGE message back
                 to the monitor.
             </para>
+
+            <para>
+                DEPRESS = 8 (Monitor -> TE). The argument is a single
+                uint16 value containing a Windows VK key code. See
+                http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731
+                for the values. The following values are implemented
+                in the emulator - vk_back vk_tab vk_return vk_escape
+                vk_prior vk_next vk_end vk_home vk_left vk_up vk_right
+                vk_down vk_insert vk_delete vk_f1 vk_f2 vk_f3 vk_f4
+                vk_f5 vk_f6 vk_f7 vk_f8 vk_f9 vk_f10 vk_f11 vk_f12.
+            </para>
         </refsect1>
 
         <refsect1 id='todo.1'>