This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: using cygwin's Perl from within gvim
- From: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
- To: Lyle <cygwin-xfree at cygwin dot com>
- Date: Wed, 22 Oct 2003 13:05:13 +0200
- Subject: Re: using cygwin's Perl from within gvim
- Organization: Esse keine toten Tiere
- References: <NFBBLDEMJJDCLPECNBGJKEIOCFAA.lylez@kc.rr.com>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
Lyle schrieb:
> Hello
> I am unable to use Perl from within gvim. For example, if within
> gvim, I type
> Esc :%!perl -p -e 's/public/private/;' and hit return,
> nothing happens, where as if I issue this exact same command
> cat filename.java | perl -p -e 's/public/private/;'
> from the cygwin bash command line (outside of gvim), then it works as
> expected. When attempting to execute this command from the
> gvim editor, as shown above, a shell window appears and then
> disappears immediately, causing me to suspect that some sort
> of error message is being displayed, but its too fast to read it.
> Attempting this same action using gvim and Perl on AIX Unix
> works fine, so its not a mistake in the Perl syntax.
> I'm using VIM 6.1 (2002 Mar 24, compiled Mar 24 2002 16:04:44)
> MS-Windows 32 bit GUI version with OLE support on Windows XP.
> Any ideas?
You cannot use Cygwin Perl from within an Windows application, try to
use ActiveStates or another native Windows Perl, or use Cygwin Vim/Gvim.
Gerrit
--
=^..^=