From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29321 invoked by alias); 4 Mar 2002 16:27:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 29214 invoked from network); 4 Mar 2002 16:27:28 -0000 Received: from unknown (HELO ics-server.interface-net.com) (206.63.117.237) by sources.redhat.com with SMTP; 4 Mar 2002 16:27:28 -0000 Received: from ics-server.interface-net.com (lbakken@localhost [127.0.0.1]) by ics-server.interface-net.com (8.12.2/8.12.2) with ESMTP id g24GJUde032626 for ; Mon, 4 Mar 2002 08:19:30 -0800 (PST) Received: from localhost (lbakken@localhost) by ics-server.interface-net.com (8.12.2/8.12.1/Submit) with ESMTP id g24GJT5s009682 for ; Mon, 4 Mar 2002 08:19:30 -0800 (PST) X-Authentication-Warning: ics-server.interface-net.com: lbakken owned process doing -bs Date: Mon, 04 Mar 2002 08:27:00 -0000 From: Luke Bakken X-X-Sender: lbakken@ics-server.interface-net.com Reply-To: luke_bakken@yahoo.com To: Pavel Tsekov Subject: Re: [Possible BUG] VIM and execution of external commands which accept filename as parameter In-Reply-To: <1508111994.20020304113018@syntrex.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-03/txt/msg00191.txt.bz2 /bin/sh on Cygwin doesn't understand the ~ character. It's a rather limited shell. try this: :set shell=/bin/bash Luke On Mon, 4 Mar 2002, Pavel Tsekov wrote: > Hey, there! :) > > I have noticed the following behaviour of VIM and thought it is worth > reporting it to the list. Trying to execute an external command from > vim and passing it a file name parameter from my home directory using > the tilde character fails: > > sha1sum: ~/gdbtk.ini: No such file or directory > > shell returned 1 > > Hit ENTER or type command to continue > > The output above is generated from the following vim command: > ":!sha1sum.exe ~/gdbtk.ini". The same command on linux yields the > right result. > > Actually I'll investigate/debug this further this night (maybe) but if > someone knows more on this issue, feel free to speak :) > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/