next up previous contents
Next: 3.6 Start-up Summary Up: 3. Installing PaPCo Previous: 3.4 papco_setup.pro

Subsections

   
3.5 papco_configure.pro

This program is a startup widget which is part of PaPCo core. As PaPCo is a configurable package, the user can choose which modules he wants to start PaPCo with. In addition, such a configuration of modules can be saved and previous configuration can be loaded. You can also edit the papco_include_addins.pro file from this widget (see 3.3.3).

This widget is shown in Figure 3.1 and is called when PaPCo is initialized with the papco_setup.pro batch file. The current (or last) installation of PaPCo is always reported by this widget and can then be modified. The modified configuration then becomes the current configuration.

This widget always reports all the modules that are currently included in the PaPCo distribution. The user has the option of adding further modules from any other location. By default, additional modules are assumed to be in papco_user_XX\papco_user_modules.


  
Figure 3.1: PaPCo Configuration Widget
\begin{figure}
\begin{center}
\leavevmode
\epsfig{file=papco_startup.ps, width=12.7cm}
\end{center}\end{figure}

3.5.0.1 Load/Save PaPCo configuration

The first part of the configuration widget uses the PaPCo file widget to load or save PaPCo configurations. By default the configuration files are stored in your papco_user_XX directory. You can type in a configuration file name or use the Browse button to choose one. Configuration files have the default extension .papco_config. Once a file has been specified you can either save the current configuration to it or load the stored configuration from it. The .papco_config have exactly the same structure as the papco_include_modules.pro file (see 3.3.2).

3.5.0.2 Enter PaPCo addins

This button calls up a simple editor to edit the papco_include_addins.profile (see 3.3.3).

3.5.0.3 Standard Modules

The first set of buttons show all the modules that were part of the PaPCo distribution and that reside under papco_XX\papco_modules. Click any combination of them as needed.

3.5.0.4 User Modules

Here the user can ``Add'', ``Remove'' or ``Edit'' further modules which reside elsewhere.

To add a new module use the ``Add'' button which brings up the widget shown in Figure 3.2.


  
Figure 3.2: PaPCo Add User Module Widget
\begin{figure}
\begin{center}
\leavevmode
\epsfig{file=papco_startup_add.ps, width=15cm}
\end{center}\end{figure}

The module paths can either be typed in explicitly or browsed for with the standard IDL file choose widget, accessed through the ``Browse'' button. The last part of the module path chosen is automatically used as the module name for the list (you can override this). Once a path has been typed or chosen it is added to the list using the ``Set'' button.

N.B. The ``Browse'' function does not operate properly under Windows95 as IDL for Windows95 uses the standard Windows95 file choose widget, which does not return paths only. You need to type in the path manually.

By default, additional modules are assumed to be in papco_user_XX\papco_user_modules. However, you can define any path you want.

3.5.0.5 Startup Mode

The startup mode selects the ``compile'' or ``restore'' mode as explained in Section 3.3.4. The ``restore'' option becomes unavailable whenever the module configuration has been altered, or if no papco_routines.save file exists under the papco_user_XX directory.

Further, you can set the compilation of PaPCo to proceed ``quietly' or 'verbosely''. For quiet, no compile message are output. Use this only once you know that your installation of PaPCo compiles without problems, as you will not be warned about any compilation errors!

The include Add-Ins choice allows you to either include or skip the Add-In batch file on startup.

3.5.0.6 Action Buttons

``Exit & Stop Config'' exits the configure widget and stops the compilation process.

``Old Config & Go on'' ignores any changes you might have made and proceeds with compilation with the previous configuration.

`` New Config & Go on'' compiles with your new configuration settings and makes all changes required so that the new configuration is ``remembered'' for the next startup.


next up previous contents
Next: 3.6 Start-up Summary Up: 3. Installing PaPCo Previous: 3.4 papco_setup.pro
Reiner Friedel
1999-02-03