UP and DOWN ARROWS recall commands; 
ESC clears command line; 
F7 displays command history;
ALT+F7 clears command history;
F8 searches command history;
F9 selects a command by number; 
ALT+F10 clears macro definitions.