Skip to main content.
Index | Support | Documentation | FAQ

My PC connects via DHCP and I want to alter my Premvet defaults.

DHCP can be used to setup your Windows PC networking to 'talk' to the Unix box, this means you don't have to setup each PC manually. Once DHCP is running all PC will pick up their own IP address and can be used straight away.

Normally DHCP will allocate the first free IP address (if you need fixed IP addresses configured please contact support).
Premvet will give you a basic set of 'defaults' e.g. Default printers, surgery number etc. (See the FAQ How do I alter my terminal settings for details) for the terminal/device you are connecting from. For IP devices this will be the wildcard ttyp* entry in master.dev e.g.

/dev/ttyp*   99 3 ABC  1  0  ftp/telnet 

Set this to reflect the common options.

If the 'common' options don't suit your needs you can change some of the options so they are unique to you.

Create the file user.tcf in your home directory, this will be read by Premvet at startup and can be used to specify any personal defaults.

Currently the defaults you can change are:

M_Style Sets the menu style to be used
 0 Classic menus
 1 Box menus, classic options
 2 Box menus, new style options
BDSPRT The three character printer string
PVLOC Location

If you set either BDSPRT or PVLOC these should be 'exported' so the vet system knows about them e.g. here is a sample user.tcf file:

# New look menu boxes but classic options
M_Style = 1

# Let people know when I lock a screen
PVLOC="Toms Laptop" ; export PVLOC