4#define LONG_OPTION_RETURN 13
7#ifndef FE_OPT_STRUCTURE
51#if defined(ESINGULAR) || defined(TSINGULAR)
55 "EMACS",
"Use EMACS as emacs program to run Singular",
feOptString, 0, 0},
58 "DIR",
"Use DIR as directory to look for emacs lisp files",
feOptString, 0, 0},
61 "FILE",
"Load FILE on emacs start-up, instead of default",
feOptString, 0, 0},
64 "XTERM",
"Use XTERM as terminal program to run Singular",
feOptString, 0, 0},
68 "PROG",
"Start PROG as Singular program within emacs",
feOptString, 0, 0},
71 0,
"Do not start program. Print call to stdout",
feOptBool, 0, 0},
75 0,
"Run in batch mode (requires --link/--MPhost/--MPport)",
feOptBool, 0, 0},
78 "STRING",
"Execute STRING on start-up",
feOptString, 0, 0},
81 0,
"Enable source code debugger (experimental)",
feOptBool, 0, 0},
84 "VAL",
"Set value of variable `echo' to (integer) VAL",
feOptInt, 0, 0},
90 0,
"Collect profiling data in smon.out",
feOptBool, 0, 0},
92 0,
"Do not print start-up banner and lib load messages",
feOptBool, 0, 0},
94 0,
"// Sort NTL results",
feOptBool, 0, 0},
97 "SEED",
"Seed random generator with (integer) SEED",
feOptInt, 0, 0},
100 0,
"Do not redefine the terminal characteristics",
feOptBool, 0, 0},
103 "STRING",
"Return STRING on `system(\"--user-option\")'",
feOptString, 0, 0},
106 0,
"Print extended version and configuration info",
feOptUntyped, 0, 0},
110 0,
"Allow one to fetch (html) help pages from the net",
feOptBool, 0, 0},
113 "BROWSER",
"Display help in BROWSER (see help.cnf)",
feOptString, 0, 0},
116 "CHAR",
"Automatic answer for CTRL-C prompt",
feOptString, 0, 0},
119 0,
"Set defaults for running within emacs",
feOptBool, 0, 0},
122 "LOGFILE",
"Log all input to LOGFILE.*",
feOptString, 0, 0},
125 0,
"Do not load `standard.lib' on start-up",
feOptBool, 0, 0},
128 0,
"Do not execute `.singularrc' file(s) on start-up",
feOptBool, 0, 0},
131 0,
"Do not display warning messages",
feOptBool, 0, 0},
134 0,
"Suppress all output",
feOptBool, 0, 0},
137 0,
"Restricted mode: prohibit shell escape commands and links",
feOptBool, 0, 0},
140 "SECS",
"Do not display times smaller than SECS (in seconds)",
feOptString, (
void*)
"0.5", 0},
143 "#CPUs",
"maximal number of CPUs to use",
feOptInt, (
void*)2, 0},
146 "#threads",
"maximal number of CPUs to use for threads",
feOptInt, (
void*)2, 0},
149 "#flintthreads",
"maximal number of threads to use in flint library",
feOptInt, (
void*)1, 0},
152 "PORT",
"Use PORT number for connections",
feOptString, 0, 0},
155 "HOST",
"Use HOST for connections",
feOptString, 0, 0},
158 "LINK",
"Use LINK for connections",
feOptString, 0, 0},
161 "TICKS",
"Sets unit of timer to TICKS per second",
feOptInt, (
void*)1, 0},
164 0,
"Display the version-tuple and exit",
feOptUntyped, 0, 0},
EXTERN_VAR struct fe_option feOptSpec[]
#define LONG_OPTION_RETURN
#define required_argument
#define optional_argument