|
We save our previous page's script to a file, say code
, and
insert it into the library with this command line:
texis -ci -module lookfeel code
This checks in (inserts) the script into the library as the
module lookfeel
, copying it from the file code
. We are
prompted for a log message since we didn't enter one on the command
line; enter any descriptive message and end it with a ".
" on
a line by itself:
shell> texis -ci -module lookfeel code
Enter log message, terminated with single '.':
>> Look and feel functions
>> .
Checked in and unlocked module lookfeel:1.1 from file code
|
Vortex tells us that the module was checked in, and unlocked
(more about that later). The script source code was inserted into
the library (the SYSLIB
and SYSDEP
tables in the
default database. We can now delete the code
file if we wish:
it can always be retrieved from the library again.
Listing the library
We can list what modules are in the library with the -listlib
option:
shell> texis -listlib
Module:Revision Created Locked
-------------------------------------------
lookfeel:1.1 1999-12-02 11:20
|
We see our module lookfeel
and its latest (only) revision, 1.1.
The creation date is given, and if the module were locked, that would
be shown in the Locked
column (more on that later).
Now let's use our module in a script (next page):
|