home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
e
/
etde19.zip
/
TDECFG.DOC
< prev
next >
Wrap
Text File
|
1992-06-05
|
6KB
|
163 lines
tdecfg
a configuration utility for
tde, version 1.5
April 1, 1992
Frank Davis
Usage:
If you would like to customize tde to suit your tastes, you may
use this program to change the colors, key definitions, default
modes, help screen, and permanent macros.
At the command line type:
tdecfg
tdecfg prompts you for the tde executable file name. The default
file name is tde.exe, but if you like to shorten executable file
names (I rename tde.exe to t.exe. That way, I only have to type
t to edit a file.) you may enter that file name at the prompt.
Option 1. Change Colors
Function Keys:
F2 = Load default colors
This function changes the colors back to the original color
scheme used by the distribution version of tde.
F3 = Quit
Abandons any changes made in the color scheme.
F10 = Write colors to tde.exe
Stores the new color scheme in the tde executable file. tde will
use the new color scheme each time a file is edited.
ESC = Quit
Option 2. Redefine keys
Function Keys:
F3 = Quit
Abandons any changes made in the key definition list.
F5 = Change Function
Brings up a window of available functions. Currently, 184 keys
are recognized as function keys by tde. There are no
restrictions on what function you may assign or reassign to a
key. You may assign a key to the null function, seen as "* *
*". A key assigned to the null function no longer performs any
editor function.
Press <Enter> to reassign the hilited key to the hilited
function. Press <ESC> to quit the function, no changes are made.
An asterisk is placed beside all keys that have been redefined.
Note: See the list of available functions with definitions at
end of tde.doc.
F6 = Assign Character
Any function key not assigned to any editor function returns the
character assigned to it. Unassigned function keys have '* * *'
in the function column.
F7 = Print to file
Print the current key assignments to a file.
F8 = Print to printer
Print the current key assignments to the printer.
F10 = Write Changes
When you press this key, all function key assignments are written
to the tde executable file. The changes are permanent until you
redefine the keys.
When you redefine the keys, you should also change the help
screen to show what functions are assigned to what keys.
ESC = Quit
No changes are written to the tde executable file.
Option 3. Install new help screen
Function keys:
none
This utility assumes that you have already created or modified a
file that contains the image of the new help screen. Sample.hlp
is included with the distribution files to show you what the
initial help screen looks like. You may modify the sample help
screen or copy it to a new file and make the changes in the new
file. By choosing option 1, the configuration utility prompts
for the file name with the help screen image. The changes are
written to the tde executable file.
If you enter a file name that doesn't exist, the configuration
utility sorta gracefully exits this function. I didn't do
anything fancy with this option. You can't press ESC to quit
out; however, if you decide you want to quit, just enter a
fictitious or outrageous file name. A harmless error message
with be displayed and you may continue with the configuration
utility having made no changes to the tde executable file.
Option 4. Set Default Editor Modes
Function Keys:
F3 = Quit
Abandons any changes made to the default modes.
F10 = Save and Quit
When you press this key, the default editor modes are written to
the tde executable file. The changes are permanent until you
redefine the modes.
ESC = Quit
Option 5. Install permanent macros
Function keys:
none
This utility assumes that you have already created a macro
definition file. The only way to create a macro definition file
is to use the "save macro" function in tde.exe. Once you have
created your favorite, most useful macros, just save them to a
macro file and make them permanent by saving the macro file in
tde.exe.
If you enter a file name that doesn't exist, the configuration
utility sorta gracefully exits this function. I didn't do
anything fancy with this option. You can't press ESC to quit
out; however, if you decide you want to quit, just enter a
fictitious or outrageous file name. A harmless error message
with be displayed and you may continue with the configuration
utility having made no changes to the tde executable file.
Option 6. Read in a function key configuration file
Function keys:
none
This option reads a file containing the configuration information
(see the enclosed ETDE.CFG) and configures the keys
automatically. In case of error, a message is displayed pointing
out the offending statement.