VLAB Customization

Quick Contents
VLAB Home

Overview

There are two different ways a VLAB user can customize functionality and appearance of VLAB applications. Through environment variables and through configuration files. The VLAB configuration files are found in:

Environment Variables

$EDITOR
Used in browser and hyperbrowser with File->Open file menu. If $WINEDITOR is unspecified, then the program specified in $EDITOR is invoked as: winterm -t '$EDITOR %s' -e $EDITOR %s , where %s denotes the selected file.
$VLABBIN
Specifies where VLAB associated binaries are located.
$VLABBROWSERBIN
Specifies which command to execute when File->New browser is invoked from either browser.
$VLABCONFIGDIR
Directory where VLAB configuration files are.
$VLABDAEMONBIN
Specifies where the VLAB daemon is.
$VLABDOCDIR
Directory with VLAB documentation.
$VLABOBJECTBIN
Specifies the binary of VLAB object.
$VLABROOT
Specifies the oofs default location for browser and hyperbrowser.
$VLABTMPDIR
Specifies where VLAB stores its temporary files (e.g. for drag/drop).
$WINEDITOR
Used in browser and hyperbrowser with File->Open file menu. The command invoked is: $WINEDITOR %s where %s denotes the selected file.
$WINTERM
Used in metatext to bring up a shell when the Modify button is invoked.
Used in browser and hyperbrowser when File->Open shell is invoked.

Table 1 - Environment variables.

config Configuration Files

browser

This file contains the appearance settings you set through browser's customization dialog. For example, the file could contain the following entries:
Customization file for Browser 3.0
FontName -adobe-helvetica-bold-r-normal--17-120-100-100-p-92-iso8859-1
IconSize 41
BackgroundColor 17 17 17
LineColor 255 247 59
SelectionColor 158 97 178
TextColor 255 248 251
BoxBorderColor 0 164 0
BoxInsideColor 0 63 0
LinkColor 0 255 255
Compacting True
Dither False
LinesType Comb
ParentPosition Centered
ZoomType Customized
BoxHeight 15
BoxWidth 20
HorizontalDistance 30
BoxTextDistance 3
TextLineDistance 1
VerticalDistance 1
TextIconDistance 3
End

Figure 1 - Browser configuration file format.

object

This file is also commonly referred to as the tools file. It defines generic tools that may be used within an object's specifications file. It is described in detail in Object Manager.

rapasswords

The rapasswords file stores the following information about each user: login name, encrypted password, and file access level. This information is stored one line per account, where the fields are separated by colons. For example, the account file with three accounts could contain:

    peter:qwZ9JWBYMpS/M:n:
    dan:qwDq11qMqxuw2:y:
    guest:qwGiniA4POTqY:n:

VLAB Home

Last updated December, 2001 by Joanne Penner