/usr/share/doc/uim/UIM-SH is in uim 1:1.8.6+gh20180114.64e3173-2build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | uim-sh
======
uim provides an interactive shell for debugging, batch processing and
serving as generic inferior process.
Usage
-----
----------------------------------------------------------------
uim-sh [options] [file [arg ...]]
-b
--batch batch mode. suppress shell prompts
-B
--strict-batch strict batch mode, implies -b. suppress shell prompts
and evaluated results
-r <name>
--require-module <name> require module
--editline require editline module for Emacs-like line editing
-e <expr>
--expression <expr> evaluate <expr> (after loading the file, and disables
'main' procedure of it)
-V
--version show software version
-h
--help show this help
file absolute path or relative to system scm directory
arg ... string argument(s) for 'main' procedure of the file
----------------------------------------------------------------
Examples
--------
----------------------------------------------------------------
$ uim-sh
uim> (car '(foo bar))
foo
uim> #f
()
uim> #t
1
uim> (not #t)
()
uim> ^D
$
----------------------------------------------------------------
Debugging with Emacs
--------------------
1. Add following form to your .emacs
(setq scheme-program-name "uim-sh")
2. M-x run-scheme
3. You can edit and evaluate any sexps using libuim's Scheme
interpreter
|