From 4c2fd73318b51de6400c1dda9e3d53d9656074c9 Mon Sep 17 00:00:00 2001 From: Samuel GOUGEON Date: Sun, 4 Dec 2016 19:38:09 +0100 Subject: [PATCH] help: scilab|scilex page fixed & improved * "-e" & "-f": special management of the CWD wasn't documented (after http://mailinglists.scilab.org/Users-fr-Repertoire-de-demarrage-Scilab-tp4035138p4035149.html) * "-args" usage was hardly described. Now properly documented. * Improvements: - scilex|wscilex syntaxes added - options reserved to Linux/Mac OSX => Dedicated section - unproper : replaced with areas - "See also" enriched: sciargs, getpid, getenv, getversion, consolebox added - Example for "-e" improved: now includes some quotes showing how to manage them. - xml registration for scilex and wscilex added - Some converted into / tags - other miscellaneous improvements for a better readability. * Fixed: -version does not make Scilab exiting Change-Id: Ic2231c4872a21658c4b16ce403f8aa340dd5bcb4 --- scilab/CHANGES.md | 2 +- scilab/modules/core/help/en_US/scilab.xml | 334 +++++++++----- scilab/modules/core/help/fr_FR/scilab.xml | 397 +++++++++------- scilab/modules/core/help/ja_JP/scilab.xml | 708 ++++++++--------------------- scilab/modules/core/help/pt_BR/scilab.xml | 231 ++++++++-- scilab/modules/core/help/ru_RU/scilab.xml | 339 +++++++++----- 6 files changed, 1058 insertions(+), 953 deletions(-) diff --git a/scilab/CHANGES.md b/scilab/CHANGES.md index 34f14d0..1ebfc00 100644 --- a/scilab/CHANGES.md +++ b/scilab/CHANGES.md @@ -207,7 +207,7 @@ Help pages: ----------- * fixed / improved: `members`, `part`, `ode`, `ode_optional_output`, `ode_roots`, `roots`, - `printf`, `sprintf`, `iconvert`, `stdev`, `xlabel`, `and_op`, `or_op`, `%helps` + `printf`, `sprintf`, `iconvert`, `stdev`, `xlabel`, `and_op`, `or_op`, `%helps`, `scilab|scilex` * rewritten: `consolebox`, `double`, `isoview`, `householder`, `or`, `and`, `format`, `typeof`, `brackets`, `setlanguage`, `sleep`, `isinf`, `bitor`, `bitxor`, `bitand`, `geomean` * reorganized: diff --git a/scilab/modules/core/help/en_US/scilab.xml b/scilab/modules/core/help/en_US/scilab.xml index 4bf76a5..3046f7f 100644 --- a/scilab/modules/core/help/en_US/scilab.xml +++ b/scilab/modules/core/help/en_US/scilab.xml @@ -1,33 +1,89 @@ - + + + + + - scilab - Main script to start Scilab and miscellaneous - tools (GNU/Linux, Unix and Mac OS X) + scilex | scilab + runs Scilab in interactive or batch mode with command line options Syntax - scilab <Options> - scilab-adv-cli <Options> - scilab-cli <Options> + +# MS Windows | # Linux / Unix / Mac OS X +wscilex <Options> | scilab <Options> +wscilex -nw <Options> | scilab-adv-cli <Options> +scilex <Options> | scilab-cli <Options> - Arguments + Options - -args Arguments + -args arg#1 arg#2 .. - If this option is present, arguments are passed to Scilab. - They can then be got by sciargs - function. For multi arguments passing use a quoted, blank separated - sequence of words like: scilab -args 'foo1 - foo2' - - .Without this option, unknown arguments will not - be accepted. + + This option allows to send some data to the Scilab session: + + Consecutive data are separated by one or several spaces. + + An expression between double-quotes is a single data. + + To include a double-quote in a data, write \" instead of ". + + The single quote ' is a regular character. It has no special meaning. + + + + Inside the opened session, these data can be retrieved as separated strings with sciargs(). + + + Example: + scilex -nb -args "Hello \"%USERNAME%\"" 1.2345 \"%cd%\"]]> + + + // Inside the opened session: +--> a = sciargs() + a = +!c:\SCIdir\bin\scilex -nw -nb -noatomsautoload -args Hello "John" 1.2345 "C:\Users\Me" ! + +--> i = find(a=="-args") + i = + 5. + +--> a(i+1) + ans = + Hello "John" + +--> evstr(a(i+2))*2 + ans = + 2.469 + +--> "This session has been launched from " + a(i+3) + ans = + This session has been launched from "C:\Users\Me" + +--> +]]> + + + Using -args as the last command line option is safer. + + @@ -44,73 +100,50 @@ - -debug + -e Instructions - Start Scilab under the debugger gdb (Unix/Linux/Mac OS X only). - Define the variable SCILAB_GDB_OPT to add custom options to - gdb. - - Advice: use this option on a Scilab source tree. - - - - -debug-kdbg - - Start Scilab under kdbg (Unix/Linux/Mac OS X only). - Advice: use this option on a Scilab source tree. - - - - -profiling - - Start Scilab under valgrind (Unix/Linux/Mac OS X only). - Define the variable SCILAB_VALGRIND_OPT to add custom options - to valgrind (and override the existing valgrind options). - - Advice: use this option on a Scilab source tree. - - - - -profiling-visu - - Start Scilab under callgrind (Unix/Linux/Mac OS X only). - Define the variable SCILAB_VALGRIND_OPT to add custom options - to callgrind (and override the existing callgrind options). + At the end of the whole session startup, this option + + + sets the current working directory to the shell directory from which Scilab has been launched. Please see the example given here-below for the -f option. Then, + + + + executes Scilab Instructions provided in a string. Example: + + + + - Advice: use this option on a Scilab source tree. + + -e and -f options can't be used together. + - -electric-fence - - Start Scilab with the Electric Fence (Unix/Linux/Mac OS X only). - Advice: use this option on a Scilab source tree. - - - - -e Instruction + -f file - If this option is present then Scilab instruction - Instruction is executed first (just after startup - file execution) into Scilab. -e and - -f options are mutually exclusive. - - Note that several instructions can be used in with -e. + If this option is used, then at the beginning of the Scilab session, after the execution of the scilab and user startup files, and after the setting of user Preferences -- including the working directory ones --, + + + + the current Scilab working directory is set to the shell directory from which Scilab has been launched. For instance, + C:\scilab-5.5.2\bin\scilex -f ..\test.sce]]> + will do a cd("D:\users\me\scilab\dev"). + + + + + the Scilab script file is executed. If a relative path is used (default .\, or like ..\ in the sample here-above), it refers to the new Scilab working directory. + + + - scilab-cli -e "a=1+%i; aPlusPi=a+%pi; disp(aPlusPi);exit;" -nb - - - - -f file - - If this option is present then Scilab script - file is executed first (just after startup file - execution) into Scilab. -e and - -f options are mutually exclusive. + + A file with .xcos extension will be opened by Xcos. - A file with .xcos extension will be opened by Xcos. @@ -130,41 +163,38 @@ If this option is present it fixes the user language. lang can be: ca_ES de_DE en_US es_ES fr_FR ja_JP pt_BR ru_RU zh_CN zh_TW - - (from Scilab - 5.2). + (from Scilab 5.2). Other possible lang values are 'fr' for french and 'en' for English for compatibility reasons. The default language is English. - This default value is fixed the scilab.start - file. + This default value is fixed the scilab.start file. On some systems, locales must be compiled to render correctly UTF-8 fonts. Scilab can be also called the following way: - LANG=ja_JP scilab - # equivalent to - scilab -l ja_JP - + -nb - If this option is present then the Scilab loading message not displayed. + "no banner": Cancels the display of the Scilab's loading message. -ns - If this option is present the startup file - SCI/etc/scilab.start and the user startup files + "No Startup files": Cancels the execution of the main startup file + SCI/etc/scilab.start and of the user startup files SCIHOME/.scilab, - SCIHOME/scilab.ini are not executed. + SCIHOME/scilab.ini. This option will disable many features in Scilab (Only use if you know what you are doing). @@ -174,16 +204,16 @@ -nouserstartup - If this option is present the user startup files - SCIHOME/.scilab, - SCIHOME/scilab.ini are not executed. + Cancels the execution of the user startup files + SCIHOME/.scilab and + SCIHOME/scilab.ini. -noatomsautoload - If this option is present the ATOMS modules previously installed are not loaded for this session. + Cancels the autoloading of installed ATOMS modules at startup. @@ -192,20 +222,17 @@ If this option is present, Scilab is started as command line with advanced features still available (graphics, export, xcos, scinotes, help browser, ...). - - This option may be used with -f or -e options. - From Scilab 5.2: - Scilab distribution also provides a dedicated binary which - is doing the same as -nw: scilab-adv-cli (Scilab Advanced - Command Line Interpreter). + pipes are enabled for all operating systems (see the + examples for further details). - pipes are enabled for all operating systems (see the - examples for further details). + Scilab distribution also provides a dedicated binary which + is doing the same as -nw: + scilab-adv-cli (Scilab Advanced Command Line Interpreter). @@ -214,51 +241,95 @@ -nwni / -nogui + + This mode prevents loading the Java Virtual Machine. + It starts faster and uses less memory. + If this option is present, Scilab is started as command line - without advanced features (graphics, export, xcos, scinotes, help browser, ...). - - - This option may be used with -f or -e options. + without advanced features (graphics, export, xcos, scinotes, + help browser, Java module,...). - From Scilab 5.2: + Since Scilab 5.2: - Scilab distribution also provides a dedicated binary which - is doing the same as -nwni: scilab-cli (Scilab Command Line Interpreter). + pipes are enabled for all operating systems (see the + examples for further details). - pipes are enabled for all operating systems (see the - examples for further details). + Scilab distribution also provides a dedicated binary which + is doing the same as -nwni: + scilab-cli (Scilab Command Line Interpreter). - This mode does not load the Java Virtual Machine (faster to - start and uses less memory). - --texmacs - This option is reserved for TeXMacs. - - Please install ATOMS module: atomsInstall('texmacs') + This option is reserved for the external TeXMacs module. + This one can be priorly installed with atomsInstall('texmacs'). -version - This option prints product version and exits. + displays the Scilab's version (before the main Scilab's startup). + + + + + + Additional options for Unix/Linux and Mac OS X + Advice: use theses options on a Scilab source tree. + + + -debug + + Start Scilab under the debugger gdb. + + The variable SCILAB_GDB_OPT may be set to add custom options to gdb. + + + + + -debug-kdbg + + Start Scilab under kdbg. + + + + -profiling + + Start Scilab under valgrind. + The variable SCILAB_VALGRIND_OPT may be set to add custom options + to valgrind (and override the existing valgrind options). + + + + + -profiling-visu + + Start Scilab under callgrind. + The variable SCILAB_VALGRIND_OPT may be set to add custom options + to callgrind (and override the existing callgrind options). + + + + + -electric-fence + + Start Scilab with the Electric Fence. - Description of environment variables + Environment variables SCIVERBOSE @@ -296,6 +367,9 @@ Java Virtual Machine options + + The options described here-below are useless and are cancelled if the option -nwni is used. + Starting from Scilab 5.0, the graphical user interface (GUI) and the build documentation are based on Java features. In some cases, it can be important to edit the JVM options (Java Virtual Machine). @@ -354,7 +428,7 @@ Examples - debug.txt # We are under Bash shell export SCILAB_GDB_OPT="--command=debug.txt" # Start Scilab in debug mode -scilab -debug]]> - + + 2 then exit(99) end"|scilab-cli -echo $? ]]> +echo $? ]]> See also - exit + startup - startup + sciargs + + + getpid + + + getenv + + + getversion + + + consolebox + + + exit diff --git a/scilab/modules/core/help/fr_FR/scilab.xml b/scilab/modules/core/help/fr_FR/scilab.xml index a87652f..5e1530c 100644 --- a/scilab/modules/core/help/fr_FR/scilab.xml +++ b/scilab/modules/core/help/fr_FR/scilab.xml @@ -1,34 +1,89 @@ - + + + + + - scilab - Script principal d'exécution de Scilab et de divers - outils (GNU/Linux, Unix et Mac OS X) + scilex | scilab + lance Scilab en mode interactif ou batch avec options - Séquence d'appel - scilab <Options> - scilab-adv-cli <Options> - scilab-cli <Options> + Syntaxe + +# MS Windows | # Linux / Unix / Mac OS X +wscilex <Options> | scilab <Options> +wscilex -nw <Options> | scilab-adv-cli <Options> +scilex <Options> | scilab-cli <Options> - Paramètres + Options - -args arguments + -args arg#1 arg#2 .. - si cette option est présente des arguments sont passés à - Scilab. Ils peuvent être récupérés par la fonction - - sciargs - - .Les arguments multiples - doivent être passés dans chaîne de caractères les contenant, séparés - par des espaces scilab -args 'foo1 foo2';. - Sans cette option, les arguments inconnus ne seront pas acceptés. + + Cette option permet de transmettre des données à la session Scilab à ouvrir : + + Des données consécutives sont séparées par un ou plusieurs espaces. + + Une expression entre guillemets " constitue une donnée unique. + + Pour inclure un guillemet dans une donnée, écrire \" au lieu de ". + + L'apostrophe ' est un caractère normal. Il n'a pas de signification particulière. + + + + Dans la session ouverte, les données arg#1, arg#2, .. peuvent être récupérées comme autant d'expressions texte avec sciargs(). + + + Exemple : + scilex -nb -args "Hello \"%USERNAME%\"" 1.2345 \"%cd%\" ]]> + + + // Dans la session ouverte : +--> a = sciargs() + a = +!c:\SCIdir\bin\scilex -nw -nb -noatomsautoload -args Hello "John" 1.2345 "C:\Users\Me" ! + +--> i = find(a=="-args") + i = + 5. + +--> a(i+1) + ans = + Hello "John" + +--> evstr(a(i+2))*2 + ans = + 2.469 + +--> "Cette session a été lancée depuis " + a(i+3) + ans = + Cette session a été lancée depuis "C:\Users\Me" + +--> +]]> + + + Utiliser -args comme dernière option sur la ligne de commande est plus sûr. + + @@ -45,85 +100,50 @@ - -debug - - Lance Scilab sous gdb (Unix/Linux/Mac OS X seulement). - Définir la variable SCILAB_GDB_OPT pour ajouter des options - supplémentaire à gdb. - - Conseil: Utilisez cette option à partir de l'arborescence - source de Scilab - - - - - -debug-kdbg - - Lance Scilab sous kdbg (Unix/Linux/Mac OS X seulement). - Conseil: Utilisez cette option à partir de l'arborescence - source de Scilab - - - - - -profiling - - Lance Scilab sous valgrind (Unix/Linux/Mac OS X seulement). - Définir la variable SCILAB_VALGRIND_OPT pour ajouter des - options supplémentaire à valgrind (et surcharger les options de - valgrind existantes). - - Conseil: Utilisez cette option à partir de l'arborescence - source de Scilab - - - - - -profiling-visu - - Lance Scilab sous callgrind (Unix/Linux/Mac OS X seulement). - Définir la variable SCILAB_VALGRIND_OPT pour ajouter des - options supplémentaires à callgrind (et surcharger les options de - callgrind existante). - - Conseil: Utilisez cette option à partir de l'arborescence - source de Scilab - - - - - -electric-fence - - Lance Scilab sous Electric Fence (Unix/Linux/Mac OS X seulement). - Conseil: Utilisez cette option à partir de l'arborescence - source de Scilab - - - - - -e Instruction + -e Instructions - si cette option est présente l'instruction - Instruction est exécutée dans Scilab - immédiatement après les fichiers startup. - - Plusieurs commandes peuvent être indiquées à la suite avec - l'option -e: - - scilab-cli -e "a=1+%i; aPlusPi=a+%pi; disp(aPlusPi);exit;" -nb - + À l'issue du démarrage complet de la session, cette option + + + fixe le dossier de travail de Scilab au dossier système depuis lequel Scilab a été lancé. Voir l'exemple donné plus bas pour l'option -f. Puis, + + + + éxécute les Instructions Scilab indiquées. Exemple : + + + + + + + Les options -e et -f ne peuvent pas être utilisées ensemble. + -f Fichier - si cette option est présente le script Fichier - est exécuté dans Scilab mmédiatement après les fichiers startup. -f - et -e ne peuvent pas être utilisée en même temps. + Si cette option est indiquée, alors au début de la session Scilab, après l'exécution des fichiers de démarrage de Scilab et de l'utilisateur, et après l'activation des Préférences de l'utilisateur -- dont celles concernant le dossier de travail par défaut --, + + + + le dossier de travail de Scilab est fixé au dossier système depuis lequel Scilab a été lancé. Par exemple, + C:\scilab-5.5.2\bin\scilex -f ..\test.sce]]> + exécutera cd("D:\users\me\scilab\dev"). + + + + + le script Scilab Fichier est exécuté. S'il est indiqué avec un chemin relatif (.\ par défaut, ou tel que ..\ dans l'exemple ci-dessus), celui-ci se réfère au nouveau dossier de travail de Scilab. + + + + + + Un fichier avec l'extension .xcos sera ouvert par Xcos. - Un fichier avec l'extension .xcos sera ouvert par Xcos. @@ -150,41 +170,40 @@ Les valeurs possible pour sont -l fr pour sélectionner le francais et -l en pour - sélectionner l'anglais. La langue par défaut est l'anglais, ce - défaut est fixé dans le fichier + sélectionner l'anglais. La langue par défaut est établie à l'anglais dans le fichier scilab.start. Avec certains systèmes, la compilation des locales peut être nécessaire pour rendre correctement les polices UTF-8. Scilab peut être aussi appellé de la manière suivante: - LANG=ja_JP scilab - # équivalent à - scilab -l ja_JP - + -nb - si cette option est présente le message de chargement de Scilab n'est pas affiché. + "no banner" : supprime l'affichage du message de chargement de Scilab. -ns - si cette option est présente le script de démarrage + "no startup" : supprime l'éxécution du script de démarrage "principal" SCI/etc/scilab.start ainsi que les fichiers de démarrage "utilisateur" SCIHOME/.scilab et SCIHOME/scilab.ini ne sont pas pas exécutés. - L'utilisation de cette option désactivera de nombreuses - fonctionnalités de Scilab (Ne l'utilisez que si vous savez ce que - vous faites). - + + Cette option désactive de nombreuses fonctionnalités de Scilab. + À utiliser avec expertise et discernement. + @@ -199,18 +218,19 @@ -noatomsautoload - Si cette option est fournie, les modules ATOMS précédemment installés ne sont pas chargés durant cette session. + + supprime le chargement en début de session des modules ATOMS installés. + -nw - si cette option est présente Scilab est lancé en tant que - interpreteur de commande avancé (graphiques, fonctionnalité de - construction de l'aide, etc). - - The option peut être utilisé avec les arguments -f ou - -e. + si cette option est présente, Scilab est lancé en tant + qu'interprêteur de commandes avancé : la console est sans + menus, mais les fonctionnalités Java sont disponibles + (graphiques, export, xcos, scinotes, navigateur d'aide, + module JIMS, etc). A partir de la version 5.2 de Scilab: @@ -233,39 +253,39 @@ -nwni / -nogui - si cette option est présente Scilab est lancé en tant que - interpreteur de commande (sans graphique, ni fonctionnalité de - construction de l'aide, etc). - - The option peut être utilisé avec les arguments -f ou - -e. + + Cette option supprime le chargement de la Machine Virtuelle Java en mémoire. + Elle accélère le démarrage de Scilab et réduit la mémoire consommée. + + si cette option est présente, Scilab est lancé en tant + qu'interprêteur de commandes (sans graphiques ni interfaces + ni fonctionnalité de construction de l'aide, etc). A partir de la version 5.2 de Scilab: + Les fonctionnalités de pipe sont accessibles pour tous les + systèmes d'exploitations (voir les exemples pour plus de + détails) + + + La distribution de Scilab fournit aussi un binaire dédié faisant la même chose que l'option -nw: scilab-cli (Scilab Command Line Interpreter). - - Les fonctionnalités de pipe sont accessibles pour tous les - systèmes d'exploitations (voir les examples pour plus de - détails) - - - Ce mode ne charge pas la Machine Virtuelle Java (plus rapide à - démarer et consomme moins de mémoire). - --texmacs - Cette option est réservée pour TeXMacs. - Veuillez installer le module ATOMS atomsInstall('texmacs') + Cette option est réservée au module externe TeXMacs. + + Celui-ci peut être préalablement installé avec atomsInstall('texmacs') + @@ -276,8 +296,55 @@ + + Options supplémentaires sous Unix/Linux ou Mac OS X + Conseil: utiliser ces options à partir de l'arborescence source de Scilab. + + + -debug + + Lance Scilab sous gdb. + Définir la variable SCILAB_GDB_OPT pour ajouter des options + supplémentaire à gdb. + + + + + -debug-kdbg + + Lance Scilab sous kdbg. + + + + -profiling + + Lance Scilab sous valgrind. + Définir la variable SCILAB_VALGRIND_OPT pour ajouter des + options supplémentaire à valgrind (et surcharger les options de + valgrind existantes). + + + + + -profiling-visu + + Lance Scilab sous callgrind. + Définir la variable SCILAB_VALGRIND_OPT pour ajouter des + options supplémentaires à callgrind (et surcharger les options de + callgrind existante). + + + + + -electric-fence + + Lance Scilab sous Electric Fence. + + + + - Description des variables d'environnement + Variables d'environnement SCIVERBOSE @@ -309,7 +376,10 @@ - Java Virtual Machine options + Options JVM (Java Virtual Machine) + + Les options décrites ci-dessous sont inutiles et sans effet lorsque l'option -nwni est utilisée. + A partir de la version 5.0 de Scilab, l'interface graphique et le système de génération de la documentation sont basés sur des fonctionnalités Java. Dans certains cas, il peut être intéressant de @@ -372,46 +442,59 @@ Exemples - - # Lançons Scilab en mode profilage sans qu'un gdb soit lancé à chaque SIGSEGV. - # On est sous Bash - export SCILAB_VALGRIND_OPT="--db-attach=no --log-file=myfile.txt" - scilab -profiling - - # Lançons Scilab en mode debug sans s'arrêter à chaque SIGSEGV - # D'abord écrivons un petit fichier de commandes - echo "handle SIGSEGV nostop" &gt; debug.txt - # On règle l'option de gdb - # On est sous Bash - export SCILAB_GDB_OPT="--command=debug.txt" - # Lançons Scilab en mode debug - scilab -debug - - - # Sous GNU/Linux, Mac OS X or Unix: - $ echo "disp(%pi)"|scilab-cli - ou - $ echo "disp(%pi)"|scilab -nwni + + + +# Scilab utilisé en tant que moteur de scripting +echo "if 1<>2 then exit(99) end"|scilab-cli +echo $? ]]> Voir aussi - exit + startup - startup + sciargs + + + getpid + + + getenv + + + getversion + + + consolebox + + + exit diff --git a/scilab/modules/core/help/ja_JP/scilab.xml b/scilab/modules/core/help/ja_JP/scilab.xml index ae34c3b..796fc37 100644 --- a/scilab/modules/core/help/ja_JP/scilab.xml +++ b/scilab/modules/core/help/ja_JP/scilab.xml @@ -1,249 +1,151 @@ - - - + + + + + - - scilab - + scilex | scilab - Scilabおよび関連ツールを起動するためのツール - - (GNU/Linux, Unix および Mac OS X) - - - - 呼出し手順 - - scilab <Options> - - scilab-adv-cli <Options> - - scilab-cli <Options> - + +# MS Windows | # Linux / Unix / Mac OS X +wscilex <Options> | scilab <Options> +wscilex -nw <Options> | scilab-adv-cli <Options> +scilex <Options> | scilab-cli <Options> - - - 説定 - - - - -args Arguments - + -args arg#1 arg#2 .. - - - このオプションが存在する場合,引数がScilabに渡されます. - - これらは,sciargs関数で取得することが - - できます. - - 複数の引数を指定する場合,以下のように一連の複数の単語を引用符で括り, - - 空白で分割してください: scilab -args 'foo1 foo2'. - - このオプションを指定しない場合,未知の引数は受け付けられません. - + This option allows to send some data to the Scilab session: + + Consecutive data are separated by one or several spaces. + + An expression between double-quotes is a single data. + + To include a double-quote in a data, write \" instead of ". + + The single quote ' is a regular character. It has no special meaning. + + - + + Inside the opened session, these data can be retrieved as separated strings with sciargs(). + + + Example: + scilex -nb -args "Hello \"%USERNAME%\"" 1.2345 \"%cd%\"]]> + + + // Inside the opened session: +--> a = sciargs() + a = +!c:\SCIdir\bin\scilex -nw -nb -noatomsautoload -args Hello "John" 1.2345 "C:\Users\Me" ! + +--> i = find(a=="-args") + i = + 5. + +--> a(i+1) + ans = + Hello "John" + +--> evstr(a(i+2))*2 + ans = + 2.469 + +--> "This session has been launched from " + a(i+3) + ans = + This session has been launched from "C:\Users\Me" + +--> +]]> + + + Using -args as the last command line option is safer. + + - - - -display Display - - - Xwindow システム上でのみ使用可能で, 表示する - Xサーバーを指定します. - デフォルトの表示先は unix:0.0 です. - - - -display は, - -dと短縮形で指定できます. - - - - - - - - - - -debug - - - - デバッガgdb上でScilabを開始します(Unix/Linux/Mac OS Xのみ). - - - - gdb にカスタムオプションを追加する場合, - - 変数SCILAB_GDB_OPTを定義します. - - - - 助言: このオプションをScilabソースツリー上で使用してください. - - - - - - - - -debug-kdbg - - - - kdbg上でScilabを開始します (Unix/Linux/Mac OS X のみ). - - 助言: このオプションをScilabソースツリー上で使用してください. - - - - - - - - -profiling - - - - valgrind上でScilabを開始します (Unix/Linux/Mac OS X のみ). - - - - valgrind にカスタムオプションを追加する場合 - - (および既存の valgrind オプションを上書きする場合),SCILAB_VALGRIND_OPT - - を定義してください. - - - 助言: このオプションをScilabソースツリー上で使用してください. - - - - - -profiling-visu - - - - callgrind上でScilabを開始します (Unix/Linux/Mac OS X のみ). - - - - callgrind にカスタムオプションを追加する場合 - - (および既存の callgrind オプションを上書きする場合),SCILAB_VALGRIND_OPT - - を定義してください. - - - - 助言: このオプションをScilabソースツリー上で使用してください. - - - - - - - - -electric-fence - - - - Electric Fence を指定して Scilab を開始します(Unix/Linux/Mac OS Xのみ). - - 助言: このオプションをScilabソースツリー上で使用してください. - - - - - - - - -e 命令 - + -e Instructions - - - - このオプションを指定すると Scilab 命令 - - Instruction が(スタートアップファイルの実行直後に) - - まずScilabで実行されます. - - -e および - - -f オプションは相互に排他的です. - - - - -eにより複数の命令を指定できることに注意してください. + At the end of the whole session startup, this option + + + sets the current working directory to the shell directory from which Scilab has been launched. Please see the example given here-below for the -f option. Then, + + + + executes Scilab Instructions provided in a string. Example: + + + + - - scilab-cli -e "a=1+%i; aPlusPi=a+%pi; disp(aPlusPi);exit;" -nb - + + -e および -f オプションは相互に排他的です. + - - - -f file - - - - このオプションを指定すると, Scilab はスクリプト file - - を(スタートアップファイルの実行直後,)Scilab上で最初に実行します. - - - - -e および - - -f オプションは相互に排他的です. - + If this option is used, then at the beginning of the Scilab session, after the execution of the scilab and user startup files, and after the setting of user Preferences -- including the working directory ones --, + + + + the current Scilab working directory is set to the shell directory from which Scilab has been launched. For instance, + C:\scilab-5.5.2\bin\scilex -f ..\test.sce]]> + will do a cd("D:\users\me\scilab\dev"). + + + + + the Scilab script file is executed. If a relative path is used (default .\, or like ..\ in the sample here-above), it refers to the new Scilab working directory. + + + - .xcos 拡張子を有するファイルはXcosで開かれます. - - - -quit @@ -254,511 +156,307 @@ - - -l lang - - このオプションを指定した場合, - ユーザ言語を指定します. - lang は以下の値を指定できます: ca_ES de_DE en_US es_ES - fr_FR ja_JP pt_BR ru_RU zh_CN zh_TW - - (Scilab 5.2以降). - - - 互換性維持のため,その他に lang の値は,フランス語として - 'fr' および英語として 'en' を使用可能です. - デフォルト値は,scilab.startファイルで指定されます. - - いくつかのシステムでは,UTF-8フォントを正しく描画するために, - ロケールをコンパイルする必要があります. - - Scilab を以下のようにコールすることも可能です: - - LANG=ja_JP scilab - - # これは以下と等価です - - scilab -l ja_JP - - - + - - - -nb - - - - + "no banner" : このオプションが指定された場合, Scilabの Welcome バナーは表示されません. - - - - - -ns - - - - + "No Startup files" : このオプションが指定された場合, スタートアップファイル - SCI/etc/scilab.start およびユーザスタートアップファイル - SCIHOME/.scilab, - SCIHOME/scilab.ini は実行されません. - - このオプションは, Scilabの多くの機能を無効にします (動作を理解している場合のみ - 使用してください). - - - - - -nouserstartup - - このオプションが指定された場合, スタートアップファイル - SCIHOME/.scilab, - SCIHOME/scilab.ini は実行されません. - - - - - -noatomsautoload - - - このオプションが指定された場合,イントール済みのATOMモジュールは - このセッションでロードされません. - - - - - -nw - - - このオプションが指定された場合, Scilab は - 先進的な機能(グラフィック, export, xcos, scinotes, ヘルプブラウザ, ...) - と共にコマンドラインで起動されます. - - - - このオプションは -fまたは -e - - オプションと同時に指定することができます. - - Scilab 5.2以降: - - - + 全てのオペレーティングシステムについて + パイプが有効です (詳細については例を参照ください). + + + Scilab のディストリビューションには, - -nwと同様のバイナリを提供します: - scilab-adv-cli - (Scilab Advanced Command Line Interpreter). - - - - - - 全てのオペレーティングシステムについて - - パイプが有効です (詳細については例を参照ください). - - - - - - - - - -nwni / -nogui - - + このモードでは Java 仮想マシンはロードされません. + (起動は高速化され,メモリ消費量は減少します) + このオプションが指定された場合, Scilab は先進的な機能 - (グラフィック, export, xcos, scinotes, ヘルプブラウザ, ...)なしで - コマンドラインで起動されます. - - - - - このオプションは -f または -e - - オプションと同時に指定することができます. - Scilab 5.2以降: - - - + 全てのオペレーティングシステムについて + パイプが有効です (詳細については例を参照ください). + + + - Scilab のディストリビューションでは, - -nwniと同じ専用バイナリが提供されています - : scilab-cli - (Scilab Command Line Interpreter). - - - - - - - - - - - - 全てのオペレーティングシステムについて - - パイプが有効です (詳細については例を参照ください). - - - - - このモードでは Java 仮想マシンはロードされません. - - (起動は高速化され,メモリ消費量は減少します) - - - - - - --texmacs - - このオプションは TeXMacs用に予約されています. - - ATOMSモジュールをインストールしてください: atomsInstall('texmacs') - - - - - -version - - このオプションはプロダクトのバージョンを出力し,終了します. - - - + + + Additional options for Unix/Linux and Mac OS X + 助言: これらのオプションをScilabソースツリー上で使用してください. + + + -debug + + デバッガgdb上でScilabを開始します. + + gdb にカスタムオプションを追加する場合, + 変数SCILAB_GDB_OPTを定義します. + + + + + -debug-kdbg + + kdbg上でScilabを開始します. + + + + -profiling + + valgrind上でScilabを開始します. + + valgrind にカスタムオプションを追加する場合 + (および既存の valgrind オプションを上書きする場合),SCILAB_VALGRIND_OPT + を定義してください. + + + + + -profiling-visu + + callgrind上でScilabを開始します. + + callgrind にカスタムオプションを追加する場合 + (および既存の callgrind オプションを上書きする場合),SCILAB_VALGRIND_OPT + を定義してください. + + + + + -electric-fence + + Electric Fence を指定して Scilab を開始します. + + + - 環境変数の説明 - - - SCIVERBOSE - - - この変数が存在した場合, Scilab起動スクリプトは起動時デバッグ情報を表示します. - 主にバグレポートおよびデバッグ目的で使用されます. - - - - - JAVA_HOME - - - 使用するJavaを指定します. 例えば, - JAVA_HOME=/usr/lib/jvm/java-7-openjdk/ scilab は - Java 7 でScilabを起動します. - - - - - SCI_DISABLE_TK - - Tk (Tclではなく) 機能を無効にします. - - - - SCI_JAVA_ENABLE_HEADLESS - - - ヘッドレスJava仮想マシン (すなわち,GUI機能なし). - - - - - - - Java 仮想マシンオプション - + + The options described here-below are useless and are cancelled if the option -nwni is used. + Scilab 5.0以降, グラフィカルユーザインターフェイス (GUI) および - ドキュメントの構築は,Java機能に基づいています. - いくつかのケースでは, - JVM (Java仮想マシン)オプションを編集することが重要となります. - - これらのオプションは, - jvm_options.xmlファイルで利用可能です. - - 5.0.X および 5.1.Xでは, このファイルは - SCI/modules/jvm/etc/jvm_options.xmlに保存されています. - - >= 5.2.0以降, このファイルは - - etc/jvm_options.xml - - にあります. - - デフォルトで, 以下の3つのオプションが - 設定ファイルで容易にアクセス可能です: - - - - -XmxXXXm - - - このオプションは,Java仮想マシンで利用可能なメモリ量を設定します. - デフォルトで, 256M が確保されます. - この値を変更した場合, その値がシステムで利用可能なメモリを - 超えないことを確認してください. - - - Scilab 5.4.0以降, この値は設定メニュー内で変更可能です. - - - - - -Djava.compiler=JIT - - - このオプションを引数JITを付けて指定すると, - Java Just In Time compilerが有効になります. - このオプションはデフォルトで有効となります. - NONEによりJITは無効となり, - 著しく性能が低下します. - - - - - -verbose:jni / -Xcheck:jni - - - これらのオプションは,JNIコールとその出力をより詳細に確認します. - デバッグ時にはこれらのオプションを利用可能ですが, - 性能を低下させるためデフォルトでは無効となっています. - - - - - より多くのオプションが利用可能です. - これにより性能を改善したり,ルックアンドフィールを変更したり, - メモリ管理を変更したりといったことが可能です. - 参照: http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html - - - - 例 - - debug.txt @@ -766,68 +464,57 @@ echo "handle SIGSEGV nostop" &> debug.txt # We are under Bash shell export SCILAB_GDB_OPT="--command=debug.txt" # Start Scilab in debug mode -scilab -debug]]> - - + + 2 then exit(99) end"|scilab-cli -echo $? ]]> - +echo $? ]]> - - 参照 - - - - exit - + startup - - - startup - + sciargs + + + getpid + + + getenv + + + getversion + + + consolebox + + + exit - - - - 履歴 - - - 5.4.0 - -noatomsautoload が追加されました. - - - 5.4.1 - scinotes と xcos 個別スクリプトが導入されました. SEP #87参照. - 6.0.0 @@ -836,8 +523,5 @@ echo $? ]]> - - - - + \ No newline at end of file diff --git a/scilab/modules/core/help/pt_BR/scilab.xml b/scilab/modules/core/help/pt_BR/scilab.xml index ce39812..150f652 100644 --- a/scilab/modules/core/help/pt_BR/scilab.xml +++ b/scilab/modules/core/help/pt_BR/scilab.xml @@ -1,26 +1,89 @@ - + + + + + - scilab - principal script para executar o Scilab e ferramentas de - miscelânea + scilex | scilab + principal script para executar o Scilab e ferramentas de miscelânea Sqeüência de Chamamento - scilab <Options> + +# MS Windows | # Linux / Unix / Mac OS X +wscilex <Options> | scilab <Options> +wscilex -nw <Options> | scilab-adv-cli <Options> +scilex <Options> | scilab-cli <Options> + Parâmetros - -args Arguments + -args arg#1 arg#2 .. - Se esta opção estiver presente, os argumentos são passados ao - Scilab. Eles podem ser recebidos pela função sciargs. para passagem de múltiplos - argumentos use, seqüências de palavras separadas por espaços entre - aspas simples: scilab -args 'foo1 foo2' + + This option allows to send some data to the Scilab session: + + Consecutive data are separated by one or several spaces. + + An expression between double-quotes is a single data. + + To include a double-quote in a data, write \" instead of ". + + The single quote ' is a regular character. It has no special meaning. + + + + Inside the opened session, these data can be retrieved as separated strings with sciargs(). + + + Example: + scilex -nb -args "Hello \"%USERNAME%\"" 1.2345 \"%cd%\"]]> + + + // Inside the opened session: +--> a = sciargs() + a = +!c:\SCIdir\bin\scilex -nw -nb -noatomsautoload -args Hello "John" 1.2345 "C:\Users\Me" ! + +--> i = find(a=="-args") + i = + 5. + +--> a(i+1) + ans = + Hello "John" + +--> evstr(a(i+2))*2 + ans = + 2.469 + +--> "This session has been launched from " + a(i+3) + ans = + This session has been launched from "C:\Users\Me" + +--> +]]> + + + Using -args as the last command line option is safer. + + @@ -36,32 +99,49 @@ - -debug + -e Instructions - Inicia o Scilab no debugger gdb (apenas para - Unix/Linux/Mac OS X). + + No final de toda a sessão de inicialização, esta opção + + + Define o diretório de trabalho atual para o diretório shell do qual o Scilab foi lançado. Por favor veja o exemplo dado aqui-abaixo para a opção -f . Então, + + + + executa dado Scilab Instructions. Exemplo : + + + + + + As opções -e e -f são mutuamente exclusivas. + - -e Instrução + -f file - Se esta opção estiver presente, então a instrução Scilab - Instrução é executada primeiro (logo após a - execução do arquivo de inicialização) no Scilab. As opções - -e e -f são mutuamente - exclusivas + + If this option is used, then at the beginning of the Scilab session, after the execution of the scilab and user startup files, and after the setting of user Preferences -- including the working directory ones --, + + + + the current Scilab working directory is set to the shell directory from which Scilab has been launched. For instance, + C:\scilab-5.5.2\bin\scilex -f ..\test.sce]]> + will do a cd("D:\users\me\scilab\dev"). + + + + + the Scilab script file is executed. If a relative path is used (default .\, or like ..\ in the sample here-above), it refers to the new Scilab working directory. + + + - - - - -f arquivo - - Se esta opção estiver presente, então o script Scilab - arquivo é executado primeiro (logo após a - execução do arquivo de inicialização) no Scilab. As opções - -e e -f são mutuamente - exclusivas. + + A file with .xcos extension will be opened by Xcos. @@ -90,15 +170,14 @@ -nb - Se esta opção está presente, então o cartão de boas-vindas não - é impresso. + "no banner" : Se esta opção está presente, então o cartão de boas-vindas não é impresso. -ns - Se esta opção está presente, o arquivo de inicialização + "No Startup files" : Se esta opção está presente, o arquivo de inicialização SCI/etc/scilab.start e os arquivos de inicialização do usuário SCIHOME/.scilab, SCIHOME/scilab.ini não são executados. @@ -125,9 +204,13 @@ -nwni / -nogui + + This mode prevents loading the Java Virtual Machine. + It starts faster and uses less memory. + Se esta opção estiver presente, então o Scilab não é executado - em uma janela específica e não aceita interação do usuário. Esta - opção pode ser utilizada com as opções -f ou -e . + em uma janela específica e não aceita interação do usuário + (graphics, export, xcos, scinotes, help browser, Java module,...). @@ -140,13 +223,58 @@ -version - Esta opção imprime a versão do produto e sai. + Esta opção imprime a versão do Scilab. + + + + + + Additional options for Unix/Linux and Mac OS X + Advice: use theses options on a Scilab source tree. + + + -debug + + Inicia o Scilab no debugger gdb. + + The variable SCILAB_GDB_OPT may be set to add custom options to gdb. + + + + + -debug-kdbg + + Start Scilab under kdbg. + + + + -profiling + + Start Scilab under valgrind. + The variable SCILAB_VALGRIND_OPT may be set to add custom options + to valgrind (and override the existing valgrind options). + + + + + -profiling-visu + + Start Scilab under callgrind. + The variable SCILAB_VALGRIND_OPT may be set to add custom options + to callgrind (and override the existing callgrind options). + + + + + -electric-fence + + Start Scilab with the Electric Fence. - Description of environment variables + Environment variables SCIVERBOSE @@ -184,6 +312,9 @@ Java Virtual Machine options + + The options described here-below are useless and are cancelled if the option -nwni is used. + Starting from Scilab 5.0, the graphical user interface (GUI) and the build documentation are based on Java features. In some cases, it can be important to edit the JVM options (Java Virtual Machine). @@ -242,7 +373,7 @@ Exemplos - debug.txt # We are under Bash shell export SCILAB_GDB_OPT="--command=debug.txt" # Start Scilab in debug mode -scilab -debug]]> - + + 2 then exit(99) end"|scilab-cli -echo $? ]]> +echo $? ]]> Ver também - exit + startup - startup + sciargs + + + getpid + + + getenv + + + getversion + + + consolebox + + + exit diff --git a/scilab/modules/core/help/ru_RU/scilab.xml b/scilab/modules/core/help/ru_RU/scilab.xml index 1c12ac9..810ca7b 100644 --- a/scilab/modules/core/help/ru_RU/scilab.xml +++ b/scilab/modules/core/help/ru_RU/scilab.xml @@ -1,33 +1,95 @@ - + + + + + - scilab + scilex | scilab - главный файл-сценарий для запуска Scilab'а и различных инструментов(GNU/Linux, Unix и Mac OS X) + главный файл-сценарий для запуска Scilab'а и различных инструментов Синтаксис - scilab <Options> - scilab-adv-cli <Options> - scilab-cli <Options> +# MS Windows | # Linux / Unix / Mac OS X +wscilex <Options> | scilab <Options> +wscilex -nw <Options> | scilab-adv-cli <Options> +scilex <Options> | scilab-cli <Options> Аргументы - -args Arguments + -args arg№1 arg№2 .. - Если есть эта опция, то в Scilab передаются аргументы Arguments. - Они могут затем быть получены с помощью функции - sciargs. Для множества передаваемых - аргументов используйте кавычки и разделяйте слова пробелами. Например, - scilab -args 'foo1 foo2'. Без этого неизвестные - аргументы не будут приняты. + Эта опция позволяет переслать данные в сессию Scilab'а: + + + Последовательность данных, разделённых одним или несколькими пробелами. + + + Выражение между двойными кавычками является единым куском данных. + + + Чтобы внести двойные кавычки в данные, запишите \" вместо ". + + + Одинарная кавычка ' является обычным символом. У неё нет специального значения. + + + + Внутри открытой сессии эти данные могут быть получены виде раздельных строк с помощью sciargs(). + + + Пример: + scilex -nb -args "Привет, \"%USERNAME%\"" 1.2345 \"%cd%\"]]> + + + // Внутри открытой сессии: +--> a = sciargs() + a = +!c:\SCIdir\bin\scilex -nw -nb -noatomsautoload -args Привет, "Иван" 1.2345 "C:\Users\Me" ! + +--> i = find(a=="-args") + i = + 5. + +--> a(i+1) + ans = + Привет, "Иван" + +--> evstr(a(i+2))*2 + ans = + 2.469 + +--> "Эта сессия была запущена из " + a(i+3) + ans = + Эта сессия была запущена из "C:\Users\Me" + +--> +]]> + + + + Безопаснее использовать -args в качестве последней опции командной строки. + + @@ -43,89 +105,64 @@ - -debug - - - Запуск Scilab'а в отладчике gdb (только Unix/Linux/Mac OS X). - - - Определите переменную SCILAB_GDB_OPT для добавления - пользовательских настроек в gdb. - - Совет: используйте эту опцию в дереве исходников Scilab'а. - - - - -debug-kdbg + -e Instructions - Запуск Scilab'а в kdbg (только Unix/Linux/Mac OS X). - Совет: используйте эту опцию в дереве исходников Scilab'а. - - - - -profiling - - Запуск Scilab'а в valgrind (только Unix/Linux/Mac OS X). - Определите переменную SCILAB_VALGRIND_OPT для - добавления пользовательских настроек в valgrind (и отмены существующих - опций valgrind). - - Совет: используйте эту опцию в дереве исходников Scilab'а. - - - - -profiling-visu - - Запуск Scilab'а в callgrind (только Unix/Linux/Mac OS X). - - Определите переменную SCILAB_VALGRIND_OPT для - добавления пользовательских настроек в callgrind (и отмены существующих - опций callgrind). - - Совет: используйте эту опцию в дереве исходников Scilab'а. - - - - -electric-fence - - Запуск Scilab'а в Electric Fence (только Unix/Linux/Mac OS X). - Совет: используйте эту опцию в дереве исходников Scilab'а. - - - - -e Instruction - - - Если есть эта опция, то инструкция Instruction выполняется - первой (сразу же после исполнения файла запуска) в Scilab'e. Опции -e - и -f взаимоисключающие. - - - Заметьте, что с -e можно использовать несколько инструкций. - - scilab-cli -e "a=1+%i; aPlusPi=a+%pi; disp(aPlusPi);exit;" -nb + По окончании запуска всей сессии, этот вариант + + + + устанавливает текущий рабочий каталог в каталог оболочки, из которой Scilab был запущен. + Пожалуйста, смотрите пример, приведенный здесь ниже для опции -f. Затем, + + + + эта опция выполняет инструкции Scilab Instructions, указанные в строке. Пример : + + + + + + + Опции -e и -f взаимоисключающие. + -f file - Если есть эта опция, то файл-сценарий Scilab'a file исполняется - первым (сразу же после исполнения файла запуска) в Scilab'e. -e и - -f взаимоисключающие. - - Файл с расширением .xcos будет открыт в Xcos. + Если эта опцпия используется, то в начале сессии Scilab, после исполнения файлов запуска Sciblab и + пользовательских файлов запуска, и после установки пользовательских настроек, включая настройки рабочей директории, + + + + текущая рабочая директория Scilab устаровлена в каталоге оболочки, из которой Scilab был запущен. Например, + C:\scilab-5.5.2\bin\scilex -f ..\test.sce]]> + будет исполнять cd("D:\users\me\scilab\dev"). + + + + + Scilab-сценарий file выполнен. Если относительный путь используется + (по умолчанию .\ или как ..\ в примере выше), то + он отсылается в новую рабочую директорию Scilab. + + + + + Файл с расширением .xcos будет открыт в Xcos. -quit - This option forces scilab to always exit after the instruction(s) passed with the -e - option, or the script referred to by the -f option, have been executed, - even in case of a runtime error. This option should always be used in batch mode. - It is ignored if neither -e nor -f options are present. + Эта опция заставляет Scilab всегда выходить после инструкций, переданных вместе с опцией + -e, или сценарий, на который ссылается оция -f, + будет исполнен, даже в случае ошибки времени исполнения. Эта опция всегда должна использоваться + в режиме пакетной обработки. Она игнорируется, если нет ни опции -e + ни опции -f. @@ -148,17 +185,17 @@ В некоторых системах для правильного отображения шрифтов в кодировке UTF-8 локали должны быть откомпилированы. Scilab также может быть запущен следующим образом: - LANG=ja_JP scilab - # то же, что и - scilab -l ja_JP - + -nb - Если есть эта опция, то сообщение о загрузке Scilab'а не будет отображаться. + "no banner" : Если есть эта опция, то сообщение о загрузке Scilab'а не будет отображаться. @@ -166,6 +203,7 @@ -ns + "No Startup files" : Если есть эта опция, то файл запуска SCI/etc/scilab.start и пользовательские файлы запуска SCIHOME/.scilab и SCIHOME/scilab.ini не исполняются. @@ -197,22 +235,19 @@ Если есть эта опция,то Scilab запускается как командная строка с улучшенными возможностями (графические окна, экспорт, xcos, scinotes, справочная система, ...). - - Эта опция может быть использована совместно с опциями -f и -e. - Начиная с Scilab 5.2: - Дистрибутив Scilab также предоставляет специальный бинарный файл, который - делает то же, что и -nw: scilab-adv-cli - (Интерпретатор Scilab с улучшенной командной строкой). + конвейеры доступны во всех операционных системах (см. примеры для дополнительной + информации). - конвейеры доступны во всех операционных системах (см. примеры для дополнительной - информации). + Дистрибутив Scilab также предоставляет специальный бинарный файл, который + делает то же, что и -nw: scilab-adv-cli + (Интерпретатор Scilab с улучшенной командной строкой). @@ -221,34 +256,28 @@ -nwni / -nogui + + Этот режим не загружает виртуальную машину Java (быстрее загружается и использует меньше памяти). + Если есть эта опция, то Scilab запускается как командная строка без улучшенных возможностей (графических окон, экспорта, xcos, scinotes, справочной системы, ...). - - Эта опция может использоваться совместно с опциями -f или - -e. - Начиная с Scilab 5.2: - Дистрибутив Scilab также предоставляет специальный бинарный файл, который - делает то же, что и -nwni: scilab-cli - (Интерпретатор Scilab с улучшенной командной строкой). + конвейеры доступны во всех операционных системах (см. примеры для дополнительной + информации). - - - конвейеры доступны во всех операционных системах (см. примеры для дополнительной - информации). + Дистрибутив Scilab также предоставляет специальный бинарный файл, который + делает то же, что и -nwni: scilab-cli + (Интерпретатор Scilab с улучшенной командной строкой). - - Этот режим не загружает виртуальную машину Java (быстрее загружается и использует меньше памяти. - @@ -256,18 +285,72 @@ Эта опция предназначена для TeXMacs. Пожалуйста, установите ATOMS-модуль TeXMacs: - atomsInstall('texmacs')atomsInstall('texmacs') + atomsInstall('texmacs') -version - Эта опция выводит на экран версию продукта и выходит. + Эта опция выводит на экран версию продукта. + + + Дополнительные опции для Unix/Linux и Mac OS X + Совет: используйте эти параметры в дереве исходников Scilab'а. + + + -debug + + + Запуск Scilab'а в отладчике gdb. + + + Определите переменную SCILAB_GDB_OPT для добавления + пользовательских настроек в gdb. + + + + + -debug-kdbg + + Запуск Scilab'а в kdbg. + + + + -profiling + + Запуск Scilab'а в valgrind. + + Определите переменную SCILAB_VALGRIND_OPT для + добавления пользовательских настроек в valgrind (и отмены существующих + опций valgrind). + + + + + -profiling-visu + + Запуск Scilab'а в callgrind. + + Определите переменную SCILAB_VALGRIND_OPT для + добавления пользовательских настроек в callgrind (и отмены существующих + опций callgrind). + + + + + -electric-fence + + Запуск Scilab'а в Electric Fence. + + + + + Описание переменных окружения @@ -308,6 +391,9 @@ Опции виртуальной машины Java + + Опции, описаные ниже бесполезны и будут удалены, если используется опция -nwni. + Начиная с Scilab 5.0, графический пользовательский интерфейс (GUI) и встроенная документация основаны на возможностях Java. В некоторых случаях может оказаться @@ -372,7 +458,7 @@ Примеры - debug.txt # Мы находимся в оболочке Bash export SCILAB_GDB_OPT="--command=debug.txt" # Запуск Scilab'а в режиме отладки -scilab -debug -]]> - + + 2 then exit(99) end"|scilab-cli -echo $? ]]> +echo $? ]]> Смотрите также - exit + начальный запуск - начальный запуск + sciargs + + + getpid + + + getenv + + + getversion + + + consolebox + + + exit @@ -431,7 +532,7 @@ echo $? ]]> 6.0.0 - -quit option added. -mem option removed. + Добавлена опция -quit. Опция -mem удалена. -- 1.7.9.5