# VRweb customization

## Command line arguments

`-h`, `-help`
gives a short description of possible command line arguments.

`-verbose`
turns on verbose output (incl. IPC communication); use it to locate VRweb crashes (if they should ever happen...) and include the output in the bug report

`-lang[uage] lg`
sets the language of the user interface to one of `[english|german|french|spanish|styrian]`.

PS: If you know somebody willing to translate the interface also to Italian, please drop us a short mail and I will send you the appropriate files. Your help would be much appreciated. There are no plans for supporting other languages. Please, send bug reports or information requests in English or German only.

`-URL url`
base URL for relative references (typically set via `-URL %u` in ~/.mailcap).

`-remote file`
open file in a running VRweb instance or create a new VRweb window if none found. It is not possible to redirect stdinput to a remote instance. However the optional FILE argument after all options allows this using a `-`.

`-helpDir dir`
directory where to find on-line help files. Defaults to `~/.vrweb/help`.

`-draw[mode]`
select the initial drawing mode to be one of `[wireframe|hiddenline|flat|smooth|texturing]`

`-intdraw[mode]`
selects the interactive drawing mode to be one of the list above or `same` to use the same mode during navigation too.

`-speed`
sets an (overall) speed factor for navigation

`-alphaplanes`
inquire visual with alpha-bitplanes. Note that transparent materials are only shown when blending is turned on (display option "anti-aliased lines") and will look wrong if polygons do not happen to be ordered from back to front. A correct implementation is in progress.

`-mesabackbuf`
selects the backbuffer for Mesa to be one of `[pixmap|image|auto]`. Pixmap transfers each drawing command immediately to the XServer. Image causes all drawings to be made into an XImage, which is transfered to the XServer when complete; shared memory usage (only available when displayed locally) makes this transfer fast. The default setting auto uses image for shaded views and pixmap for wireframes.

`-singlebuf`
turns off double buffering for 3D renderings. Usually slower than double buffering. OpenGL however may provide a X-visual with greater depth.

`-indirect`
render OpenGL through X-server (slower).

`-mosaic`
use mosaic for anchor requests and on-line help (else netscape).

The following command line options are common to all InterViews applications:

`-bg background`, `-fg foreground`, `-flat col`
select the color for background, foreground and flat GUI elements respectively. Specify colors with symbolic names (white, green etc.) or hexadecimal RGB values: `#RRGGBB`.

`-font fn`
selects the font.

`-display dis`
the display where VRweb should be shown. Normally determined by environment variable $DISPLAY.

`-visual vClass`
selects the visual class. Valid settings are: PseudoColor, TrueColor, DirectColor, StaticGray, GrayScale, StaticColor. Normally VRweb uses the default visual to avoid color map flashing ("technicolor").

`-visual_id 0xID`
selects a visual id for the window. See xdpyinfo for visual-ids available on your XServer.

`-dbuf`, `-nodbuf`
turns on (default) or off (less memory usage) double buffering for GUI elements.

`-sgimotif`, `-motif`, `-openlook`
selects the GUI style to be SGI-like Motif (default), "normal" Motif or OpenLook.

`-xrm '*attribute:value'`
specifies an arbitrary Xattribute on commandline.

## X-Attributes

VRweb follows the naming scheme of Xdefaults for the Harmony Hyper-G client. The place of VRweb in the resource hierarchy is

`Harmony.Scene`

Please refer to file `SceneViewer.ad` in the UNIX distribution of VRweb, for a list of Xattributes recognized by VRweb and their default values.

Back to overview.