delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/14/22:56:57

X-Spam-Check-By: sourceware.org
Message-ID: <43A0E96F.10000@cygwin.com>
Date: Wed, 14 Dec 2005 22:56:31 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0
MIME-Version: 1.0
To: Andrew DeFaria <Andrew AT DeFaria DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: PerlTK under Windows
References: <dnq98d$411$1 AT sea DOT gmane DOT org> <43A0B0AB DOT 1060701 AT users DOT sourceforge DOT net> <dnqouu$97b$1 AT sea DOT gmane DOT org>
In-Reply-To: <dnqouu$97b$1@sea.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019