Technical internal aspects about how uman() works
uman
scans SCI/contrib/*, SCIHOME/contrib/*, and all
paths/* set as Paths to external modules out of ~/contrib
parameter in the uman Preferences. It then sets the list of all ./jar/*.jar
archives found, and for each, identifies the name of the related modules
(as basename of the *.start files), and the related languages.
This inventory is performed
pattern
to determine whether it is about an item of Scilab, or of an ATOMS module
(and then which one), or of an external resource in an Scilab forge or of
the Scilab FileExchange or elsewhere, or if it's an alias or redirection.
In this later case, the true target and its reference (module's name, URL, etc)
are determined.
Using the "x" option changes some priorities in this algorithm.
Details of the algorithm can be found in the code, starting at the label
"SEARCHING FOR THE RIGHT HELP TARGET".
SCIHOME/uman
subdirectory used as a cache. Forthcoming calls of uman for the same item will
then use the page in cache (unless the "r" option is used).
To be correctly parsed for documentation, the minimal setup of a registered module (ATOMS or others) is as follows:
scilab_##_##_help.jar
standard help zipped archives
(as built by the Scilab documentation builder), where
##_##
stands for each supported language
(one file per language).That's all. Additional subdirectories may exist but are ignored by uman.
uman
can't be used in naked console
mode for MS Windows releases: UTF8 characteres are badly rendered. Please see
the bug report #10748).
uman
can't display correctly Right-to-Left languages in
the console.
"g"
option needs first to close it (by hand ; no way by code).
See the bug report #12889
The following resources are considered:
If the pattern or its possible alias is not found in these resources, other registered uninstalled external resources are scanned against it, namely:
pattern
,
a message inviting to use the "w" option -- or even the actual pattern --
is displayed in the console.When the unique and final item is a...
Version | Description |
3.0 | 2019-08-22
|
2.1 | 2016-10-30 : 19 references added. |
2.0 | 2016-04-06 : 22 references added. |
1.4 | 2015-07-31 : 10 references added. |
1.3 | 2015-07-12 : 20 references added. |
1.2 | 2015-06-06 : Code ready for Scilab 6. |
1.0 | 2015-03-22 : First release |