X-Spam-Check-By: sourceware.org Message-ID: <4531A939.1063A9E6@dessent.net> Date: Sat, 14 Oct 2006 20:21:29 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: TcLsh cannot follow symlinks? References: <16c33eca0610141951r20fdc9c1y6338a7ae7fc0c54 AT mail DOT gmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com "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 Cygwin is a somewhat exceptional package. It is actually a windows app, i.e. it does not use Cygwin for things like file IO. Since symlinks are a fiction the exist only inside Cygwin, native windows apps will choke on them, just as they would choke on posix paths. Unfortunately the tcl in Cygwin is really only there as a means to support the insight debugger, and insight is coupled to its in-tree version of tcl which leads to this frankenstein-like situation of having a Cygwin package of a non-Cygwin app. I think there has been talk on the insight list about hopefully one day decoupling insight from its bundled tcl, and I'm pretty sure that tcl could be built as a proper Cygwin app not a MSVCRT one, so there is hope that eventually this might be fixed, but it doesn't look like it will be soon unless somebody steps up to the plate. There was some talk about this on cygwin-apps (along with supplying both GDI and X11 versions of tk, too) but it went nowhere. Brian -- 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/