24.3 Command history in the shell

The Shell tool is another example of a tool which is based on an editor, and thus many of the keys available in the editor are also available in the Shell tool.

Like the Listener, the Shell tool is run in execute mode, which means that several additional keystrokes are available in EMACS emulation, as follows:

    Press Meta+P or Ctrl+C Ctrl+P to display the previous command entered in the shell.

    Press Meta+N or Ctrl+C Ctrl+N to display the next command in the history.

    Press Meta+R or Ctrl+C Ctrl+R to perform a search of the command history.

Common LispWorks User Guide (Unix version) - 21 Feb 2008