keyboard shorcuts help
Allan CORNET [Wed, 3 Dec 2008 14:48:12 +0000 (15:48 +0100)]
scilab/modules/console/etc/console.start
scilab/modules/console/help/en_US/addchapter.sce
scilab/modules/console/help/en_US/console.xml [new file with mode: 0644]
scilab/modules/console/help/fr_FR/addchapter.sce
scilab/modules/io/help/en_US/keyboard.xml [deleted file]
scilab/modules/shell/help/en_US/keyboard_shortcuts.xml [deleted file]

index 7293b01..2da35bf 100644 (file)
@@ -15,6 +15,6 @@
 //load("SCI/modules/console/macros/lib");
 // ====================================================================
 //add help chapter
-//add_module_help_chapter("console");
-//clear add_module_help_chapter;
+add_module_help_chapter("Console");
+clear add_module_help_chapter;
 // ====================================================================
index b9336ab..137dbb1 100644 (file)
@@ -13,7 +13,7 @@
 // help console module
 // Add chapter
 // ====================================================================
-//path = SCI+'/modules/console/help/'+getdefaultlanguage();
-//add_help_chapter("console",path,%T);
-//clear path add_help_chapter;
+path = SCI+'/modules/console/help/'+getdefaultlanguage();
+add_help_chapter("Console",path,%T);
+clear path add_help_chapter;
 // ====================================================================
diff --git a/scilab/modules/console/help/en_US/console.xml b/scilab/modules/console/help/en_US/console.xml
new file mode 100644 (file)
index 0000000..2a6817e
--- /dev/null
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - DIGITEO - Allan CORNET
+ * 
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at    
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ -->
+<refentry version="5.0-subset Scilab" xml:id="console" xml:lang="en"
+          xmlns="http://docbook.org/ns/docbook"
+          xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:svg="http://www.w3.org/2000/svg"
+          xmlns:ns4="http://www.w3.org/1999/xhtml"
+          xmlns:mml="http://www.w3.org/1998/Math/MathML"
+          xmlns:db="http://docbook.org/ns/docbook">
+  <info>
+    <pubdate>$LastChangedDate$</pubdate>
+  </info>
+
+  <refnamediv>
+    <refname>console</refname>
+
+    <refpurpose>Keyboard Shortcuts in the Console Window</refpurpose>
+  </refnamediv>
+
+  <refsection>
+    <title>Description</title>
+
+    <para><informaltable border="1">
+        <tr>
+          <td>UP or Ctrl+P</td>
+
+          <td>recall previous line.</td>
+        </tr>
+
+        <tr>
+          <td>DOWN or Ctrl+N</td>
+
+          <td>recall next line.</td>
+        </tr>
+
+        <tr>
+          <td>F1</td>
+
+          <td>call help.</td>
+        </tr>
+
+        <tr>
+          <td>F2</td>
+
+          <td>clear console.</td>
+        </tr>
+
+        <tr>
+          <td>F12</td>
+
+          <td>open console box only on Windows.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl+space or TAB</td>
+
+          <td>completion : scilab displays a list of all names that start with
+          somes characters.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + A or HOME</td>
+
+          <td>move to beginning of current line.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + B or LEFT</td>
+
+          <td>moves the cursor one character to the left.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + C</td>
+
+          <td>interrupts Scilab if nothing selected in the console, else text
+          selected is sent to clipboard.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + D or DELETE</td>
+
+          <td>deletes the current character.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + E or END</td>
+
+          <td>moves the cursor to the end of command line.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + F or RIGHT</td>
+
+          <td>moves the cursor one character to the right.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + H or BACKSPACE</td>
+
+          <td>deletes the previous character.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + K</td>
+
+          <td>kills command line from cursor to the end.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + U</td>
+
+          <td>delete the whole command line.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + V</td>
+
+          <td>do a paste from clipboard.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + W</td>
+
+          <td>delete the last word of the command line.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + X</td>
+
+          <td>Interrupt Scilab</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + LEFT</td>
+
+          <td>move left one word.</td>
+        </tr>
+
+        <tr>
+          <td>Ctrl + RIGHT</td>
+
+          <td>move right one word.</td>
+        </tr>
+
+        <tr>
+          <td>Shift + HOME</td>
+
+          <td>select from cursor to beginning of statement.</td>
+        </tr>
+
+        <tr>
+          <td>Shift + END</td>
+
+          <td>select from cursor to end of statement.</td>
+        </tr>
+
+        <tr>
+          <td>Double-click</td>
+
+          <td>select current word.</td>
+        </tr>
+      </informaltable></para>
+  </refsection>
+</refentry>
index a37a568..293ef63 100644 (file)
@@ -13,7 +13,7 @@
 // help console module
 // Add chapter
 // ====================================================================
-//path = SCI+'/modules/console/help/'+getlanguage();
-//add_help_chapter("Console",path,%T);
-//clear path add_help_chapter;
+path = SCI+'/modules/console/help/'+getlanguage();
+add_help_chapter("Console",path,%T);
+clear path add_help_chapter;
 // ====================================================================
diff --git a/scilab/modules/io/help/en_US/keyboard.xml b/scilab/modules/io/help/en_US/keyboard.xml
deleted file mode 100644 (file)
index d5943cb..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) XXXX-2008 - INRIA
- * 
- * This file must be used under the terms of the CeCILL.
- * This source file is licensed as described in the file COPYING, which
- * you should have received as part of this distribution.  The terms
- * are also available at    
- * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
- *
- -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="keyboard">
-  <info>
-    <pubdate>$LastChangedDate$</pubdate>
-  </info>
-  <refnamediv>
-    <refname>keyboard</refname>
-    <refpurpose> keyboard commands</refpurpose>
-  </refnamediv>
-  <refsection>
-    <title>Description</title>
-    <para>
-    Let <literal>C-</literal> stands for the control key. The following keyboard commands are available:
-  </para>
-    <variablelist>
-      <varlistentry>
-        <term>C-a</term>
-        <listitem>
-          <para>moves the cursor to the beginning of command line.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-b</term>
-        <listitem>
-          <para>moves the cursor one character to the left.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-c</term>
-        <listitem>
-          <para>interrupts Scilab if nothing selected in the console, else text selected is sent to clipboard.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-d</term>
-        <listitem>
-          <para>deletes the current character.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-e</term>
-        <listitem>
-          <para>moves the cursor to the end of command line.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-f</term>
-        <listitem>
-          <para>moves the cursor one character to the right.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-h</term>
-        <listitem>
-          <para>deletes the previous character.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-k</term>
-        <listitem>
-          <para>kills command line from cursor to the end.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-n</term>
-        <listitem>
-          <para>go to next command line in history.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-p</term>
-        <listitem>
-          <para>calls back the preceding command in history.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-u</term>
-        <listitem>
-          <para>delete the whole command line.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-x</term>
-        <listitem>
-          <para>interrupts Scilab if nothing selected in the console, else text selected is cut and sent to clipboard.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-w</term>
-        <listitem>
-          <para>delete the last word of the command line.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>C-SPACE</term>
-        <listitem>
-          <para>opens the completion window.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>TAB</term>
-        <listitem>
-          <para>opens the completion window.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>UP</term>
-        <listitem>
-          <para>calls back the preceding command in history.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>DOWN</term>
-        <listitem>
-          <para>go to next command line in history.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>!beg</term>
-        <listitem>
-          <para>looks for last command line in history which begins by <literal>beg</literal>.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsection>
-  <refsection>
-    <title>See Also</title>
-    <simplelist type="inline">
-      <member>
-        <link linkend="pause">pause</link>
-      </member>
-      <member>
-        <link linkend="read">read</link>
-      </member>
-      <member>
-        <link linkend="input">input</link>
-      </member>
-    </simplelist>
-  </refsection>
-</refentry>
diff --git a/scilab/modules/shell/help/en_US/keyboard_shortcuts.xml b/scilab/modules/shell/help/en_US/keyboard_shortcuts.xml
deleted file mode 100644 (file)
index 59ee7f9..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-    * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-    * Copyright (C) 2007 - INRIA - Allan CORNET
-    * 
-    * This file must be used under the terms of the CeCILL.
-    * This source file is licensed as described in the file COPYING, which
-    * you should have received as part of this distribution.  The terms
-    * are also available at    
-    * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
-    *
-    -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="KeyboardShortcuts">
-  <info>
-    <pubdate>$LastChangedDate: 2007-08-31 09:08:25 +0200 (ven., 31 août 2007) $</pubdate>
-  </info>
-  <refnamediv>
-    <refname>Keyboard Shortcuts</refname>
-    <refpurpose>Keyboard Shortcuts in Scilab</refpurpose>
-  </refnamediv>
-  <refsection>
-    <title>Description</title>
-    <para>List of arrow and control keys that serve as shortcuts for using the Scilab.</para>
-    <informaltable border="1">
-      <tr>
-        <td>Up</td>
-        <td>call previous line</td>
-      </tr>
-      <tr>
-        <td>Down</td>
-        <td>call next line</td>
-      </tr>
-      <tr>
-        <td>Left</td>
-        <td>Move back one character.</td>
-      </tr>
-      <tr>
-        <td>Right</td>
-        <td>Move forward one character.</td>
-      </tr>
-      <tr>
-        <td>CTRL + B</td>
-        <td>Move back one character.</td>
-      </tr>
-      <tr>
-        <td>CTRL + F</td>
-        <td>Move forward one character.</td>
-      </tr>
-      <tr>
-        <td>CTRL + C</td>
-        <td>Interrupt Scilab</td>
-      </tr>
-      <tr>
-        <td> CTRL + X</td>
-        <td>Interrupt Scilab</td>
-      </tr>
-      <tr>
-        <td>Delete</td>
-        <td>Delete character at cursor.</td>
-      </tr>
-      <tr>
-        <td>CTRL + A</td>
-        <td>Move to beginning of current line.</td>
-      </tr>
-      <tr>
-        <td>CTRL + D</td>
-        <td>Delete character at cursor.</td>
-      </tr>
-    </informaltable>
-  </refsection>
-</refentry>