home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
r
/
rekey20.zip
/
REKEY.DOC
< prev
Wrap
Text File
|
1993-02-12
|
7KB
|
178 lines
**** Rekey ****
Command Line Recall/Function Key Programmer
Version 2.0 - by Robert Palmer
========================================================================
WHAT IS Rekey?
------------
Rekey is a program designed to help you at the DOS prompt. It installs
in memory as a TSR program, allowing you to perform the following
functions:
1. Edit commands you type on the command line.
2. Recall previous commands with the touch of a cursor key.
3. Select from a list of past commands from a window.
4. Enter commonly used commands with a single function key.
5. Assign your own commands to a function key.
6. Customize the function key commands and save them permanently.
Once you start using Rekey, you'll wonder how you ever got along
without it.
INSTALLING Rekey
----------------
Install Rekey by simply copying Rekey.COM to your DOS boot disk or to
your hard disk. On a hard disk, copy the program to the root
directory, or to a directory included in the PATH statement in your
AUTOEXEC.BAT file.
To use the program, simply enter the command: Rekey <Enter> at the DOS
prompt. You can add this command to your AUTOEXEC.BAT file to
automatically load Rekey when you boot up.
COMPATIBILITY WITH OTHER UTILITIES
----------------------------------
Rekey uses some DOS interrupts and can clash with other
memory-resident utilities, especially keyboard enhancers such as
SMARTKEY. If you load it before such utilities, there shouldn't be any
problem.
COPYRIGHT, ETC
--------------
Rekey is SHARWARE and the source code will remain the property of Robert Palmer
This Version can be used free for 10 days, then you must register by
sending $5.00 to
Robert Palmer
P.O. BOX 173
East Meridith, NY 13806
(607)746-7874 Voice
DISTRIBUTION
-----------
You may distribute Rekey freely and unmodified and complete with the files
REKEY.COM Main program
REKEY.DOC Program documentation
COMMANDS
--------
Note: Rekey is only active at the DOS prompt.
Windows - Some notes about how windows are controlled.
. When the window is opened and the command Rekey is
showing, the current command is highlighted.
. Rekey only opens a window if PGUP or PGDN is pressed.
This saves having windows flashing around the screen
when you know where the command you want is.
. If a window is displayed (using PGUP or PGDN) and the
other key is pressed (PGDN or PGUP respectively) then
the window content is swapped.
. Although up to 80 characters of commands are stored, to
save space on the screen, only the first 32 characters
of commands are displayed in the window.
Cursor Pad Keys
Up - Select the preceding command and display it at the
DOS prompt. If the window is open, select the correct
command list to display and highlight the command.
Press <Enter> to carry out the highlighted command.
Down - Select the next command and display it at the DOS
prompt. If the window is open, select the correct
command list to display and highlight the command.
PGUP - Open a window and display the command Rekey.
PGDN - Open a window and display the commands for the
function keys. Several useful commands are
pre-programmed, but can be changed to suit
your needs. To execute the command, press the
appropriate function key.
HOME - Move the cursor to the left of the command line.
END - Move the cursor to the right of the command line.
DEL - Delete the character at the cursor.
INS - Toggle insert mode. Insert on is indicated by a block-
shaped cursor
Backspace- Delete the character to the left of the cursor
ESC - Clear the command line and close the window.
TAB - Delete the currently highlighted command from the Rekey.
Fn - Issue the command associated with that function key.
Shift-Fn You can't issue the command associated with a function
key using the highlight bar - you must press the
function key. The function keys that can be programmed
in this way are F1 to F10 and Shift-F1 to Shift-F5.
Ctrl-Fn - Copy the current command to this function key. Ctrl-F1
to Ctrl-F10 copy to the corresponding function key,
Alt-F1 to Alt-F5 copy to Shift-F1 to Shift-F5
respectively. If Rekey is currently in insert mode (i.e.,
you pressed INS and the block cursor is showing), then NO
carriage return is added to the end. This means that when
you use that function key you can add some more to the end
before pressing Return/Enter. If insert mode is off, then
a carriage return is added to the end and the command will
be executed as soon as you press the function key.
Ctrl-END - Modify Rekey.COM by writing the current (i.e. in-memory)
definitions of the function keys to Rekey.COM. The memory
copy of Rekey expects Rekey.COM to be located in the
current drive and directory. If it isn't, you'll get a
cryptic error message on the command line (it isn't placed
in the DOS buffer so just type over the error message).
^ - The caret (^) can be used to concatenate several commands on one
line; for example CD \WS^WS^CD \ changes to the WS directory,
runs WS, then returns to the root directory. This command can be
used to replace small batch files.
Programming Function Keys and Saving to Rekey
--------------------------------------------
Example 1
--------
run REKEY
at the C: prompt type the command that you want saved
C:\>dir/p then press return when the C: prompt returns press
CTRL and F1 then CTRL and END the command DIR/P will be saved to REKEY
as F1
Example 2
--------
C:\> cd\pctools^desktop ENTER
it will change directory to PCTOOLS and run DESKTOP
after exiting DESKTOP press CTRL and F2 then CTRL and END
CD\PCTOOLS^DESKTOP will be saved as F2
I know it seems alittle harder doing it this way but it will insure no
that no errors in saving the functions etc.
Updates
------
09 Febuary 1993
Problem with window not poping up on some 286+ Computers with
VGA Graphics fixed, I hope!
Rekey.DOC