home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
keyboard
/
keydo.arc
/
KEYDO.DOC
< prev
Wrap
Text File
|
1987-10-30
|
2KB
|
37 lines
keydo - a simple history mechanism for MS-DOS
KEYPAD KEY OPERATION KEY OPERATION
Up Arrow Recall earlier command Dn Arrow Recall later command
Left Arrow Move cursor left 1 char. Backspace Delete prior char.
Right Arrow Move cursor right 1 char. Del Delete current char.
Ctrl-Left Move cursor left 1 word Ctrl-Home Erase to start of line
Ctrl-Right Move cursor right 1 word Ctrl-End Erase to end of line
Home Move cursor to line start Esc Erase complete line
End Move cursor to line end Ins Toggle overwrite/insert
This program is loaded as a part of the command environment in MS-DOS, and
remembers commands as they are typed. If you want to repeat a command, just
press the Up Arrow key on your keypad, and the command will appear on the
command line just as if you had typed it in again. To execute it unchanged,
press the <RETURN> key.
You can "back up" more than 1 command: pressing the Up Arrow key will recall a
previous command each time. The last 32 commands you typed are available in a
circular buffer; to go the other way use the Down Arrow key.
You can edit the recalled command before you execute it: use the Left and
Right Arrow keys to move the cursor back and forth on the line. Hold down the
Ctrl key, and the arrow keys move the cursor one "word" at a time. The Home
key moves the cursor to the beginning of the line, the End key moves it to the
end. The Del key deletes the character the cursor is sitting on, the back-
space key deletes the one before the cursor. Ctrl-Home erases from the cursor
position to the start of the line, Ctrl-End erases from the cursor to the end
of the line. You can insert new characters just by typing them. To overwrite
characters present, touch the Ins key once, then type.
You can execute the revised command at any time, with the cursor in any
position, by pressing the <RETURN> key.