X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <472B69D8.6020506@pixelearth.net> Date: Fri, 02 Nov 2007 13:18:00 -0500 From: red AT pixelearth DOT net User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: gvim: how to end input Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi List, This is my first post. I've spent 2 days researching this simple problem, to no avail: SITUATION: I have a (external) perl script that I call from vim/gvim (:!scriptname) to ftp the current buffer to a server. I run gvim by first running 'startx', and then from 'x', I run gvim. PROBLEM: I have a line that takes as confirmation of the upload (y/n). The script works fine in vim, but in gvim I can't find a way to end the keyboard input, so the script and gvim hang. Pressing gives a new line, and neither ctrl-d or ctrl-shft-d end the input either. The script works fine in gvim without the line. I use the script under linux gvim with no problem, and under cygwin vim and the vim in X. The only problem is in gvim in cygwin. This should be a simple fix, I just can't figure it out. The worst is that gvim hangs, and I can't end the script. I have to kill gvim, the perl process and clean the swp files manually. Unfun. Any help very appreciated. BML -- 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/