574c352
.TH "GAP" "1" "@VERSION@" "GAP" "User Commands"
574c352
.SH "NAME"
574c352
gap \- Run the Groups, Algorithms and Programming system
574c352
.SH "SYNOPSIS"
574c352
.B gap
574c352
[\fIOPTIONS\fP] [\fIFILES\fP]
574c352
.SH "DESCRIPTION"
574c352
.PP
574c352
GAP is a system for computational discrete algebra, with particular emphasis
574c352
on Computational Group Theory.  GAP provides a programming language, a library
574c352
of thousands of functions implementing algebraic algorithms written in the GAP
574c352
language as well as large data libraries of algebraic objects.  GAP is used in
574c352
research and teaching for studying groups and their representations, rings,
574c352
vector spaces, algebras, combinatorial structures, and more.
574c352
.SH "OPTIONS"
574c352
Boolean options (b, e, p, q, r, A, D, M, N, O, T, X, and Y) toggle the current
574c352
value each time they are used.  Default actions are indicated first.
574c352
.PP
574c352
MEM options indicate a number of bytes.  Larger units are indicated with
574c352
trailing characters: 'k' for kilobytes, m for megabytes, and g for gigabytes.
574c352
For example, '512k' means 512 kilobytes.
574c352
.TP
574c352
\fB\-a\fP \fIMEM\fP
574c352
Set the amount of preallocated space.
574c352
.TP
574c352
\fB\-b\fP
574c352
Disable/enable the banner.
574c352
.TP
574c352
\fB\-c\fP \fIMEM\fP
574c352
Set the cache size.
574c352
.TP
574c352
\fB\-e\fP
574c352
Disable/enable quitting on Ctrl-D.
574c352
.TP
574c352
\fB\-f\fP
574c352
Force line editing.
574c352
.TP
574c352
\fB\-g\fP
574c352
Show GASMAN messages.  If this option is given once, then full garbage
574c352
collections are shown.  If it is given twice, all garbage collections are
574c352
shown.
574c352
.TP
574c352
\fB\-h\fP
574c352
Print a help message and exit.
574c352
.TP
574c352
\fB\-i\fP \fIFILE\fP
574c352
Load an alternate init file.
574c352
.TP
574c352
\fB\-l\fP \fIPATHS\fP
574c352
Set the GAP root paths.  A leading semicolon means to append PATHS to the
574c352
existing list of root paths.  A trailing semicolon means to prepend PATHS.
574c352
Otherwise, the list of root paths is replaced with PATHS.
574c352
.TP
574c352
\fB\-m\fP \fIMEM\fP
574c352
Set the initial workspace size.
574c352
.TP
574c352
\fB\-n\fP
574c352
Prevent line editing.
574c352
.TP
574c352
\fB\-o\fP \fIMEM\fP
574c352
Set the hint for the maximal workspace size.  GAP may allocate more.
574c352
.TP
574c352
\fB\-p\fP
574c352
Enable/disable emitting extra commands to the output to tell a window handler
574c352
what GAP is doing.
574c352
.TP
574c352
\fB\-q\fP
574c352
Enable/disable quiet mode.
574c352
.TP
574c352
\fB\-r\fP
574c352
Disable/enable reading of the .gaprc file.
574c352
.TP
574c352
\fB\-x\fP \fINUM\fP
574c352
Set the window width to NUM columns.
574c352
.TP
574c352
\fB\-y\fP \fINUM\fP
574c352
Set the window height to NUM rows.
574c352
.TP
574c352
\fB\-A\fP
574c352
Disable/enable autoloading of GAP packages.
574c352
.TP
574c352
\fB\-B\fP \fINAME\fP
574c352
Set the name of the current architecture.
574c352
.TP
574c352
\fB\-C\fP \fI<output>\fP \fI<input>\fP \fI<name>\fP
574c352
Compile an input file with the given name into an output file.
574c352
.TP
574c352
\fB\-D\fP
574c352
Enable/disable debugging the loading of library files.
574c352
.TP
574c352
\fB\-K\fP \fIMEM\fP
574c352
Set the maximal workspace size.  GAP never allocates more.
574c352
.TP
574c352
\fB\-L\fP \fIFILE\fP
574c352
Restore a saved workspace.
574c352
.TP
574c352
\fB\-M\fP
574c352
Disable/enable loading of compiled modules.
574c352
.TP
574c352
\fB\-N\fP
574c352
Disable/enable check for completion files.
574c352
.TP
574c352
\fB\-O\fP
574c352
Enable/disable compatibility with GAP 3, by causing false and fail to be the
574c352
same value.
574c352
.TP
574c352
\fB\-R\fP
574c352
Prevent restoring of workspace (causes -L to be ignored).
574c352
.TP
574c352
\fB\-T\fP
574c352
Disable/enable break loop.
574c352
.TP
574c352
\fB\-U\fP \fIOPTIONS\fP
574c352
Set the compile options for compiling GAP files.
574c352
.TP
574c352
\fB\-X\fP
574c352
Enable/disable CRC while reading completion.
574c352
.TP
574c352
\fB\-Y\fP
574c352
Enable/disable CRC while completing files.
574c352
.SH "SEE ALSO"
574c352
.PP
574c352
\fIgac\fP(1), \fIupdate-gap-workspace\fP(1)