Skip to content
Tcl Source Code Artifact [03949e7475]
Login

Artifact [03949e7475]

Artifact 03949e7475978fee8cbc6855d17c87b9b18c11fb0c8e7a47e5b33091f54a0154:

Ticket change [03949e7475] - New ticket [75291b89b3d039ae|75291b89b3] <i>Documentation of zipfs in tclsh(1)</i>. by tberg on 2024-07-30 08:42:53.
D 2024-07-30T08:42:53.232
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment There\sare\ssome\sstatements\sin\sthe\stclsh(1)\spage\sabout\sZIPVFS.\sIt\sis\srelated\sto\szipfs(n)\sbut\suses\sthe\sterm\sZIPVFS\sfor\sthe\sheading\sinstead.\sTo\sminimize\sconfusion\s(with\sthe\stclvfs\spackage\sand\sthe\szipvfs\sdriver\sthere),\smaybe\sthe\sheading\sshould\srather\sbe\stermed\s"ZIPFS"\sinstead??\r\n\r\nThe\ssection\sgoes\son\swith:\r\n\r\n>\sIf\sa\stop\slevel\sdirectory\stcl_library\sis\spresent\sin\sthe\szip\sarchive,\sit\swill\sbecome\sthe\sdirectory\sloaded\sas\senv(TCL_LIBRARY).\r\n\r\nIt\sis\snot\sclear\swhat\sexactly\sthe\sterm\s"the\sdirectory\sloaded\sas\s..."\smeans.\sDoes\sit\smean\sthat\sthe\svariable\senv(TCL_LIBRARY)\sis\sfilled\swith\sthe\sname/path\sof\sthe\szip\sarchive?\sAccording\sto\stclvars(n)\sthis\swould\smean\sthe\szipfs\sdirectory\sis\sreturned\sby\s[info\slibrary]\sbut\sthat\sis\snot\sthe\scase\swhen\strying\sthe\sexample\scode\sfrom\sthe\szipfs(n)\spage.\r\n\r\nThe\smanual\spage\sfurther\ssays:\r\n\r\n>\sIf\sa\sfile\snamed\smain.tcl\sis\spresent\sin\sthe\stop\slevel\sdirectory\sof\sthe\szip\sarchive,\sit\swill\sbe\ssourced\sinstead\sof\sthe\sshell's\snormal\scommand\sline\shandling.\r\n\r\nWhich\sshell\sis\smeant\shere?\sTclsh/Wish?\sThen\sit\sshould\sbe\swritten\slike\sthis.\sAnd\sthe\spart\sabout\sthe\sdifferent\scommand\sline\shandling\sshould\sprobably\salso\sgo\sinto\szipfs(n)\sor\sdoes\sit\snot\sapply\sthere?\sIt\scould\sbe\semphasized\shere\sthat\sthis\simplies\syou\scannot\ssource\sanother\sTcl\sscript\sanymore\sfrom\sthe\scommand\sline\swhen\scalling\sthe\smodified\stclsh.\r\n\r\n\r\n*Note:\sthe\ssame\sapplies\sto\swish(1)\swhich\scontains\sthe\ssame\stext.*
J foundin 9.0
J is_private 0
J login tberg
J priority 5\sMedium
J private_contact 94879582b1b42c382be6941728fabc85e28a2f74
J resolution None
J severity Important
J status Open
J submitter tberg
J subsystem -\sNew\sBuiltin\sCommands
J title Documentation\sof\szipfs\sin\stclsh(1)
J type Bug
K 75291b89b3d039ae0a804da61e0c3ed68320e371
U tberg
Z a6e4b45304354c3b46ab3427fd6aeb9b