KEYS - Enable or disable the history list
Purpose: Enable, disable, or display the history list.
Format: KEYS [ON | OFF | LIST]
See also: HISTORY.
Usage
This command is provided for compatibility with the KEYS command in
CMD.EXE, which controls the history list in OS/2. The same functions are
available by setting the HistMin directive in the .INI file, and by using
the HISTORY command.
The history list collects the commands you type for later recall,
editing, and viewing. You can view the contents of the list through the
history list window or by typing any of the following commands:
[c:\] history
[c:\] history /p
[c:\] keys list
The first command displays the entire history list. The second displays
the entire list and pauses at the end of each full screen. The third
command produces the same output as the first, except that each line is
numbered.
You can disable the collection and storage of commands in the history
list by typing:
[c:\] keys off
You can turn the history back on with the command:
[c:\] keys on
If you issue the KEYS command without any parameters, CMD.EXE will show
you the current status of the history list.
KEYS also affects the way CMD.EXE reads input from the keyboard. KEYS
OFF will force CMD.EXE into line input mode; KEYS ON will return input to
the usual character by character method. See the LineInput directive, or
the /L option of the SETDOS command, for details on line input mode.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs