[Top]

2. Installing and invoking fof



2.1. Compilation

In order to compile fof, you must have the following libs installed on your system :

Fof has been developed using the glibc 1 or libc 5 under linux. Next versions will be fully glibc2 - libc 6 compliant.
For this beta release, a single linux-specific makefile is provided. Further versions will use the a portability tool.

Steps to compile fof :


2.2. Installation

There are two ways to install fof :

1) using the ./install script (the proper method)

Just type ./install and wait for the installation to proceed

By default, fof will be installed in /usr/local/bin/fof You can change the BINDIR variable in the script.

The documentation files will be in /usr/doc/fof-x.yz-status/ Change the DOCDIR variable in the script.

2) using the install rule of the makefile (the "developer" method)

Just type in the fof distribution main directory :

$ make install

By default, fof will be installed in /usr/local/bin/fof You can change the BINDIR entry in the Makefile.

The documentation files will be in /usr/doc/fof-x.yz-status/ Change the DOCDIR entry in the Makefile and the default Fof.ad resource file will be copied in you app-default directory (generally /usr/lib/X11/app-defaults)

IMPORTANT : READ THIS !

IT'S RECOMMANDED TO USE default.fofrc AS YOUR FIRST CONFIGURATION FILE :

Using a standard user account :

$ cp default.fofrc $HOME/.fofrc

2.3 Running fof

IMPORTANT : you must first check that fof is in you PATH variable. If this is not the case, you won't be able to use the multiple windows (nice) features except if you change the FofDefaultCommandLine (see the section 8 about customizing fof).

The command line is :

fof  starting-directory [-rc rcfile] [toolkit options]

By default, fof will use the $HOME/.fofrc file as config file but you can provide another config file using the -rc option.

NOTE : if the $HOME/.fofrc file doesn't exists and you don't specify another config file, the program won't start.

The toolkit options are the well known widget resource values specified on the command line (see a Xt manual).

The starting directory is the directory you want to browse, the default is the current directory.

IMPORTANT : You must specify this parameter as the FIRST option of the command line.


Last modified: Fri Nov 14 11:59:28 MET