Using GPSManTopProgramsConfiguration

Configuration

A lot of parameters may be configured in the GPSMan main file gpsman.tcl, most of which are also defined in the preferences file.

GPSMan needs a user directory to keep both the preferences file and other files for user definitions (like user-defined projections). The path to this directory and the name of the preferences file are given at the beginning of gpsman.tcl. When GPSMan is launched and does not find the user directory, it either attempts to create it, or (in non-Unix systems) asks for it to be created and leaves. If the preferences file does not exist, it forces it to be created.

Therefore the configuration in gpsman.tcl only sets the defaults that will be presented at that time, as well as the values for parameters not set in the preferences file.

Users wanting to load their own Tcl/Tk code (at their own risk!) can do so by putting it in a file named patch.tcl in the GPSMan user directory. This file will be loaded immediately after all the GPSMan source files.

If GPSMan has been installed from the Debian or Slackware packages no changes are mandatory. Otherwise, on Unix systems the information on the program source files directory, user directory and default preferences file must be correctly set. A default serial port device can be defined and will be used if no argument is passed to the main program.

On other systems the same applies to the information on the serial port.


GPSMan User Manual
©Miguel Filgueiras, mig_at_ncc.up.pt, DCC-FC & LIACC, Universidade do Porto, 2002

Using GPSManTopProgramsConfiguration