Go to the source code of this file.
◆ FE_OPT_STRUCTURE
◆ feGetOptIndex() [1/2]
Definition at line 101 of file feOpt.cc.
struct fe_option feOptSpec[]
char name(const Variable &v)
◆ feGetOptIndex() [2/2]
Definition at line 114 of file feOpt.cc.
struct fe_option feOptSpec[]
#define LONG_OPTION_RETURN
◆ feOptAction()
Definition at line 198 of file feOpt.cc.
247 if (si_echo < 0 || si_echo > 9)
248 return "argument of option is not in valid range 0..9";
284 case FE_OPT_MIN_TIME:
287 if (
mintime <= 0)
return "invalid float argument";
295 case FE_OPT_TICKS_PER_SEC:
297 int ticks = (int) ((
long)(
feOptSpec[FE_OPT_TICKS_PER_SEC].
value));
299 return "integer argument must be larger than 0";
304 case FE_OPT_DUMP_VERSIONTUPLE:
const char * feHelpBrowser(char *which, int warn)
const CanonicalForm int s
char *(* fe_fgets_stdin)(const char *pr, char *s, int size)
void factoryseed(int s)
random seed initializer
static char * feResource(feResourceConfig config, int warn)
char * fe_fgets(const char *pr, char *s, int size)
char * fe_fgets_dummy(const char *, char *, int)
void feOptDumpVersionTuple(void)
void SetTimerResolution(int res)
struct fe_option feOptSpec[]
void SetMinDisplayTime(double mtime)
void feOptHelp(const char *name)
◆ feOptDumpVersionTuple()
void feOptDumpVersionTuple |
( |
void |
| ) |
|
◆ feOptHelp()
void feOptHelp |
( |
const char * |
name | ) |
|
Definition at line 351 of file feOpt.cc.
355 #if defined(ESINGULAR) 356 printf(
"ESingular starts up Singular within emacs;\n");
357 #elif defined(TSINGULAR) 358 printf(
"TSingular starts up Singular within a terminal window;\n");
360 printf(
"Singular is a Computer Algebra System (CAS) for Polynomial Computations.\n");
361 printf(
"Usage: %s [options] [file1 [file2 ...]]\n",
name);
362 printf(
"Options:\n");
379 printf(
" %c%c --%-20s %s\n",
387 printf(
" %c%c --%-20s %s\n",
397 printf(
"\nFor more information, type `help;' from within Singular or visit\n");
398 printf(
"http://www.singular.uni-kl.de or consult the\n");
399 printf(
"Singular manual (available as on-line info or html manual).\n");
struct fe_option feOptSpec[]
char name(const Variable &v)
#define LONG_OPTION_RETURN
◆ fePrintOptValues()
void fePrintOptValues |
( |
| ) |
|
Definition at line 316 of file feOpt.cc.
struct fe_option feOptSpec[]
char name(const Variable &v)
◆ feSetOptValue() [1/2]
Definition at line 150 of file feOpt.cc.
162 if (errno)
return "invalid integer argument";
static const char * feOptAction(feOptIndex opt)
struct fe_option feOptSpec[]
◆ feSetOptValue() [2/2]
Definition at line 184 of file feOpt.cc.
191 return "option value needs to be an integer";
static const char * feOptAction(feOptIndex opt)
struct fe_option feOptSpec[]
◆ SHORT_OPTS_STRING
const char SHORT_OPTS_STRING[] = "bdhpqstvxec:r:u:" |