This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: using cygwin's Perl from within gvim


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
-- 
=^..^=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]