<left>

Contents->HOWTO

This page has an online version which may contain updated information:

- http://wolfpack.twu.net/Endeavour2/help/howto.html

1. Using Endeavour Mark II Applications & Utils - How to set up and use Endeavour Mark II applications and utilities
2. Uninstall - How to uninstall Endeavour Mark II
3. Other Languages - How to compile Endeavour Mark II for other (non-English) languages
4. Command Line Recycle - How to set up recycling (and recovering and purging) objects from the command line

See also; FAQ

### Using Endeavour Mark II Applications & Utils

Endeavour Mark II comes with a set of applications and utilities located in

- `/usr/lib/endeavour2/bin/`

Note that third party applications and utilities written for Endeavour Mark II may also be installed in the same above location.

Some of these programs are graphical (uses GTK) and other are simple command line programs. You can run each of them from a terminal to see what it does (none of the programs do anything destructive or dangerous when runned without arguments so it is safe to test them that way).

For the graphical applications you can create a short cut to run the application. For example to create a short cut to `hedit` (HEdit, the Endeavour Mark II Hex Editor) you can use the following information when creating the short cut:

- Name: HEdit
- Command: /usr/lib/endeavour2/bin/hedit
- Icon: /usr/share/endeavour2/icons/icon_edit_48x48.xpm

For command line programs you have several options, the recommented method is to create a link in:

- /usr/bin/

(since that location is usually covered by the `PATH` environment variable) That points to the command line program in:

- /usr/lib/endeavour2/bin/

For example, to run be able to run `download.front` (the Endeavour Mark II Download front end) from the command line you need to create a link:

- /usr/bin/download -> /usr/lib/endeavour2/bin/download.front

So from now on you can download something from a terminal's command line by typing:

- `download http://wolfpack.twu.net/users/wolfpack/file.tgz`

###### Back to the top

### Uninstall

To uninstall Endeavour Mark II globally, delete:

- `/usr/lib/endeavour2/` - Endeavour Mark II Global Front End/Utility Programs and Libraries
- `/usr/share/endeavour2/` - Endeavour Mark II Global Help Pages, Configuration, Icons, Images, and Data Files
- `/usr/share/icons/endeavour2*.xpm` - Endeavour Mark II Icons
- `/usr/man/man1/endeavour2.1.bz2` - Endeavour Mark II Manual Page
- `/usr/bin/endeavour2-config` - Endeavour Mark II API Library Configurator
- `/usr/bin/endeavour2` - Endeavour Mark II Program

To uninstall Endeavour Mark II locally, delete:

- `$HOME/.endeavour2/` - Endeavour Mark II Local Configuration, Recycled Objects, Logs, and Data Files

###### Back to the top

### Other Languages

To compile Endeavour Mark II in another (non-English) language:

1. Obtain the Endeavour Mark II source (if you no longer have it around).
2. Edit the file:
   - `$TOPLEVEL/endeavour2/config.h`
3. Uncomment one (and only one) of the definations (the `#define`s) of `PROG_LANGUAGE_*` (near the beginning of the file) to correspond to the language that you want to compile for, example:
   - `#define PROG_LANGUAGE_FRENCH 3`
4. Save the file and exit.

Now follow the instructions in the `INSTALL` file and compile the program as you normally would.

###### Back to the top

### Command Line Recycle

To set up recycling, recovering, and purging objects from the command line:

1. Obtain the Endeavour Mark II source (if you no longer have it around).
2. Go to the Endeavour Mark II source directory:
   - `$TOPLEVEL/endeavour2/lib/demos`
3. Compile the demos, run:
   - `make clean`
   - `make all`
4. Type `su` to gain root priviledges and run:
   - `make install`
   to install the demos in:
   - `/usr/lib/endeavour/bin`
5. Type `su` to gain root priviledges and create the links:
   - `/usr/bin/recycle` -> `/usr/lib/endeavour/bin/recycle`
   - `/usr/bin/purge` -> `/usr/lib/endeavour/bin/purge`
   - `/usr/bin/recover` -> `/usr/lib/endeavour/bin/recover`
   - `/usr/bin/rls` -> `/usr/lib/endeavour/bin/rls`

Now you can recycle objects from the command line by typing:

- `recycle <object>`

In addition you can purge, recover, and list recycled objects with the following commands:

- `purge <index>`
- `recover <index> <destination_file>`
- `rls`

###### Back to the top

######

Endeavour Mark II is Copyright © 1997-2004 WolfPack Entertainment

</left>