Generic Invocation
When built from source, the mumps
binary will be in the bin
subdirectory of the repository. You must navigate to said directory and run ./mumps
from there.
When running ./mumps
with no command-line arguments, FreeM will execute the ^%SYS
routine, located in ../mlib/^%SYS.m
. This routine will initialize the default namespace, or prompt you to create a new namespace if none currently exists:
$ ./mumps
This system has no namespace defined.
Do you want to create a namespace? <Y>
Name ..........: USER
Ok to create? <Y>
Done.
Full Screen Editor installed.
To use the editor enter: X ^%E
For more setup options please use the ^%SYSGEN Utility
FreeM 0.1.6
Copyright (C) 2014, 2020 Coherent Logic Development LLC
Copyright (C) 1998 MUG Deutschland
CURRENT NAMESPACE: USER
USER>
Executing Another Routine on Startup
If you wish to execute a routine other than ^%SYS
on FreeM startup, you may pass the -r
or --routine
command-line argument to mumps
. The following example would run ^ZU
:
$ mumps --routine=^ZU
Other Options
Option | Purpose |
---|---|
-h, --hardcopy | Enables hardcopy mode |
-f, --filter | Allows your MUMPS routine (in conjunction with --routine ) to function as a UNIX filter |
-s, --standard | Restricts use of non-standard language features, including $Z intrinsic special variables and intrinsic functions, Z commands, VIEW and $VIEW |
-i, --import | Causes your UNIX environment variables to be imported into FreeM's local symbol table |