1GAP(1) User Commands GAP(1)
2
3
4
6 gap - Run the Groups, Algorithms and Programming system
7
9 gap [OPTIONS] [FILES]
10
12 GAP is a system for computational discrete algebra, with particular
13 emphasis on Computational Group Theory. GAP provides a programming
14 language, a library of thousands of functions implementing algebraic
15 algorithms written in the GAP language as well as large data libraries
16 of algebraic objects. GAP is used in research and teaching for study‐
17 ing groups and their representations, rings, vector spaces, algebras,
18 combinatorial structures, and more.
19
21 Boolean options (b, e, p, q, r, A, D, M, N, O, T, X, and Y) toggle the
22 current value each time they are used. Default actions are indicated
23 first.
24
25 MEM options indicate a number of bytes. Larger units are indicated
26 with trailing characters: 'k' for kilobytes, m for megabytes, and g for
27 gigabytes. For example, '512k' means 512 kilobytes.
28
29 -a MEM Set the amount of preallocated space.
30
31 -b Disable/enable the banner.
32
33 -c MEM Set the cache size.
34
35 -e Disable/enable quitting on Ctrl-D.
36
37 -f Force line editing.
38
39 -g Show GASMAN messages. If this option is given once, then full
40 garbage collections are shown. If it is given twice, all
41 garbage collections are shown.
42
43 -h Print a help message and exit.
44
45 -i FILE
46 Load an alternate init file.
47
48 -l PATHS
49 Set the GAP root paths. A leading semicolon means to append
50 PATHS to the existing list of root paths. A trailing semicolon
51 means to prepend PATHS. Otherwise, the list of root paths is
52 replaced with PATHS.
53
54 -m MEM Set the initial workspace size.
55
56 -n Prevent line editing.
57
58 -o MEM Set the hint for the maximal workspace size. GAP may allocate
59 more.
60
61 -p Enable/disable emitting extra commands to the output to tell a
62 window handler what GAP is doing.
63
64 -q Enable/disable quiet mode.
65
66 -r Disable/enable reading of the .gaprc file.
67
68 -x NUM Set the window width to NUM columns.
69
70 -y NUM Set the window height to NUM rows.
71
72 -A Disable/enable autoloading of GAP packages.
73
74 -B NAME
75 Set the name of the current architecture.
76
77 -C <output> <input> <name>
78 Compile an input file with the given name into an output file.
79
80 -D Enable/disable debugging the loading of library files.
81
82 -K MEM Set the maximal workspace size. GAP never allocates more.
83
84 -L FILE
85 Restore a saved workspace.
86
87 -M Disable/enable loading of compiled modules.
88
89 -N Disable/enable check for completion files.
90
91 -O Enable/disable compatibility with GAP 3, by causing false and
92 fail to be the same value.
93
94 -R Prevent restoring of workspace (causes -L to be ignored).
95
96 -T Disable/enable break loop.
97
98 -U OPTIONS
99 Set the compile options for compiling GAP files.
100
101 -X Enable/disable CRC while reading completion.
102
103 -Y Enable/disable CRC while completing files.
104
106 gac(1), update-gap-workspace(1)
107
108
109
110GAP 4.11.1 GAP(1)