using cygwin's Perl from within gvim
Gerrit P. Haase
freeweb@nyckelpiga.de
Wed Oct 22 11:05:00 GMT 2003
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
--
=^..^=
More information about the Cygwin-xfree
mailing list