* [Possible BUG] VIM and execution of external commands which accept filename as parameter
@ 2002-03-04 2:31 Pavel Tsekov
2002-03-04 8:27 ` Luke Bakken
0 siblings, 1 reply; 3+ messages in thread
From: Pavel Tsekov @ 2002-03-04 2:31 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Possible BUG] VIM and execution of external commands which accept filename as parameter
2002-03-04 2:31 [Possible BUG] VIM and execution of external commands which accept filename as parameter Pavel Tsekov
@ 2002-03-04 8:27 ` Luke Bakken
2002-03-04 8:56 ` Re[2]: " Pavel Tsekov
0 siblings, 1 reply; 3+ messages in thread
From: Luke Bakken @ 2002-03-04 8:27 UTC (permalink / raw)
To: Pavel Tsekov
/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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re[2]: [Possible BUG] VIM and execution of external commands which accept filename as parameter
2002-03-04 8:27 ` Luke Bakken
@ 2002-03-04 8:56 ` Pavel Tsekov
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Tsekov @ 2002-03-04 8:56 UTC (permalink / raw)
To: Luke Bakken; +Cc: Pavel Tsekov
Thanks, Luke!
This explains it all! I'm sorry for the false alarm :(
Monday, March 04, 2002, 5:19:29 PM, you wrote:
LB> /bin/sh on Cygwin doesn't understand the ~ character. It's a rather
LB> limited shell.
LB> try this:
LB> :set shell=/bin/bash
LB> Luke
LB> 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
--
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-03-04 16:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-04 2:31 [Possible BUG] VIM and execution of external commands which accept filename as parameter Pavel Tsekov
2002-03-04 8:27 ` Luke Bakken
2002-03-04 8:56 ` Re[2]: " Pavel Tsekov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).