To launch GAMGI, just type
gamgi on a shell window and press
Return.
GAMGI can also be launched with an unlimited number of command line parameters,
each one naming a GAMGI XML file, for example,
gamgi file1.xml file2.xml.
These files are automatically imported, in the order they were typed
(
file1.xml first, then
file2.xml, etc.), exactly as if the files
had been imported in the same sequence, one by one, after launching GAMGI,
using
File Import.
This is particularly useful to configure GAMGI automatically, immediately after
it starts, by reading configuration information from a file. For example, adding
the line
alias gamgi='gamgi $HOME/gamgi/defaults.xml' to the file
$HOME/.bashrc, prompts GAMGI to read
$HOME/gamgi/defaults.xml
everytime it starts, providing a simple, flexible way to initialize GAMGI with the
user preferences indicated in
defaults.xml. Launching GAMGI by typing
gamgi data.xml will result in: 1) GAMGI starts; 2) GAMGI imports
$HOME/gamgi/defaults.xml; 3) GAMGI imports
data.xml.
GAMGI supports HTTP 1.0/1.1 and anonymous FTP (PASV) protocols (the most recent),
so file.xml can be a local file, as
/home/user/local_file.xml or
../directory/local_file.xml, or a remote file, such as
http://website/remote_file.xml or
ftp://ftp_server/pub/remote_file.xml.
When an error is found in a file, GAMGI shows a message describing the
problem and ignores the file. The downstream files (not red yet), are
also ignored.