Re: tclsh - try command

2016-03-24 Thread cyg Simple
On 3/24/2016 10:42 AM, Nellis, Kenneth wrote: > From: cyg Simple >> Dear list, >> >> I'm thinking of using TCL for a development program I'm spearheading. >> The documentation for TCL http://www.tcl.tk/man/tcl/TclCmd/try.htm show >> that this is available and I need to use it. But with Cygwin's v

RE: tclsh - try command

2016-03-24 Thread Nellis, Kenneth
From: cyg Simple > Dear list, > > I'm thinking of using TCL for a development program I'm spearheading. > The documentation for TCL http://www.tcl.tk/man/tcl/TclCmd/try.htm show > that this is available and I need to use it. But with Cygwin's version > I get the following. Why isn't it availabl

Re: tclsh does not export changes to env to child process

2015-07-04 Thread Duncan Roe
> > On Mon, Jun 29, 2015 at 2:45 PM, Stas Maximov > > wrote: > > > Hi, > > > > > > Tcl shell does not export changes to array variable env: > > > http://wiki.tcl.tk/env > > > > > > Test script: test_env_export1: > > > - begin -- > > > set env(FILENAME) filename_val > > > puts $e

Re: tclsh does not export changes to env to child process

2015-06-30 Thread Stas Maximov
Interestingly, if environment variable FILENAME was exported when tclsh called, the test passes. Tclsh falis to export only new env variable. Compare two results: $ env FILENAME=gaga tclsh test_env_export1.tcl filename_val filename_val vim vim $ env -u FILENAME tclsh test_env_export1.tcl filename_

Re: tclsh does not export changes to env to child process

2015-06-30 Thread Stas Maximov
Yakov, Thanks for the reply. Apologies for confusion. 8.5 was version of tcl as reported by tcl_version. Please find below more information. Note that "filename_val" is printed only once -- by tclsh, but the child (bash) does not see environment variable FILENAME. Any specific information that y

Re: tclsh does not export changes to env to child process

2015-06-29 Thread Yaakov Selkowitz
On Mon, 2015-06-29 at 14:45 -0700, Stas Maximov wrote: > Tcl shell does not export changes to array variable env: > http://wiki.tcl.tk/env > > Test script: test_env_export1: > - begin -- > set env(FILENAME) filename_val > puts $env(PATH) > puts [exec /bin/bash -c {echo $PATH}] >

Re: TcLsh cannot follow symlinks?

2006-10-14 Thread Brian Dessent
"J. Stevens" wrote: > I have a feeling that tclsh (TcL shell) in cygwin cannot follow > symlinks when using exec or other methods of calling programs. > I am using a tclsh script that calls zcat, which is really a symlink to gzip. Yes, that is to be expected I'm afraid. The tcl distributed in Cy

Re: tclsh

2004-11-18 Thread Igor Pechtchanski
On Thu, 18 Nov 2004, Crescioli, Phil wrote: > Can someone please tell me what cygwin package tclsh lives in? The standard answer for questions of this type: . FWIW, if you're searching for a program, it helps to prepend "bin/" to the search string, i.e., try searchin

Re: tclsh does not understand cygwin paths

2003-02-06 Thread Christopher Faylor
On Thu, Feb 06, 2003 at 10:01:25AM -0500, William A. Hoffman wrote: >I am a bit confused, from here: > >http://cygwin.com/lists.html > >It would seem like this was the right list to >post cygwin specific problems with UNIX tools that >come with Cygwin. Perhaps the web page should be updated to >i

Re: tclsh does not understand cygwin paths

2003-02-06 Thread William A. Hoffman
I am a bit confused, from here: http://cygwin.com/lists.html It would seem like this was the right list to post cygwin specific problems with UNIX tools that come with Cygwin. Perhaps the web page should be updated to include three and not two exceptions, XFree, programs not from cygwin.com an

Re: tclsh does not understand cygwin paths

2003-02-05 Thread Jonathan Larmour
Jonathan Larmour wrote: So all you have to do now is wait for the cygwin package to be released, To clarify... by which I mean the new Tcl/Tk to be made into a cygwin package that can be retrieved by setup.exe. Not a new release of cygwin itself :-). Jifl -- eCosCentric http://www.eCosC

Re: tclsh does not understand cygwin paths

2003-02-05 Thread Jonathan Larmour
William A. Hoffman wrote: The tclsh84 does not understand cygwin style paths. So, if you do tclsh /cygdrive/c/foo/bar.tcl it can not find the file. According to http://sources.redhat.com/insight a new Tcl/Tk has been imported, and some extra fixes for cygwin added that should probably addres

Re: tclsh does not understand cygwin paths

2003-02-05 Thread Christopher Faylor
On Wed, Feb 05, 2003 at 06:14:36PM -0500, William A. Hoffman wrote: >The tclsh84 does not understand cygwin style paths. >So, if you do tclsh /cygdrive/c/foo/bar.tcl it can not >find the file. > >This tcl does: > ftp://ftp.nanotech.wisc.edu/pub/khan/tcl/tcltk-8.3.4-cygwin/ > >I was wondering if