Diff for /freem/doc/freem.1 between versions 1.4 and 1.8

version 1.4, 2025/04/03 15:56:41 version 1.8, 2025/04/18 01:23:05
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.8  2025/04/18 01:23:05  snw
   .\"   More documentation updates
   .\"
   .\"   Revision 1.7  2025/04/17 17:57:35  snw
   .\"   Major updates to man pages
   .\"
   .\"   Revision 1.6  2025/04/17 15:08:24  snw
   .\"   Add documentation on FREEM_LOG_THRESHOLD environment variables to man pages
   .\"
   .\"   Revision 1.5  2025/04/04 12:49:19  snw
   .\"   Dollar signs cut off in ENVIRONMENT sections of both man pages
   .\"
 .\"   Revision 1.4  2025/04/03 15:56:41  snw  .\"   Revision 1.4  2025/04/03 15:56:41  snw
 .\"   Add fmadm man page to CVS  .\"   Add fmadm man page to CVS
 .\"  .\"
Line 60  After years of dormancy, the FreeM proje Line 72  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
   .RS 4
 Display a list of freem command-line flags  Display a list of freem command-line flags
   .RE
 .TP  .TP
 \-i, --import  \-i, --import
   .RS 4
 Imports UNIX environment variables as M locals  Imports UNIX environment variables as M locals
   .RE
 .TP  .TP
 \-e <environment-name>, --environment=<environment-name>  \-e <environment-name>, --environment=<environment-name>
 Sets active environment to <environment-name> (DEFAULT if unspecified)  .RS 4
   Sets active environment to
   \fI<environment-name>\fR;
   \fIDEFAULT\fR if unspecified
   .RE
 .TP  .TP
 \-f, --filter  \-f, --filter
   .RS 4
 Allows M code to be used as a filter  Allows M code to be used as a filter
   .RE
 .TP  .TP
 \-n <NAMESPACE>, --namespace=<NAMESPACE>  \-n <NAMESPACE>, --namespace=<NAMESPACE>
 Selects <NAMESPACE> as the startup namespace instead of USER  .RS 4
   Selects
   \fI<NAMESPACE>\fR as the startup namespace instead of
   \fIUSER\fR
   .RE
 .TP  .TP
 \-q, --quiet  \-q, --quiet
 Sisables startup messages and prompt string  .RS 4
   Disables startup messages and prompt string
   .RE
 .TP  .TP
 \-r <LABEL^ROUTINE>, --routine=<LABEL^ROUTINE>  \-r <LABEL^ROUTINE>, --routine=<LABEL^ROUTINE>
 Executes <LABEL^ROUTINE> on startup instead of entering direct mode  .RS 4
   Executes
   \fI<LABEL^ROUTINE>\fR on startup instead of entering direct mode
   .RE
   .TP
 \-s <standard>, --standard=<standard>  \-s <standard>, --standard=<standard>
 Restricts access to FreeM vendor extensions not present in relevant standards*. In this flag, <standard> can be:  .RS 4
  - M77  Restricts access to FreeM vendor extensions not present in relevant standards
  - M84  \fI*\fR. In this flag,
  - M90  \fI<standard>\fR can be:
  - M95  .sp
  - MDS  .RS 4
  - M5  .ie n \{\
  - FREEM  \h'-04'\(bu\h'+03'\c
   .\}
   .el \{\
   .sp -1
   .IP \(bu 2.3
   .\}
   M77
   .RE
   .sp
   .RS 4
   .ie n \{\
   \h'-04'\(bu\h'+03'\c
   .\}
   .el \{\
   .sp -1
   .IP \(bu 2.3
   .\}
   M84
   .RE
   .sp
   .RS 4
   .ie n \{\
   \h'-04'\(bu\h'+03'\c
   .\}
   .el \{\
   .sp -1
   .IP \(bu 2.3
   .\}
   M90
   .RE
   .sp
   .RS 4
   .ie n \{\
   \h'-04'\(bu\h'+03'\c
   .\}
   .el \{\
   .sp -1
   .IP \(bu 2.3
   .\}
   M95
   .RE
   .sp
   .RS 4
   .ie n \{\
   \h'-04'\(bu\h'+03'\c
   .\}
   .el \{\
   .sp -1
   .IP \(bu 2.3
   .\}
   MDS
   .RE
   .sp
   .RS 4
   .ie n \{\
   \h'-04'\(bu\h'+03'\c
   .\}
   .el \{\
   .sp -1
   .IP \(bu 2.3
   .\}
   M5
   .RE
   .sp
   .RS 4
   .ie n \{\
   \h'-04'\(bu\h'+03'\c
   .\}
   .el \{\
   .sp -1
   .IP \(bu 2.3
   .\}
   FREEM
   
   .RE
   \fB*\fR FreeM is not entirely compliant with any MDC standard, regardless of the value of the
   \fI--standard\fR command-line flag.
   
   See the
   \fBCompliance Clause\fR on the FreeM Wiki for more information on FreeM's deviations from MDC standards.
   .RE
 .TP  .TP
 \-v, --version  \-v, --version
 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 115  Returns 0 for non-error condition. Line 230  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
   $TERM
   Used by the
   \fI^$DEVICE\fR structured system variable to provide the
   \fITERMID\fR value for I/O channel 0.
   .TP
   $FREEM_LOG_THRESHOLD_FILE
   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
   $FREEM_LOG_THRESHOLD_SYSLOG
   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
   $FREEM_LOG_THRESHOLD_STDERR
   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
   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:
 .TP  .TP
 \$TERM  debug
 Used by the ^$DEVICE structured system variable to provide the TERMID value for I/O channel 0.  .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.
   .RE
   .TP
   info
   .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
   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.
   .RE
   .TP
   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.
   .RE
   .TP
   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.
   .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 148  Copyright (C) 1998 MUG Deutschland Line 325  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"
 .BR fmadm (8)  .PP
   \fBfmadm\fR(8),
   \fBenv.conf\fR(5),
   \fBfreem.conf\fR(5)

Removed from v.1.4  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>