Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
freem freem
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • John P. Willis
  • freemfreem
  • Wiki
  • FreeM Invocation

Last edited by John P. Willis Mar 02, 2020
Page history

FreeM Invocation

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
Clone repository
  • Build Instructions
  • Coding Standards
  • Conditions for Public Release
  • FreeM Commands
  • FreeM Intrinsic Functions
  • FreeM Intrinsic Special Variables
  • FreeM Invocation
  • Implementation Limits
  • Namespace Management
  • The FreeM REPL
  • User Defined Z Functions
  • VIEW Commands and Functions
  • [Historic] C2M Specification
  • [Historic] Change Log
  • [Historic] Compiling with LCC on Windows NT
View All Pages