Prev Next Title Contents

SPECIAL AND GENERAL PURPOSE COMMANDS


HELP

permits to general info on a specific item. HELP with no arguments gives you the list of the commands available. (H or ? can also be used).

EXIT, QUIT, or BYE

are the normal exit of the program. These commands ask you whether you want or not to keep the log file which as been built during the processing and which contains a copy of all the interactive during the session. This file is called gifa.log. On UNIX system, be careful to rename it (mv command) before rerunning Gifa otherwise the saved log file will be erased by the new log file.

^C

The control C key will abort the process in progress and bring you back to the prompt level (on VMS machine and most UNIX machines). This may sometime take a few seconds before executing the abort.

TIMER

is a context that when set to one will activate the display of elapsed and cpu time taken by every command. Useful for benchmarking.

VERBOSE and DEBUG

These 2 contexts will generate verbose output from some module in Gifa. For instance VERBOSE will detail the processing of Maximum Entropy run, of macro files, of baseline correction, etc...

REF, UNREF

The 1D and 2D display are refreshed whenever the data are changed (or when a diaplay parameter has been changed (SCALE for instance)), REF and UNREF can force this behaviour. REF sets the internal Gifa flag, telling it to refresh the display, UNREF reset this flag such that no refresh will take place. However this flag is tested at the end of each command line, so REF and UNREF are usually the last commands.

SH, Unix calls

The SH command will send its parameter to the operating system. For instance you can type :Gifa> sh "ls -l /usr/data"

You can also type SH alone, this has the effect of creating a sub process at the operating system level (csh is used ), you then get back to Gifa by loging out ( ^D on UNIX).

Using SH, several macros have been created that mimic UNIX : more, rm, ls, vi, pwd, etc... There are also two special editing command : vip will edit in your $HOME/macro directory, and vim in /usr/local/gifa/macro

CD

cd dir permits to change the current working directory to dir . Equivalent to UNIX. Note that this is very different from :

sh 'cd dir'

which actually creates a sub-process which executes cd, thus having no effect on the current job.


Prev Next Title Contents