4.4 Command Line Editing

Command line editing supporting Emacs-like commands and IBM PC arrow keys is provided in the windowed executable (spwin.exe). 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 ~/spcmd4.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 25.

save

Value is either 0 (don’t save or restore history buffer) or 1 (save history buffer in ~/spcmd4.hst on exit, restore history from the same file on start-up).


Send feedback on this subject.