Node:Command Line Editing, Next:, Previous:Windows Notes, Up:Release Notes and Installation Guide for Windows



Command Line Editing

Command line editing supporting Emacs-like commands and IBM PC arrow keys is provided in the console-based executable. The following commands are available:

^h
erase previous char
^d
erase next char
^u
kill line
^f
forward char
^b
backward char
^a
begin of line
^e
end of line
^p
previous line
^n
next line
^i
insert space
^s
forward search
^r
reverse search
^v
view history
^q
input next char blindly
^k
kill to end of line

Options may be specified in the file %HOME%\spcmd.ini as:

Option Value

on separate lines. Recognized options are:

lines
Value is the number of lines in the history buffer. 1-100 is accepted; the default is 30.
save
Value is either 0 (don't save or restore history buffer) or 1 (save history buffer in %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).