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

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: PerlTK under Windows
Date: Wed, 14 Dec 2005 19:46:42 -0800
Lines: 45
Message-ID: <dnqouu$97b$1@sea.gmane.org>
References: <dnq98d$411$1 AT sea DOT gmane DOT org> <43A0B0AB DOT 1060701 AT users DOT sourceforge DOT net>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
In-Reply-To: <43A0B0AB.1060701@users.sourceforge.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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?

While I know that I can use either ActiveState Perl or ccperl, for 
example, they are decidedly inferior. For example, they don't support 
setsid nor seem to handle signals well. These Perl's debuggers do not 
function in rxvt (or when pty's come into play like when you may have 
ssh'ed to another Windows box running sshd). They also don't honor 
things like Readline where I use emacs style keybindings at the shell 
and those same keybindings are honored in Cygwin's Perl but not 
ActiveState's.

Again I said it would be "real cool" not that I was developing a patch. 
I have too much other work to do (the kind of work that I get paid for) 
to devote to such a project and I am by no means a PerlTk expert nor 
package developer.
-- 
Always remember you're unique, just like everyone else.


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