There are two kinds of profile files for exaEdit:
exaEdit finds its installation profile via environment variable, in this case called
EXAEDITIP
To test whether this environment variable exists and which value it has, you may use the Unix command
echo $EXAEDITIP
and in Windows systems you apply the command
set exaeditip
If the value of EXAEDITIP begins with the character `-', it means that there is no profile file.
But if the environment variable EXAEDITIP does not exist at all, exaEdit uses the file .exaeditip in the directory exaEdit has been called from. If this file does not exist, exaEdit works without the installation profile.
You create the private profile file on your own when you need it. The file is called
.exaeditpp
and is searched for by exaEdit in the directory from which exaEdit has been called. If this file does not exist there, exaEdit searches for it in the HOME directory. If there is no such file either, exaEdit works without a private profile.
exaEdit finds the home directory in Unix systems via the environment variable HOME, in Windows systems via the two environment variables HOMEDRIVE and HOMEPATH. The values of these you may determine as described above with the commands echo or set.
exaEdit first processes the installation profile and then the private one, which allows you to override commands defined in the installation profile you do not like with your own corresponding commands in your private profile.
A useful example for an entry in the profile file is the command
cmdsep ,
which changes the command separator for the concatenation of
exaEdit commands from `;
' to `,
'.
This change is
an advantage if the character `;
' can be only
produced with the help of the shift key and, in
opposition to this, the character `,
' can be typed
without the shift key.
When exaEdit gets started and looks for the profile files in different ways (as explained above), the program stores the current situation without informing you directly: the processing of the profile is supposed to happen noiseless. However, you can inform yourself whenever you want during the exaEdit session how the profiles work at the start of exaEdit. You receive this information by calling the command
profile ?
The messages exaEdit presents are supposed to explain themselves. A short version of the actions exaEdit generally tries is available with the command
help profilex
profilex is only a help text, not a command. The functions of the command PROFILE are described further down.
Some of the preferences for exaEdit are workfile specific, e.g. the width of the number area you set with the command SKEY. You can always put such a command in a exaEdit profile, so it is executed every time when exaEdit is started. But if you then open an additional workfile the command SKEY works with its standard preference again. To make sure the exaEdit profile is acknowledged in those cases, too, you can precede exaEdit command lines in the profile with
!
delete all
With the command profile and suitable parameters you can
When doing so, you can specify whether you want all lines to be processed, or only the ones beginning with an exclamation mark. Details on how you have to use the command profile to achieve this can be found by typing help profile or at the extensive description of all exaEdit commands in section The Commands in Detail.
As already mentioned at the appropriate places, the commands of the profile file are executed before the loading of the file or when creating a new workfile. But sometimes it may be an advantage to have a record of exaEdit command executed at any time. This is possible; not with a exaEdit profile but with the exaEdit command EXEC.