'ini' Files

Example of a CIS 'ini' file

# INI files list the environmental variables used by the CIS.
# Note that spaces (not tabs) are used as delimiters between 
# env vars and their values and that comments begin with #.
# You must edit the ip addresses, paths, filenames, usernames
# and passwords to fit the configuration of your client.

#Configuration
server_os   0                       #nt=0, unix=1, vms=2
client_os   0                       #nt/95=0, un=1, s8=3; 3.1=9
trim_config 0                       #fat=0,thin=1,java=2

#Paths to helper applications on client
acrobat    c:\Acrobat3\Reader\AcroRd32.exe
browser    c:\Program Files\NETSCAPE\Communicator\PROGRAM\netscape.exe 
chemdraw   c:\chemoffice\chemdraw\chemdraw.exe   #Delete path if not installed
excel      c:\Program Files\Microsoft Office\Office\EXCEL.EXE
raswin_dir c:\raswin\

#HTML help 
ras_manual http://www.umass.edu/microbio/rasmol/distrib/rasman.htm  #URL to Rasmol manual
trim_help  http://www.trifox.com/trimpl/index.html         # URL to Trim functions
da_help    http://xxx.xxx.xxx.xxx/dapl/index.html          # URL to DataAspects functions
devnotes   http://xxx.xxx.xxx.xxx/devnotes/devnotes.html   # URL to DataAspects functions
chemnet    http://xxx.xxx.xxx.xxx/chemnet.html             # URL to DataAspects functions

# Thin Client configuration with all help & reference files on application server
#widgets_dir  /usr2/trim/widgets/    # path to widget gif files
#cache_dir    gui!c:\daspects\cache\ # save helper files on client: pdf,dynamic html,pdb
#path         c:\daspects\cache\     # same as cache_dir, but w/o 'gui!'
#cis_dir      /usr2/trim/cis/        # path to application run files
#help_dir     /usr2/trim/help/       # path HTML help on applications
#user_dir     /usr2/trim             # user hit lists; username appended in main.trg

# Fat Client configuration with all help & reference files on client.
# Note: Do not preceed the path with gui!
widgets_dir  c:\trifox\widgets\       # path to widget gif files
cache_dir    c:\trifox\cache\         # prepend 'GUI!' in thin client athena.ini
path         c:\trifox\cache\         # path to cache for both thin & fat client
cis_dir      c:\trifox\cis\           # path to CIS run files
help_dir     c:\trifox\help\          # path to help files
user_dir     c:\trifox\cojo           # user hit lists; username appended in main.trg

# CISSERVER:  Connection to biology/inventory database
# Oracle db from outside firewall
cisserver  net:username/password@1958:xxx.xxx.xxx.xxx!/usr2/trim/bin/vtxhost.net,TRIM_HOME=/usr2/trim@@1958:xxx.xxx.xxx.xxx(%AUTH%)!/usr2/trim/bin/vtxhost.ora,ORACLE_HOME=/usr4/oracle,ORACLE_SID=A
# Oracle db from inside firewall
# cisserver  net:username/password@1958:xxx.xxx.xxx.xxx(%AUTH%)!/usr2/trim/bin/vtxhost.ora,ORACLE_HOME=/usr4/oracle,ORACLE_SID=A

# APPSERVER:  Connection to the application server
appserver net:moose@xxx.xxx.xxx.xxx(%AUTH%)!/usr2/trim/bin/vtxhost.fcp

# IMAGESERVER:  Connection to the image server
#imageserver  net:sql$database@1958:xxx.xxx.xxx.xxx(username/password)!d::\trifox\bin\vtxfcp

# CHEMSERVER:  Connection to the Daylight server
chemserver    http://www.daylight.com/   #Daylight
# chemserver  http://xxx.xxx.xxx.xxx/    #My DAYcgi

# Parameters for Daylight databases
day_parms  &datatype=SMI&dbname=cis&dbpw=cheminfo&uname=dayuser&upw=cheminfo

# Parameters for installing Mettler Balance  
balance  1            # Balance: not installed= 0;  installed= 1
port     com2         # Com port (com1, com2, com3, etc)
baud     9600         # Baud rate for com port (2400, 4800, 9600, etc)
parity   2            # Parity (0= no parity; 1= odd; 2= even; 3= mark; 4= space)
bits     8            # bits per byte (4,5,6,7, or 8)
flow     0            # flow control (0= hardware (DTR/CTS); 1= Xon/Xoff)
outfile  c:\daspects\cache\fm_bal.txt         # stores data returned from balance 
}