Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 30f9cefce10d6081922abc37e6473c723aa1ce0890584d4b25ea5d1cafdfda71
Ticket: 43b7e5b51154124aa07f7fd66e7e325ad9676209
tclsh with attached ZIP
User & Date: griffin on 2024-05-24 16:38:12
Changes

  1. icomment:
    How is this as a rewrite:
    
    .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 \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), zipfs(n)
    .SH KEYWORDS
    application, argument, interpreter, prompt, script file, shell, zipfs
    
  2. login: "griffin"
  3. mimetype: "text/plain"