Artifacts Associated With Ticket 219375ffffffffff
Ticket change [57e678f090] (rid 117709) by nobody on 2000-10-26 05:11:49:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 5998 RFE Version: 8.1.1 SubmitDate: '2000-07-10' LastModified: '2000-10-25' Severity: LOW Status: UnAssn Submitter: techsupp OS: BSD OSVersion: BSD/OS 4.0.1 Machine: x86 pc architecture FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Robert Hare Extensions: BerkeleyDB.3.0, mpexpr1.0 DesiredBehavior: It would be nice to have the following code added to the init.tcl script: # Perform any local initialization. if {[file exists [file join [info library] init-local.tcl]]} { source [file join [info library] init-local.tcl] } This allows customized local initializations to be performed. In our case we want to add entries to the default auto_path so that packages we have installed can be found without having to tweak on the auto_path in every program. Patch: --- init.tcl.orig Tue Jun 15 08:28:19 1999 +++ init.tcl Fri Jul 7 11:10:00 2000 @@ -570,3 +570,9 @@ } } + + +# Perform any local initialization. +if {[file exists [file join [info library] init-local.tcl]]} { + source [file join [info library] init-local.tcl] +} PatchFiles: init.tcl - foundin initialized to: "final: 8.1.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Add local initialization script for Tcl."
- type initialized to: "RFE"
Ticket change [7927012273] (rid 90079) by dkf on 2001-01-25 17:10:38:
- foundin changed to: "obsolete: 8.4a3"
- icomment:
I like this idea, though I'm not too sure what the best location for such an initialization script is (apart from probably being platform-dependent.) What do other systems that have to deal with this problem do?
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "6"
- username: "dkf"
Ticket change [622ea940ec] (rid 92371) by dgp on 2001-01-26 03:58:20:
- icomment:
Back when this was first proposed, it spawned a thread on comp.lang.tcl. See http://deja.com/=dnc/viewthread.xp?AN=646185059
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [ce18067038] (rid 95999) by dkf on 2001-01-26 16:54:51:
- icomment:
Might I recommend particularly the following message from that thread: http://www.deja.com/getdoc.xp?AN=645101031
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [0d3d9fd887] (rid 114325) by dkf on 2001-01-31 17:32:45:
- subsystem changed to: "38. Init - Library - Autoload"
Ticket change [6423244b2d] (rid 92711) by dgp on 2001-02-01 01:19:26:
- icomment:
Registered patch as #103526
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [0328863f59] (rid 119775) by dgp on 2001-02-08 08:23:35:
- assignee changed to: "dgp"
Ticket change [deaea169ff] (rid 114891) by dgp on 2001-04-04 04:57:11:
- subsystem changed to: "38. Init - Library - Autoload"
Ticket change [822bf6b396] (rid 117185) by dgp on 2001-07-22 01:58:36:
- icomment:
Logged In: YES user_id=80530 The referenced c.l.t thread is now available at: http://groups.google.com/groups?hl=en&safe=off&th=e11c0f97f99942,7&seekm=8kckfn%247jg%241%40bob.news.rcn.net I'm not sure which message Donal wanted to point to in particular.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [bffce42291] (rid 102335) by dgp on 2002-04-12 22:24:06:
- icomment:
Logged In: YES user_id=80530 Kevin Kenny notes in the Tcl'ers chat that a site-initialization script like this one would be the place for sysadmins to set the default locale for the Tcl library for their systems. More important as most localization stuff gets put into Tcl.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [9ef890fa1b] (rid 96565) by hobbs on 2002-04-13 02:40:27:
- icomment:
Logged In: YES user_id=72656 For Kevin's case, 8.4 (which uses nl_langinfo) should be much better already at guessing locales, but I still think there is value in have such a facility available to sysadmins.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment: