Command line editing supporting Emacs-like commands and IBM PC arrow keys is provided in the console-based executable. The following commands are available:
Options may be specified in the file %HOME%\spcmd.ini as:
     Option Value
     
on separate lines. Recognized options are:
lines
     save
     %HOME%\spcmd.hst on exit, restore
history from the same file on start up. 
The command line editing is switched off by giving the option
-nocmd when starting SICStus.  Command line editing will be
automatically turned off if SICStus is run with piped input
(e.g. from Emacs).