Skip to content
Snippets Groups Projects
Commit da4492c7 authored by Luigi Scarso's avatar Luigi Scarso
Browse files

new option --no-socket, same as --nosocket.

parent 90d2599a
Branches
Tags
No related merge requests found
......@@ -88,6 +88,7 @@ consequence. The following command|-|line options are understood:
\NC \type{--[no-]mktex=FMT} \NC disable/enable \type {mktexFMT} generation with \type {FMT} is
\type {tex} or \type {tfm} \NC \NR
\NC \type{--nosocket} \NC disable the \LUA\ socket library \NC\NR
\NC \type{--no-socket} \NC disable the \LUA\ socket library \NC\NR
\NC \type{--socket} \NC enable the \LUA\ socket library \NC\NR
\NC \type{--output-comment=STRING} \NC use \type {STRING} for \DVI\ file comment instead of date (no
effect for \PDF) \NC \NR
......@@ -148,6 +149,7 @@ in the following order:
\startitem
First, it will parse the command line as usual, but it will only interpret a
small subset of the options immediately: \type {--safer}, \type {--nosocket},
\type {--no-socket},
\type {--socket}, \type {--[no-]shell-escape}, \type {--enable-write18}, \type
{--disable-write18}, \type {--shell-restricted}, \type {--help}, \type
{--version}, and \type {--credits}.
......@@ -198,8 +200,8 @@ in the following order:
os.setlocale(nil,nil)
\stoptyping
The \type {--nosocket} option makes the socket library unavailable, so that \LUA\
cannot use networking;
The \type {--nosocket} or \type {--no-socket} option makes the socket library
unavailable, so that \LUA\ cannot use networking;
\type {--socket} option makes the socket library available.
The switches \type {--[no-]shell-escape}, \type {--[enable|disable]-write18}, and
......@@ -210,7 +212,8 @@ in the following order:
By default
the socket library is not enabled: one can enable it with with \type {--socket}
or with \type {--shell-escape} (but without \type {--shell-restricted})
and disable it with \type {--nosocket} or unconditionally with \type {--safer}.
and disable it with \type {--nosocket} (or \type {--no-socket})
or unconditionally with \type {--safer}.
In case of conflictual options, the most restrictive wins.
......
No preview for this file type
2023-04-28 Luigi Scarso <luigi.scarso@gmail.com>
* new option --no-socket, same as --nosocket
2023-04-27 Luigi Scarso <luigi.scarso@gmail.com>
* new option --socket to split socket and shell escape;
* the mime library is always available (Max Chernoff)
* the mime library is always available (Max Chernoff);
* Fixed ChangeLog
2023-04-25 Luigi Scarso <luigi.scarso@gmail.com>
......
......@@ -85,6 +85,7 @@ const_string LUATEX_IHELP[] = {
" --lua=FILE load and execute a lua initialization script",
" --[no-]mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm)",
" --nosocket disable the lua socket library",
" --no-socket disable the lua socket library",
" --socket enable the lua socket library",
" --output-comment=STRING use STRING for DVI file comment instead of date (no effect for PDF)",
" --output-directory=DIR use existing DIR as the directory to write files in",
......@@ -265,6 +266,7 @@ static struct option long_options[] = {
{"safer", 0, &safer_option, 1},
{"utc", 0, &utc_option, 1},
{"nosocket", 0, &nosocket_cli_option, 1},
{"no-socket", 0, &nosocket_cli_option, 1},
{"socket", 0, &yessocket_cli_option, 1},
{"help", 0, 0, 0},
{"ini", 0, &ini_version, 1},
......
#ifndef luatex_svn_revision_h
#define luatex_svn_revision_h
#define luatex_svn_revision 7579
#define luatex_svn_revision 7580
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment