Environment Options

To tailor the UnitedChart clients, various environments options are provided. There are two ways to set environment options:

Environment variables
Environment variables are kept by the operating system. To set an environment variable on non-NT Windows systems, edit the autoexec.bat and add lines of the form set VAR=setting, then reboot the PC. On Windows NT the environment variables are set with the user administration tool. Example: set BANANA=yellow

File environment
Environment settings also can be placed in the file ls.env located in the base directory of the system. Unlike environment variables, which operate on a single PC, the file environment works on all computers using the system. To set the file environment, edit the file ls.env and add lines of the form VAR=setting (the initial set is not needed). The changes do not take effect until the software is restarted. Lines beginning with ;, # or // are considered comments. Example: BANANA=yellow

Precedence
If an environment option is set using both methods, then the environment variable takes precedence over the file environment (with exceptions). This allows overriding of the global setting on specific PCs.

Available Environment Options

Example ls.env Environment File
;
; ls.env: example environment file
; Last update 01/01/2000
;
LSQUICKVIEW=h:\apps\util\qv\program\qvp32.exe -dt -ds
LSMSWORD=h:\apps\ms\office95\winword\winword.exe
LSMSVIEW=h:\apps\ms\wdview71\wordview.exe
LSAREALOCAL=205
CLINBRANDNAME=cap
; CLINSIZE=18
; LSICONS=n
; LSWINDOW=rep

Notes
Environment variables are supported on most operating systems. The file environment is supported on all operating systems. The Windows registry only works on computers running Microsoft Windows, is workstation not server based, and is extremely hard for users to modify. Due to lack of portability, its proprietary nature, complexity, and end user punishment, the Windows registry is not used.


Last update 05/16/00