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


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

Re: VIM "Cannot execute shell sh", "long startup time" problems maybe solved


Enclosed is the output of:

$ vim -VD

called in a bash shell after having unset HOME.


Several lines similar to:

Calling shell to execute:
"unset nonomatch; echo >/tmp/v752648/1 ~/.vim/syntax/syncolor.vim"

appear.


Under a DOS box, with HOME and SHELL undefined and sh.exe not in
the PATH, vim output (cygwin 1.3.3):

E79: Cannot expand wildcards

Cannot execute shell sh

However sh.exe is executed if it is found the PATH, slowing startup time
and file loading time. If SHELL points to another shell, vim tries to
executes that.


With the 1.3.4 cygwin dll the error message is not shown
because HOME is automatically set and vim doesn't call $SHELL.


I think that the problems (perhaps magically disappeared) recently
posted by Scott Brim and Tyler Close came from bad environment settings.
See:
http://www.cygwin.com/ml/cygwin/2001-11/msg00209.html
http://sources.redhat.com/ml/cygwin/2001-10/msg00890.html
I'm not subscribed to the mailing list so I can't properly reply to
those messages: sorry.


I ran my tests under Win95 OSR2 B, vim 6.0.11-1, cygwin 1.3.4 (-2, -4)


Bye, Alessandro.


-- 

                                   ad
   le castagne scottano... (and so on)
______________________________________
$ vim -VD
Entering Debug mode.  Type "cont" to leave.
/usr/share/vim/vimrc
line 13: if v:progname =~? "evim"
>cont
line 51: sourcing "/usr/share/vim/vim60/syntax/syntax.vim"
Searching for "syntax/synload.vim" in "~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim60,/usr/share/vim/vimfiles/after,~/.vim/after"
Searching for "~/.vim/syntax/synload.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/0 ~/.vim/syntax/synload.vim"
Searching for "/usr/share/vim/vimfiles/syntax/synload.vim"
Searching for "/usr/share/vim/vim60/syntax/synload.vim"
line 19: sourcing "/usr/share/vim/vim60/syntax/synload.vim"
Searching for "syntax/syncolor.vim" in "~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim60,/usr/share/vim/vimfiles/after,~/.vim/after"
Searching for "~/.vim/syntax/syncolor.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/1 ~/.vim/syntax/syncolor.vim"
Searching for "/usr/share/vim/vimfiles/syntax/syncolor.vim"
Searching for "/usr/share/vim/vim60/syntax/syncolor.vim"
line 21: sourcing "/usr/share/vim/vim60/syntax/syncolor.vim"
finished sourcing /usr/share/vim/vim60/syntax/syncolor.vim
continuing in /usr/share/vim/vim60/syntax/synload.vim
Searching for "/usr/share/vim/vimfiles/after/syntax/syncolor.vim"
Searching for "~/.vim/after/syntax/syncolor.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/2 ~/.vim/after/syntax/syncolor.vim"
finished sourcing /usr/share/vim/vim60/syntax/synload.vim
continuing in /usr/share/vim/vim60/syntax/syntax.vim
Searching for "filetype.vim" in "~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim60,/usr/share/vim/vimfiles/after,~/.vim/after"
Searching for "~/.vim/filetype.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/3 ~/.vim/filetype.vim"
Searching for "/usr/share/vim/vimfiles/filetype.vim"
Searching for "/usr/share/vim/vim60/filetype.vim"
line 25: sourcing "/usr/share/vim/vim60/filetype.vim"
finished sourcing /usr/share/vim/vim60/filetype.vim
continuing in /usr/share/vim/vim60/syntax/syntax.vim
Searching for "/usr/share/vim/vimfiles/after/filetype.vim"
Searching for "~/.vim/after/filetype.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/4 ~/.vim/after/filetype.vim"
finished sourcing /usr/share/vim/vim60/syntax/syntax.vim
continuing in /usr/share/vim/vimrc
Searching for "filetype.vim" in "~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim60,/usr/share/vim/vimfiles/after,~/.vim/after"
Searching for "~/.vim/filetype.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/5 ~/.vim/filetype.vim"
Searching for "/usr/share/vim/vimfiles/filetype.vim"
Searching for "/usr/share/vim/vim60/filetype.vim"
line 62: sourcing "/usr/share/vim/vim60/filetype.vim"
finished sourcing /usr/share/vim/vim60/filetype.vim
continuing in /usr/share/vim/vimrc
Searching for "/usr/share/vim/vimfiles/after/filetype.vim"
Searching for "~/.vim/after/filetype.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/6 ~/.vim/after/filetype.vim"
Searching for "ftplugin.vim" in "~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim60,/usr/share/vim/vimfiles/after,~/.vim/after"
Searching for "~/.vim/ftplugin.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/7 ~/.vim/ftplugin.vim"
Searching for "/usr/share/vim/vimfiles/ftplugin.vim"
Searching for "/usr/share/vim/vim60/ftplugin.vim"
line 62: sourcing "/usr/share/vim/vim60/ftplugin.vim"
finished sourcing /usr/share/vim/vim60/ftplugin.vim
continuing in /usr/share/vim/vimrc
Searching for "/usr/share/vim/vimfiles/after/ftplugin.vim"
Searching for "~/.vim/after/ftplugin.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/8 ~/.vim/after/ftplugin.vim"
Searching for "indent.vim" in "~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim60,/usr/share/vim/vimfiles/after,~/.vim/after"
Searching for "~/.vim/indent.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/9 ~/.vim/indent.vim"
Searching for "/usr/share/vim/vimfiles/indent.vim"
Searching for "/usr/share/vim/vim60/indent.vim"
line 62: sourcing "/usr/share/vim/vim60/indent.vim"
finished sourcing /usr/share/vim/vim60/indent.vim
continuing in /usr/share/vim/vimrc
Searching for "/usr/share/vim/vimfiles/after/indent.vim"
Searching for "~/.vim/after/indent.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/10 ~/.vim/after/indent.vim"
finished sourcing $VIM/vimrc
could not source "$HOME/.vimrc"
could not source "$HOME/.exrc"
Searching for "plugin/*.vim" in "~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim60,/usr/share/vim/vimfiles/after,~/.vim/after"
Searching for "~/.vim/plugin/*.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/11 ~/.vim/plugin/*.vim"
Searching for "/usr/share/vim/vimfiles/plugin/*.vim"
Searching for "/usr/share/vim/vim60/plugin/*.vim"
sourcing "/usr/share/vim/vim60/plugin/explorer.vim"
finished sourcing /usr/share/vim/vim60/plugin/explorer.vim
sourcing "/usr/share/vim/vim60/plugin/gzip.vim"
finished sourcing /usr/share/vim/vim60/plugin/gzip.vim
sourcing "/usr/share/vim/vim60/plugin/netrw.vim"
finished sourcing /usr/share/vim/vim60/plugin/netrw.vim
sourcing "/usr/share/vim/vim60/plugin/rrhelper.vim"
finished sourcing /usr/share/vim/vim60/plugin/rrhelper.vim
Searching for "/usr/share/vim/vimfiles/after/plugin/*.vim"
Searching for "~/.vim/after/plugin/*.vim"
Calling shell to execute: "unset nonomatch; echo >/tmp/v752648/12 ~/.vim/after/plugin/*.vim"
Reading viminfo file "$HOME/.viminfo" info FAILED
Hit ENTER or type command to continue

Executing BufEnter Auto commands for "*"
autocommand call s:EditDir()
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/

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