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
|
.TP
load [-now|-whenneeded] "\fIfilename\fP"
.br
Loads the named file to the next available slot.
If a precomputed index is found (as\c
.Q "\fIfilename\fP.jin" )
it is loaded as well.
Otherwise, an index is generated internally.
The file to be loaded (and the index, if loaded) will be loaded during
idle times. This allows a startup file to list many files to be loaded,
but not have to wait for each of them to load in turn. Using the
.Q "-now"
flag causes the load to happen immediately, while using the
.Q "-whenneeded"
option (can be shortened to
.Q "-wn" )
causes the load to happen only when the slot is first accessed.
Invoke
.I lookup
as
.nf
% lookup -writeindex \fIfilename\fP
.fi
to generate and write an index file, which will then be automatically
used in the future.
If the file has already been loaded, the file is not re-read, but the
previously-read file is shared. The new slot will, however, have its
own separate flags, prompt, filter, etc.
|