DOKK / manpages / debian 11 / gap-core / gap.1.en
GAP(1) User Commands GAP(1)

GAP - Groups, Algorithms and Programming

gap [OPTIONS] [FILES]

GAP is a system for computational discrete algebra, with particular emphasis on Computational Group Theory. GAP provides a programming language, a library of thousands of functions implementing algebraic algorithms written in the GAP language as well as large data libraries of algebraic objects. GAP is used in research and teaching for studying groups and their representations, rings, vector spaces, algebras, combinatorial structures, and more.

print this help and exit
disable/enable the banner
enable/disable quiet mode
disable/enable quitting on <ctr>-D
force line editing
prevent line editing
disable/enable use of readline library (if possible)
<num> set line width
<num> set number of lines
show GASMAN messages (full/all/no garbage collections)
<mem> set the initial workspace size
<mem> set workspace size where GAP will warn about excessive memory usage (GAP may allocate more)
set maximal workspace size (GAP never allocates more)
<mem> set the initially mapped virtual memory
<mem> set amount to pre-malloc-ate postfix 'k' = *1024, 'm' = *1024*1024, 'g' = *1024*1024*1024
<paths> set the GAP root paths Directories are separated using ';'. Putting ';' on the start/end of list appends directories to the end/start of existing list of root paths
disable/enable user GAP root dir GAPInfo.UserGapRoot
disable/enable autoloading of suggested GAP packages
<name> current architecture
enable/disable debugging the loading of files
disable/enable loading of compiled modules
do not use hidden implications
disable/enable loading of obsolete files
disable/enable break loop and error traceback
always print error traceback (overrides behaviour of -T)
quit GAP with non-zero return value instead of entering break loop
<file> restore a saved workspace
prevent restoring of workspace (ignoring -L)
enable/disable package output mode
<file> Run ProfileLineByLine(<filename>) on GAP start
<file> Run ProfileLineByLine(<filename>) with recordMem := true on GAP start
<file> Run CoverageLineByLine(<filename>) on GAP start
Disable the GAP read-evaluate-print loop (REPL)
Start GAP in non-interactive mode (disable read-evaluate-print loop (REPL) and\
break loop)
Attempt to start GAP without even needed packages (developer tool)
<expr> execute the given expression
Boolean options toggle the current value each time they are called. Default actions are indicated first.

The GAP Group <http://www.gap-system.org>


Copyright (1988--2020) by its authors.


GAP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

gac(1) update-gap-workspace(1)

You can read the complete manual in /usr/share/gap/doc or you can use the online help system. Type ?help inside GAP to access it. Type

?Reference: options!under UNIX

to access the full documentation of options.

May 2020 The GAP team