Redirecting an image means that when the image starts it actually causes another image to start. The idea is that you save your sessions and redirect the release image, so that starting LispWorks from the link in /usr/bin or other shortcut will actually start the saved session.
Only the installation image redirects, or images that were saved from it by using save-image
with the -build
command line argument. Images that were re-saved using the -init
command line argument do not redirect.
Redirection occurs automatically when the default saved session is not the LispWorks Release. The default saved session can be set by Works > Tools > Saved Sessions... > Saved Sessions > Set As Default . It is marked by * in the list. It is possible to make the process of saving a session set the default saved session to the newly saved session by selecting it under Options: in the Save Session dialog, described in The Save Session dialog and actual saving.
When the redirection switch is on, when the installation image starts it redirects to the default saved session. It does it after processing the command line arguments (including -build
, -load
and -eval
), but before loading any initialization file (whether the default or those that are passed by -siteinit
or -init
). It passes all the command line arguments to the saved session, followed by few other arguments. Note that this means that if you start a redirected image with command line arguments, it will process the arguments, redirect and then the redirected image will process the arguments too.
Passing the command line argument -lw-no-redirection
prevents the redirection.
LispWorks IDE User Guide (Unix version) - 13 Sep 2017