summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorgriffin <briang42@easystreet.net>2024-05-24 17:50:38 (GMT)
committergriffin <briang42@easystreet.net>2024-05-24 17:50:38 (GMT)
commitc9a7751a1d9888d59950f91dc53c8eac51677b4d (patch)
tree369bd470f311ee3e27a959d6317edeff1068c704 /doc
parent9b558e326b6c60b75c461c59f357a5fe2926132a (diff)
downloadtcl-c9a7751a1d9888d59950f91dc53c8eac51677b4d.zip
tcl-c9a7751a1d9888d59950f91dc53c8eac51677b4d.tar.gz
tcl-c9a7751a1d9888d59950f91dc53c8eac51677b4d.tar.bz2
address ticket [43b7e5b511] - Improve zipfs description in tclsh manual.
Diffstat (limited to 'doc')
-rw-r--r--doc/tclsh.126
1 files changed, 17 insertions, 9 deletions
diff --git a/doc/tclsh.1 b/doc/tclsh.1
index 91df79d..c75076f 100644
--- a/doc/tclsh.1
+++ b/doc/tclsh.1
@@ -158,14 +158,22 @@ incomplete commands.
See \fBTcl_StandardChannels\fR for more explanations.
.SH ZIPVFS
.PP
-When a zipfile is concatenated to the end of a \fBtclsh\fR, on
-startup the contents of the zip archive will be mounted as the
-virtual file system /zvfs. If a top level directory tcl8.6 is
-present in the zip archive, it will become the directory loaded
-as env(TCL_LIBRARY). If a file named \fBmain.tcl\fR is present
-in the top level directory of the zip archive, it will be sourced
-instead of the shell's normal command line handing.
+When a zipfile is concatenated to the end of a \fBtclsh\fR, on startup
+the contents of the zip archive will be mounted under the virtual file
+system \fB//zipfs:/\fR. If a top level directory \fBtcl_library\fR is
+present in the zip archive, it will become the directory loaded as
+env(TCL_LIBRARY). If a file named \fBmain.tcl\fR is present in the top
+level directory of the zip archive, it will be sourced instead of the
+shell's normal command line handing.
+.PP
+Only one zipfile can be concatenated to the end of executable image
+(tclsh, or wish). However, if multiple zipfiles are
+concatenated, only the last one is used.
+
+This filesystem is read-only. Files cannot be added or modified within
+this mounted file system. See zipfs(n) for complete details.
+
.SH "SEE ALSO"
-auto_path(n), encoding(n), env(n), fconfigure(n)
+auto_path(n), encoding(n), env(n), fconfigure(n), zipfs(n)
.SH KEYWORDS
-application, argument, interpreter, prompt, script file, shell
+application, argument, interpreter, prompt, script file, shell, zipfs