The following environment variables are used by all XicTools programs.
XicTools programs will in some cases, such as when popping up a shell window, look for a Cygwin program. If the Cygwin program binaries (.exe files) are located in /bin or /cygwin/bin on the current disk drive, they will be found automatically. Otherwise, this variable can be set to the Windows path, including a drive letter if necessary, to the directory containing the Cygwin binaries. This is not necessarily the path one perceives from within Cygwin, since the XicTools programs do not know about the Cygwin mount points or symbolic links. The path is the one that would be seen from a DOS box, with forward or reverse slash directory separators.
It is possible to run Xic and WRspice without a license server, and to run XicII/Xiv from a license server. The status is set with the environment variable XT_AUTH_MODE. This variable has meaning if set to one of the keywords ``Server'' or ``Local''
If set to ``Server'', XicII and Xiv will validate through a license server the same way as Xic and WRspice normally do. If set to ``Local'', Xic and WRspice will be self-validating the way XicII normally is.
Xic and/or WRspice users on a single licensed workstation may prefer to set the environment variable in their shell startup file and not use the external license server.
When the programs look for the LICENSE file in ``Local'' mode, if the file is not found in the startup or license directories, the programs will look in the home and current directories, in that order, unless XT_LICENSE_PATH is also set.
If the program is started with the XT_SYSTEM_MALLOC environment variable set, then the program will use the standard memory manager provided by the operating system.
The following paragraphs describe the environment variables which are relevant to Xic only.
If the geometry has been specified, Xic will use it to position and size the main window (if the window manager permits this). The geometry specification, used to define window size and position, is a string in the form
widthxheight+xoff+yoffwhere width, height, xoff, and yoff are numbers representing screen pixels. The ``x'' or ``X'' between the width and height is literal. A plus sign `+' or minus sign `-' must appear ahead of xoff and yoff.
Under other operating systems, the home directory is well-defined and is obtained from operating system calls.
Under Windows, if Xic finds itself in the C: \ directory on startup, it will change the working directory to the home directory. This is the default when starting from the Windows Start Menu or otherwise from an icon, unless the icon property is changed.
setenv XIC_EXIT_CMD "/usr/games/fortune -o"may print a rude limerick on some installations. This feature may have less frivolous uses, however.
The internal default values for the paths assume that the installation location is the standard place under /usr/local, or if the XT_PREFIX variable is set, that value will be taken instead of ``/usr/local''.