scilab-cli -V (return code: 1)
Error: unable to open display
Scilab version "5.5.2.1427793548"
scilab-5.5.2
scilab-cli --help (return code: 0)
Error: unable to open display
Usage:
scilab <arguments>
scilab-cli <arguments>
scilab-adv-cli <arguments>
Possible arguments are:
-display Display: for use under Xwindow systems to set a specific X server display.
-d Display : equivalent to -display Display.
-e Instruction : execute the scilab instruction given in Instruction argument.
-e and -f arguments are mutually exclusive.
-f File : execute the scilab script given in File argument.
-e and -f arguments are mutually exclusive.
-l Lang : set the current language. Lang can be equal to fr or en.
-mem N : set the initial stacksize, for use with -ns argument.
-nb : do not display Scilab loading on start.
-ns : do not execute scilab.start startup file. This argument will disable many features in Scilab (Only use if you know what you are doing).
-nouserstartup : do not execute the user startup files SCIHOME/.scilab or SCIHOME/scilab.ini.
-noatomsautoload: do not load ATOMS installed module.
-nw : start Scilab without dedicated Scilab Window.
-nwni : start Scilab without the GUI, graphic and help features (batch mode). This argument disables the need of Java.
-nogui : See -nwni
-nocolor : Remove the color in the cli and adv-cli modes
-args : accept all extra arguments and make them available through sciargs
-version : print product version and exit.
-h/--help : display help about this command.
--texmacs : reserved for TeXMacs.
Developer arguments:
-debug : Start Scilab under gdb (Unix/linux only).
define the variable SCILAB_GDB_OPT to add custom arguments to gdb.
-debug-kdbg : Start Scilab under kdbg (Unix/linux only).
-profiling : Start Scilab under valgrind (Unix/linux only).
define the variable SCILAB_VALGRIND_OPT to add custom arguments to
valgrind (and override the existing valgrind arguments).
-profiling-visu : Start Scilab under callgrind (Unix/linux only).
define the variable SCILAB_VALGRIND_OPT to add custom arguments to
callgrind (and override the existing callgrind arguments).
-disable-exception-catching : Disable Scilab exception catching system.
All these arguments can be retrieved by the Scilab function sciargs.
Several environment variables can be declared:
SCIVERBOSE Provides debugging information of the startup
JAVA_HOME Declares which Java Virtual Machine to use
SCI_DISABLE_TK Disable Tk (but not Tcl) features
SCI_JAVA_ENABLE_HEADLESS Enable Java Headless VM (ie without GUI features)
SCI_DISABLE_EXCEPTION_CATCHING Disable the catch by Scilab of exception (segfault, ...)