[Navigation]

Configuration: Unix files

Certain aspects of the PremVet Software are controlled by some configuration files. Specifically:

  • Where the Programs are located
  • Where the Data is located
  • If there is a Idexx VetTest machine connected.

    This section of the manual will explain what configuration files are used and what they can contain:

    /etc/default/vet3000

    This is the main config file, it is a standard text file and contains:

    # Main Premvet script to set startup variables
    
    VETSYS=/v/vetdata       # Where are the main data files located
    SOURCE=/u/source        # Where the Programs live
    
    # VETTEST=/dev/tty0100     # Location of vet test machine
    # WebServer=""          # Where is the Web Server
    
    The options in this file are:
    VETSYS=
    The location of the main premvet 5 data files
    SOURCE=
    Where the programs are, if left blank this will default to /u/source
    VETTEST=
    Optional - If there is an IDEXX machine connected - What port is it connected to.
    WebServer=
    Optional - By default the help sub-system will use the Web Server on the Unix host the software is installed on. You can specify another machine using the WebServer option. If you are using the basic host version or an early version of OSR5 that does not have a Web Server set this option to null e.g. WebServer="", if you are using an enterprise version of OSR5 but have not yet configured it use WebServer="localhost".
    M_Style=2
    Optional - Switches the system over to use new style menus.
    Mapchan=No
    Optional - Stops Premvet resetting the character codeset on startup if you are configured for the euro.

    /etc/rc2.d/S88bds

    This is a program that is run every time the system is brought into multiuser mode. Its purpose is to:

    /etc/default/bds_init

    This file is used to set any global variables for use within the Vet Software. It is 'sourced' from /etc/profile so will always be loaded. Currently, it contains one line:

    O_TTY=`tty` ; export O_TTY
    
    Which is used to handle logins on Stallion Virtual Screens.

    Multiple Copies of Premvet 5

    The normal startup program is /usr/local/bin/vet. If the user wants to run multiple copies of the software there are two ways of doing so:

    If you are using the system with two live sets of data BOTH with a generic login (e.g. vet and play) - you may need to use the command switch vet -E to ensure that users using the 2nd generic account are asked for a vet system password.


    Top Classic New-Style Chapters Sections Index Search