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
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
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
-
> > >
> > > 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
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
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
/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
}]
- 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
"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.
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
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
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/
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
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.
>&
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
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
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/
>
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
18 matches
Mail list logo