scilab-cli(1)

πŸ’– scilab-cli β€” bestie's guide to the Scilab shell πŸ’–

okay so. this is the manual page for scilab-cli, straight out of the General Commands Manual section, and honestly? it's giving "powerful but nobody told you how it works." so i'm telling you. 🫢

✨ NAME ✨

scilab, scilab-cli and scilab-adv-cli β€” it's the Scilab shell, bestie. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

scilab <arguments>

that's it. that's the whole invocation. you just throw arguments at it and hope for the best (jk, we're gonna go through every single one). πŸ’…


πŸŽ€ OPTIONS πŸŽ€

there's a complete list of options below β€” and yes, i mean complete, we are not skipping a single one, no cap. ⭐

🌈 General options 🌈

  • -args <rest> β€” soaks up all the extra arguments you throw at it and makes them available through sciargs. it's the "and everything else" bucket, iconic honestly.
  • -display <display> (or -d <display>) β€” use the given server display. this is an Xwindow-systems thing, so if you're not on X, this isn't your moment.
  • -e <instruction> β€” execute the Scilab instruction that you passed as the argument. 🫑 heads up: -e and -f are mutually exclusive β€” you pick one, not both, that's the rule.
  • -f <file> β€” execute the Scilab script you passed as the argument. same deal: -e and -f are mutually exclusive. choose your fighter.
  • -quit β€” force scilab to exit after it runs the script from the -e or -f argument. ⚠️ lowkey important: this flag gets ignored if you don't use it together with -e or -f. it doesn't do anything on its own, it's a sidekick not a main character.
  • -l <lang> β€” change the language of scilab. the default is en_US. ✨
  • -nocolor β€” strips the color out of the cli and adv-cli modes. monochrome era, i guess. πŸ’€
  • -nw β€” enable console mode.
  • -nwni (or -nogui) β€” enable terminal mode. two names, one vibe.

πŸ”₯ Developer Trace arguments πŸ”₯

  • --parse-trace β€” display bison state machine evolution. yes, the parser's whole inner monologue, on your screen. πŸ‘‘
  • --AST-trace β€” display ASCII-art AST so it's human readable. the tree, but make it art. 🌈
  • --pretty-print β€” display pretty-printed code, in standard Scilab syntax.

⏱️ Developer Timer arguments ⏱️

  • --AST-timed β€” time each AST node. every single one. clocked. πŸ’…
  • --timed β€” time the global execution.

πŸ› Developer Debug arguments πŸ›

  • --context-dump β€” display context status.
  • --exec-verbose β€” display the command before running it. narrating your own life, honestly relatable.
  • -nb β€” do not display Scilab loading on start. quiet entrance. 🧚
  • -noatomsautoload β€” do not load the ATOMS installed module.
  • --no-exec β€” only do lexing/parsing, do not execute instructions. all vibes, no consequences. πŸ™ˆ
  • -nouserstartup β€” do not execute the user startup files SCIHOME/.scilab or SCIHOME/scilab.ini.
  • -ns β€” don't execute etc/scilab.start. ⚠️ and this one comes with a warning, fr fr: it will disable many features β€” only use if you know what you are doing. bestie, if you're reading this like "wait, what's etc/scilab.start?", maybe don't. 🫢
  • --timeout <delay> β€” kill the Scilab process after the given delay. it's on a timer and it means it.

πŸ’€ Developer arguments πŸ’€

  • -debug β€” start Scilab under gdb. you can define the variable SCILAB_GDB_OPT to add custom arguments to gdb.
  • -debug-kdbg β€” start Scilab under kdbg.
  • -profiling β€” start Scilab under valgrind. you can define the variable SCILAB_VALGRIND_OPT to add custom arguments to valgrind and override the existing valgrind arguments.
  • -profiling-visu β€” start Scilab under callgrind. you can define the variable SCILAB_VALGRIND_OPT to add custom arguments to callgrind and override the existing callgrind arguments.
  • -disable-exception-catching β€” disable the Scilab exception catching system.
  • --parse-file <file> β€” only parse the given file argument, without execution, and exit. no running, just reading. πŸ‘€
  • --parse-trace β€” display bison state machine evolution. (yes bestie, it's listed again. i don't make the rules, i just keep every single detail. ✨)
  • --pretty-print β€” display pretty-printed code using standard Scilab syntax. (also a repeat. we stay faithful to the original. πŸ’–)

πŸ’œ ENVIRONMENT VARIABLES πŸ’œ

these are the little levers you can pull before scilab even wakes up:

  • SCIVERBOSE β€” provides debugging information of the startup.
  • JAVA_HOME β€” declares which Java Virtual Machine to use.
  • SCI_DISABLE_TK β€” disables Tk features. ⚠️ note the fine print: but not Tcl. Tcl stays. Tk goes.
  • SCI_JAVA_ENABLE_HEADLESS β€” runs Java Headless VM.
  • SCI_DISABLE_EXCEPTION_CATCHING β€” disable the catch by Scilab of exceptions (segfault, ...). so when things go boom, they just... boom. 😭

πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Julien Puydt for Debian. slay, Julien. πŸŽ€


and that's the whole page, bestie β€” no notes, no skips, every flag accounted for. 🌸

signing off: this was the scilab-cli(1) page from November 2017, part of the General Commands Manual. πŸ’–

πŸ“¦ where this page comes from