Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   Getting Started
      . . .
      Invoking Epsilon
      Configuration Variables
         How Epsilon Finds its Files
         The Customization Directory
      Epsilon Command Line
      . . .

Previous   Up    Next
Configuration Variables  Getting Started   The Customization Directory


Epsilon User's Manual and Reference > Getting Started > Configuration Variables >

How Epsilon Finds its Files

Sometimes Epsilon needs to locate one of its files. For example, Epsilon needs to read an .mnu file like gui.mnu or epsilon.mnu to determine what commands go in its menu bar.

Epsilon searches for the file in each directory named by the EPSPATH configuration variable. This configuration variable should contain a list of directories, separated by semicolons (or for Unix, colons). Epsilon will then look for the file in each of these directories. Under Windows, a directory named ~ in an EPSPATH variable has a special meaning. It refers to the current user's customization directory. See the next section.

If there is no EPSPATH configuration variable, Epsilon constructs a default one. It consists of the user's customization directory, then the parent of the directory containing Epsilon's executable. For Unix, the default EPSPATH also contains the directory /usr/local/epsilonVER (where VER indicates the current version, such as 10.01).

If the name of the directory with Epsilon's executable doesn't start with bin, or its parent doesn't start with eps (they do, in a normal installation), Epsilon uses the directory containing Epsilon's executable, not its parent, in the default EPSPATH.

Some flags can change the above behavior. The -w32 flag makes Epsilon look for files in the directory containing the Epsilon executable before trying the EPSPATH. The -w8 flag keeps Epsilon from including the executable's directory or its parent in the default EPSPATH.

The EEL compiler also uses the EPSPATH environment variable. See EEL Command Line Flags.



Previous   Up    Next
Configuration Variables  Getting Started   The Customization Directory


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.