The forms and commands typed at previous prompts are stored in the history list of the Listener. It is so named because it records all the forms and commands you have typed into the Listener. Many other command line systems have a similar concept of a history. Each form or command in the history is known as an event .
You can obtain a list of up to the last ten events in the history by displaying the History > Items menu. To bring a previous event to the prompt, choose it from this menu.
For more information about history lists in the LispWorks IDE, see The history list.
LispWorks IDE User Guide (Unix version) - 13 Sep 2017