X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject:  Re: PerlTK under Windows
Date:  Thu, 15 Dec 2005 07:20:56 -0800
Lines: 42
Message-ID: <dns1ko$9h$1@sea.gmane.org>
References:  <dnq98d$411$1@sea.gmane.org> <43A0B0AB.1060701@users.sourceforge.net> <dnqouu$97b$1@sea.gmane.org> <43A0E96F.10000@cygwin.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
In-Reply-To: <43A0E96F.10000@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Larry Hall (Cygwin) wrote:

> Andrew DeFaria wrote:
>
>> Yaakov S (Cygwin Ports) wrote:
>>
>>> Andrew DeFaria wrote:
>>>
>>>> However I'd like PerlTk to fall back to using Windows widgets much 
>>>> like rxvt will do a Windows window if there is no X server to 
>>>> connect to.
>>>
>>> Just how rxvt manages to use both X11 and Win32GUI is unique, as has 
>>> been discussed before at length. Don't expect anything else X11 
>>> based to do that on Cygwin.
>>>
>>> perl-Tk is X11-based because it *does not compile* on Cygwin for 
>>> Win32. PTC.
>>>
>>>> I know that this is doable because I'm using ccperl (a Perl from 
>>>> IBM/Rational that comes with it's Clearcase product). It would be 
>>>> super cool if this worked.
>>>
>>> How does this prove that it's possible?
>>>
>>>> Just think, one would be able to easily write GUI apps from Perl to 
>>>> run natively on Windows...
>>>
>>> If that's what you want, then it's already possible with ActivePerl, 
>>> which IIRC includes Tk OOTB.
>>
>> Now you're proving my point. It's clear that both ActivePerl and IBM 
>> Rational's ccperl (which is based off of ActiveState Perl BTW) can do 
>> it therefore that's the exact prove that it's possible - isn't it?
>
> Almost anything is possible with the right amount of effort and 
> know-how. The point is that there is significant work to get this to 
> work right in the Cygwin environment.  The code isn't set up to handle 
> both POSIXy/UNIXy and Windows environments simultaneously.  Neither of 
> the above two are doing this.  Theirs are Windows ports only.

OK, make that "there's already a working example...".


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

