version 1.7, 2025/04/17 17:57:35
|
version 1.10, 2025/04/28 14:52:54
|
Line 38
|
Line 38
|
.\" along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
.\" along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
.\" |
.\" |
.\" $Log$ |
.\" $Log$ |
|
.\" Revision 1.10 2025/04/28 14:52:54 snw |
|
.\" Temporarily revert global handler refactor and fix reference regression in xecline |
|
.\" |
|
.\" Revision 1.9 2025/04/18 22:12:29 snw |
|
.\" Fix texinfo bogosity and add subjects to man pages |
|
.\" |
|
.\" Revision 1.8 2025/04/18 01:23:05 snw |
|
.\" More documentation updates |
|
.\" |
.\" Revision 1.7 2025/04/17 17:57:35 snw |
.\" Revision 1.7 2025/04/17 17:57:35 snw |
.\" Major updates to man pages |
.\" Major updates to man pages |
.\" |
.\" |
Line 53
|
Line 62
|
.\" |
.\" |
.TH freem 1 "3 April 2025" FreeM "FreeM User Manual" |
.TH freem 1 "3 April 2025" FreeM "FreeM User Manual" |
.SH NAME |
.SH NAME |
freem |
freem - FreeM programming language interpreter |
.SH SYNOPSIS |
.SH SYNOPSIS |
.B freem [OPTION...] |
.B freem [OPTION...] |
.SH DESCRIPTION |
.SH DESCRIPTION |
Line 69 After years of dormancy, the FreeM proje
|
Line 78 After years of dormancy, the FreeM proje
|
|
|
More information is available at https://freem.coherent-logic.com/ |
More information is available at https://freem.coherent-logic.com/ |
|
|
Please see the FreeM texinfo documentation for language, database, and administration details ("info freem"). |
Please see the FreeM |
|
\fIinfo\fR documentation for language, database, and administration details. |
.SH OPTIONS |
.SH OPTIONS |
.TP |
.TP |
\-h, --help |
\-h, --help |
Line 206 See the
|
Line 216 See the
|
Display FreeM version information |
Display FreeM version information |
.TP |
.TP |
\-x <MCODE>, --execute=<MCODE> |
\-x <MCODE>, --execute=<MCODE> |
Execute M code <MCODE> on startup |
Execute M code |
|
\fI<MCODE>\fR on startup |
.TP |
.TP |
\-d, --daemon |
\-d, --daemon |
Run the FreeM daemon (one and only one FreeM daemon must always be running for each configured environment) |
Run the FreeM daemon (one and only one FreeM daemon must always be running for each configured environment) |
.TP |
.TP |
\-k, --nofork |
\-k, --nofork |
Run the FreeM daemon in foreground (requires --daemon) |
Run the FreeM daemon in foreground (requires |
|
\fI--daemon\fR) |
.TP |
.TP |
\-S <BYTES>, --shmsize=<BYTES> |
\-S <BYTES>, --shmsize=<BYTES> |
Sets the size of the shared memory segment where FreeM stores the job table, lock table, and IPC table. |
Sets the size of the shared memory segment where FreeM stores the job table, lock table, and IPC table. |
Line 224 Returns 0 for non-error condition.
|
Line 236 Returns 0 for non-error condition.
|
.SH FILES |
.SH FILES |
.TP |
.TP |
env.conf |
env.conf |
The FreeM environment catalog. Normally located in $PREFIX/etc/freem/env.conf |
The FreeM environment catalog. Normally located in |
|
\fI$PREFIX/etc/freem/env.conf\fR |
.TP |
.TP |
freem.conf |
freem.conf |
The FreeM configuration file. Normally located in $PREFIX/etc/freem/<environment-name>/freem.conf. |
The FreeM configuration file. Normally located in |
|
\fI$PREFIX/etc/freem/<environment-name>/freem.conf\fR |
.SH ENVIRONMENT |
.SH ENVIRONMENT |
.TP |
.TP |
$DISPLAY |
$DISPLAY |
Determines the value of the $PDISPLAY intrinsic special variable. This determines the X11 display used by the M Windowing API. Only applies when FreeM is built with the '--enable-mwapi' configuration option. |
Determines the value of the |
|
\fI$PDISPLAY\fR intrinsic special variable. This determines the X11 display used by the M Windowing API. Only applies when FreeM is built with the |
|
\fI--enable-mwapi\fR configuration option. |
.TP |
.TP |
$TERM |
$TERM |
Used by the ^$DEVICE structured system variable to provide the TERMID value for I/O channel 0. |
Used by the |
|
\fI^$DEVICE\fR structured system variable to provide the |
|
\fITERMID\fR value for I/O channel 0. |
.TP |
.TP |
$FREEM_LOG_THRESHOLD_FILE |
$FREEM_LOG_THRESHOLD_FILE |
Overrides the configured threshold at which log messages are written to files in /var/log/freem, corresponding to the log_threshold_file environment setting in $PREFIX/etc/env.conf. The default value is "info". |
Overrides the configured threshold at which log messages are written to files in |
|
\fI/var/log/freem\fR, corresponding to the |
|
\fIlog_threshold_file\fR environment setting in |
|
\fI$PREFIX/etc/env.conf\fR. The default value is |
|
\fIinfo\fR. |
.TP |
.TP |
$FREEM_LOG_THRESHOLD_SYSLOG |
$FREEM_LOG_THRESHOLD_SYSLOG |
Overrides the configured threshold at which log messages are sent to the syslog facility on systems that support it, corresponding to the log_threshold_syslog environment setting in $PREFIX/etc/env.conf. The default value is "info". |
Overrides the configured threshold at which log messages are sent to the |
|
\fIsyslog\fR facility on systems that support it, corresponding to the |
|
\fIlog_threshold_syslog\fR environment setting in |
|
\fI$PREFIX/etc/env.conf\fR. The default value is |
|
\fIinfo\fR. |
.TP |
.TP |
$FREEM_LOG_THRESHOLD_STDERR |
$FREEM_LOG_THRESHOLD_STDERR |
Overrides the configured threshold at which log messages are sent to stderr, corresponding to the log_threshold_stderr environment setting in $PREFIX/etc/env.conf. The default value is "warning". |
Overrides the configured threshold at which log messages are sent to |
|
\fIstderr\fR, corresponding to the |
|
\fIlog_threshold_stderr\fR environment setting in |
|
\fI$PREFIX/etc/env.conf\fR. The default value is |
|
\fIwarning\fR. |
.SH LOG THRESHOLD VALUES |
.SH LOG THRESHOLD VALUES |
This section details the valid values for each of the $FREEM_LOG_THRESHOLD_* environment variables, and each value indicates a minimum diagnostic level at which the indicated class of message will be delivered through the selected mechanism. All messages with an equal or higher diagnostic level than the class indicated will be delivered, i.e., if "warning" is selected, messages with a diagnostic class of warning, error, and fatal will be delivered through the selected mechanism. |
This section details the valid values for each of the |
|
\fI$FREEM_LOG_THRESHOLD_*\fR environment variables, and each value indicates a minimum diagnostic level at which the indicated class of message will be delivered through the selected mechanism. All messages with an equal or higher diagnostic level than the class indicated will be delivered, i.e., if |
|
\fIwarning\fR is selected, messages with a diagnostic class of |
|
\fIwarning\fR, |
|
\fIerror\fR, and |
|
\fIfatal\fR will be delivered through the selected mechanism. |
|
|
Valid values for each of these environment variables are as follows: |
Valid values for each of these environment variables are as follows: |
.TP |
.TP |
debug |
debug |
|
.RS 4 |
Messages useful mostly for developers contributing to FreeM itself. Will produce a high volume of log messages, and is likely to impact system performance. Not recommended for production usage. |
Messages useful mostly for developers contributing to FreeM itself. Will produce a high volume of log messages, and is likely to impact system performance. Not recommended for production usage. |
|
.RE |
.TP |
.TP |
info |
info |
Includes messages of an informational nature. Will produce a moderately high volume of log messages. For heavily multi-user and multi-process systems, it is recommended to use "warning" instead. |
.RS 4 |
|
Includes messages of an informational nature. Will produce a moderately high volume of log messages. For heavily multi-user and multi-process systems, it is recommended to use |
|
\fIwarning\fR instead. |
|
.RE |
.TP |
.TP |
warning |
warning |
|
.RS 4 |
Includes warning messages. These indicate conditions (including retries when attempting to acquire semaphores) that warrant further investigation by the system operator, but do not typically prevent applications from running. |
Includes warning messages. These indicate conditions (including retries when attempting to acquire semaphores) that warrant further investigation by the system operator, but do not typically prevent applications from running. |
|
.RE |
.TP |
.TP |
error |
error |
|
.RS 4 |
Includes error messages. This class of messages indicates that a recoverable error has occurred in the FreeM engine. Warrants immediate attention by the system operator. |
Includes error messages. This class of messages indicates that a recoverable error has occurred in the FreeM engine. Warrants immediate attention by the system operator. |
|
.RE |
.TP |
.TP |
fatal |
fatal |
|
.RS 4 |
Includes messages indicating errors that are not recoverable. If this class of message occurs, the process that triggered the message has terminated abnormally. Requires immediate system operator intervention, and can indicate gross misconfiguration of the FreeM engine or the host operating system environment, or even a FreeM bug. |
Includes messages indicating errors that are not recoverable. If this class of message occurs, the process that triggered the message has terminated abnormally. Requires immediate system operator intervention, and can indicate gross misconfiguration of the FreeM engine or the host operating system environment, or even a FreeM bug. |
|
.RE |
.SH BUGS |
.SH BUGS |
Check the issue tracker at https://bugs.coherent-logic.com for more detailed information on current bugs. |
Check the issue tracker at https://bugs.coherent-logic.com for more detailed information on current bugs. |
.SH AUTHOR |
.SH AUTHOR |
Line 286 Copyright (C) 1998 MUG Deutschland
|
Line 331 Copyright (C) 1998 MUG Deutschland
|
Copyright (C) 2025 Coherent Logic Development LLC |
Copyright (C) 2025 Coherent Logic Development LLC |
|
|
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover texts, and with no Back-Cover Texts. |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover texts, and with no Back-Cover Texts. |
.SH FILES |
|
.PP |
|
$PREFIX/etc/freem/env.conf |
|
.RS 4 |
|
FreeM environment catalog |
|
.RE |
|
.PP |
|
$PREFIX/etc/freem/<environment-name>/freem.conf |
|
.RS 4 |
|
FreeM per-environment configuration |
|
.SH "SEE ALSO" |
.SH "SEE ALSO" |
.PP |
.PP |
\fBfmadm\fR(8), |
\fBfmadm\fR(8), |