Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
John P. Willis
freem
Commits
c973887d
Commit
c973887d
authored
Jul 01, 2022
by
John P. Willis
Browse files
Documentation updates and more ZNOSTAND checks
parent
3753917f
Pipeline
#757
passed with stage
in 1 minute and 28 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
177 additions
and
46 deletions
+177
-46
doc/freem.texi
doc/freem.texi
+150
-42
src/mumps.c
src/mumps.c
+3
-2
src/xecline.c
src/xecline.c
+24
-2
No files found.
doc/freem.texi
View file @
c973887d
This diff is collapsed.
Click to expand it.
src/mumps.c
View file @
c973887d
...
...
@@ -769,12 +769,13 @@ void freem_usage(void)
fprintf
(
stdout
,
"
\t
-n <NAMESPACE>, --namespace=<NAMESPACE>
\n\t\t
selects <NAMESPACE> as the startup namespace instead of USER
\n\n
"
);
fprintf
(
stdout
,
"
\t
-q, --quiet
\n\t\t
disables startup messages and prompt string
\n\n
"
);
fprintf
(
stdout
,
"
\t
-r <LABEL^ROUTINE>, --routine=<LABEL^ROUTINE>
\n\t\t
execute <LABEL^ROUTINE> on startup instead of entering direct mode
\n\n
"
);
fprintf
(
stdout
,
"
\t
-s, --standard
\n\t\t
restrict access to FreeM vendor extensions not present in relevant standards
\n\n
"
);
fprintf
(
stdout
,
"
\t
-s, --standard
\n\t\t
restrict access to FreeM vendor extensions not present in relevant standards
*
\n\n
"
);
fprintf
(
stdout
,
"
\t
-v, --version
\n\t\t
display FreeM version information
\n\n
"
);
fprintf
(
stdout
,
"
\t
-x <MCODE>, --execute=<MCODE>
\n\t\t
execute M code <MCODE> on startup
\n\n
"
);
fprintf
(
stdout
,
"
\t
-d, --daemon
\n\t\t
run the FreeM daemon (one FreeM daemon must always be running)
\n\n
"
);
fprintf
(
stdout
,
"
\t
-k, --nofork
\n\t\t
run the FreeM daemon in foreground (requires --daemon)
\n\n
"
);
fprintf
(
stdout
,
"
\t
-p <PIDFILE>, --pidfile=<PIDFILE>
\n\t\t
use <PIDFILE> to record the PID of the FreeM daemon
\n\n
"
);
fprintf
(
stdout
,
"
\t
-p <PIDFILE>, --pidfile=<PIDFILE>
\n\t\t
use <PIDFILE> to record the PID of the FreeM daemon
\n\n\n
"
);
fprintf
(
stdout
,
"
\t
* FreeM attempts to conform (at least loosely) to the Millennium Draft Standard when this mode is selected.
\n\n\n
"
);
fprintf
(
stdout
,
"Report bugs to: freem-bugs@coherent-logic.com
\n
"
);
fprintf
(
stdout
,
"FreeM home page: <https://freem.coherent-logic.com>
\n\n
"
);
...
...
src/xecline.c
View file @
c973887d
...
...
@@ -423,7 +423,15 @@ next0:
goto
err
;
}
if
(
ch
==
'@'
)
goto
do_xecute
;
if
(
ch
==
'@'
)
{
if
(
!
standard
)
{
goto
do_xecute
;
}
else
{
ierr
=
NOSTAND
;
goto
err
;
}
}
if
(
ch
==
'!'
)
{
/* UNIXCALL */
...
...
@@ -837,6 +845,11 @@ again:
char
mapping_obj
[
256
];
char
mapping_ns
[
256
];
char
tmp_key
[
256
];
if
(
standard
)
{
ierr
=
NOSTAND
;
goto
err
;
}
expr
(
NAME
);
...
...
@@ -888,6 +901,11 @@ again:
char
mapping_obj
[
256
];
char
tmp_data
[
256
];
char
tmp_key
[
256
];
if
(
standard
)
{
ierr
=
NOSTAND
;
goto
err
;
}
expr
(
NAME
);
...
...
@@ -2618,7 +2636,11 @@ s_end:
break
;
case
OO_USING
:
write_m
(
"using
\r\n\201
"
);
if
(
standard
)
{
ierr
=
NOSTAND
;
goto
err
;
}
break
;
case
OO_WITH
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment