08.06.2013 Views

Bernese GPS Software Version 5.0 - Bernese GNSS Software

Bernese GPS Software Version 5.0 - Bernese GNSS Software

Bernese GPS Software Version 5.0 - Bernese GNSS Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

18. The Menu System<br />

18.2 Starting the Menu System<br />

The entire menu system consists of the following parts:<br />

(1) The single executable file is called menu.exe on Windows platforms or menu on UNIX<br />

platforms).<br />

(2) Menu-related input files define the configuration of the menu system:<br />

${U}/PAN/MENU.INP is the primary menu input file and its name has to be specified<br />

when starting the menu system (see below). The paths<br />

to the remaining input files are specified in this primary<br />

file.<br />

${X}/PAN/MENU CMP.INP contains the list of campaigns and it is common to all users<br />

(see Sections 3.1).<br />

${U}/PAN/MENU EXT.INP defines the paths and extensions for the <strong>Bernese</strong> file types<br />

(see Section 18.4.2).<br />

${U}/PAN/MENU PGM.INP assigns the <strong>Bernese</strong> Fortran programs to the menu items<br />

(see Section 18.4.3).<br />

${U}/PAN/MENU VAR.INP manages the menu variables (see Section 18.5).<br />

(3) The program-specific input files are located in the user-specific directory ${U}/PAN. To<br />

each <strong>Bernese</strong> main program corresponds exactly one input file (default extension INP)<br />

with the same name. A detailed description of the file format is given in Section 18.9.2.<br />

(4) Help files in html format are located in ${X}/HLP (default extension HLP). They have<br />

the same names as the input files.<br />

Before starting the menu the <strong>Bernese</strong> environment has to be loaded. On UNIX platforms<br />

this is done by sourcing the file ${X}/EXE/LOAD<strong>GPS</strong>.setvar (which may be done by the<br />

login script). On Windows platforms the environment variables are defined in the registry<br />

by the installation procedure (Windows NT, 2000, XP), or they have to be loaded at boot<br />

time via the file C:\BSW50env.bat (Windows 9x).<br />

To start the menu program on Windows platforms click on the <strong>Bernese</strong> <strong>GPS</strong> <strong>Software</strong> icon.<br />

Internally the name of the executable file (menu.exe) and the primary input file MENU.INP<br />

as the parameter is specified:<br />

C:> %XQ%\menu %U%\PAN\MENU.INP<br />

On UNIX platforms we start the executable (menu) indirectly using the shell scriptmenu.sh.<br />

It ensures that the environment variable ${QTDIR} is set to the correct version of the QTlibrary.<br />

The primary menu input file is a parameter, too:<br />

> $XQ/menu.sh $U/PAN/MENU.INP<br />

You may simply typeGon the command line to start the menu. The shell script${X}/EXE/G<br />

is prepared for performing this task. (${X}/EXE is added to the ${PATH} when the <strong>Bernese</strong><br />

environment is loaded). In both cases the <strong>Bernese</strong> menu window appears as shown in Figure<br />

18.1 . To leave the menu use ”Menu>Configure>Quit”.<br />

Page 356 AIUB

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!