Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 03949e7475978fee8cbc6855d17c87b9b18c11fb0c8e7a47e5b33091f54a0154
Ticket: 75291b89b3d039ae0a804da61e0c3ed68320e371
Documentation of zipfs in tclsh(1)
User & Date: tberg on 2024-07-30 08:42:53
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    There are some statements in the tclsh(1) page about ZIPVFS. It is related to zipfs(n) but uses the term ZIPVFS for the heading instead. To minimize confusion (with the tclvfs package and the zipvfs driver there), maybe the heading should rather be termed "ZIPFS" instead??
    
    The section goes on with:
    
    > If a top level directory tcl_library is present in the zip archive, it will become the directory loaded as env(TCL_LIBRARY).
    
    It is not clear what exactly the term "the directory loaded as ..." means. Does it mean that the variable env(TCL_LIBRARY) is filled with the name/path of the zip archive? According to tclvars(n) this would mean the zipfs directory is returned by [info library] but that is not the case when trying the example code from the zipfs(n) page.
    
    The manual page further says:
    
    > If a file named main.tcl is present in the top level directory of the zip archive, it will be sourced instead of the shell's normal command line handling.
    
    Which shell is meant here? Tclsh/Wish? Then it should be written like this. And the part about the different command line handling should probably also go into zipfs(n) or does it not apply there? It could be emphasized here that this implies you cannot source another Tcl script anymore from the command line when calling the modified tclsh.
    
    
    *Note: the same applies to wish(1) which contains the same text.*
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "tberg"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "94879582b1b42c382be6941728fabc85e28a2f74"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "tberg"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to: "Documentation of zipfs in tclsh(1)"
  16. type changed to: "Bug"