Re: tclsh - try command

2016-03-24 Thread cyg Simple
me "try" >> >> >> -- >> cyg Simple > > Looking at http://www.tcl.tk/man/ > it appears that "try" was new with version 8.6, > but Cygwin's version is 8.5: > > $ tclsh > % info tcl > 8.5 > % > Thanks, Ken. Building 8.6

RE: tclsh - try command

2016-03-24 Thread Nellis, Kenneth
get the following. Why isn't it available? > > > % try { > echo "abc" > } on error { > puts "error" > } > > > invalid command name "try" > > > -- > cyg Simple Looking at http://www.tcl.tk/man/ it appears that "try" was new with version 8.6, but Cygwin's version is 8.5: $ tclsh % info tcl 8.5 % --Ken Nellis

tclsh - try command

2016-03-24 Thread 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 available? % try { echo "abc" } on e

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

2015-07-04 Thread Duncan Roe
- > > > > > > Expect two lines of output "filename_val", receive only one. The bug > > > affects 'guitool' feature of git-gui. > > > > > > cygwin 2.0.4-1 > > > tclsh 8.5 > > > > > > > > > Thanks, > > &g

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

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 inform

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

2015-06-29 Thread Yaakov Selkowitz
/bin/bash -c {echo $PATH}] > puts $env(FILENAME) > puts [exec /bin/bash -c {echo $FILENAME}] > - end -- > > Expect two lines of output "filename_val", receive only one. The bug > affects 'guitool' feature of git-gui. > > cygwin 2.0.4-1 > t

tclsh does not export changes to env to child process

2015-06-29 Thread Stas Maximov
}] - end -- Expect two lines of output "filename_val", receive only one. The bug affects 'guitool' feature of git-gui. cygwin 2.0.4-1 tclsh 8.5 Thanks, Stas. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.co

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.

TcLsh cannot follow symlinks?

2006-10-14 Thread J. Stevens
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. The script that follows gives "zcat: command not found": #!/bin/tclsh exec zc

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: <http://cygwin.com/packages/>. FWIW, if you're searching for a program, it helps to prepend "bin/" to the

tclsh

2004-11-18 Thread Crescioli, Phil
Can someone please tell me what cygwin package tclsh lives in? Thanks, Phil -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

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
and tcl/tk. -Bill At 06:18 PM 2/5/2003 -0500, you wrote: >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. >&

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

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/ >

tclsh does not understand cygwin paths

2003-02-05 Thread William A. Hoffman
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 Mumit Khan's patches for tcl could be incorporated into the cygwin