Régis B. wrote:
Albi, Jürgen, thank you,
you are both right: I just realised "start" is a root only specific command
in my Linux, and it is sufficient to execute :!kdvi in order to make it
work.
The reason why I asked this question is because I am trying to use
latex-suite and to view dvi compiled documents with kdvi from inside gvim
with the \lv command; it does not work (no error message) and I just can't
figure out why. So I tested the :!start kdvi, it didn't work and I inferred
this was the problem. But apparently it isn't, so I'm still scratching my
head looking for the real source of the problem.
Thanks again
Régis B.
Are you getting any response from executing the command at all?
If you are running Gvim out of X, there might be (no laughing, I've seen
this) output in the terminal from which you ran startx. It's a long
shot, of course.
I think the problem you are having lies with Vim's ability to pass
commands to the shell, or accepting the commands from the shell. We
probably need more info regarding your setup, such as Vim version, how
you are running Vim (terminal, X), your shell, etc.
Have you had a look at :help 'shellcmdflag' yet? There might be
something you need to set in that variable and associated settings.
--
Albie Janse van Rensburg (neonpill)
Registered Linux User 438873 | <http://counter.li.org>