Monday, March 5, 2012

Re: shell for vim

On 2012-03-05, Gary Johnson wrote:
> On 2012-03-05, Eduardo Costa wrote:

> > I cannot see why is so difficult to implement a shell escape for vim.
> > I would appreciate if vim had a robust shell, like the one in Emacs.
> > Maybe it has, but I don't know how to use it. For instance, is there a
> > way to remove the control chars from the :shell output?
>
> Vim's shell escape works very well (except under Windows). If you
> are having problems with it, please provide the operating system you
> are using, the version of Vim you are using (e.g., the first four
> lines of the output of ":version"), the value of the 'shell' option,
> and explain exactly the steps you take when you observe the problem.
> Provide enough detail so that someone else should be able to
> reproduce the problem. Also describe the results you expect and the
> results you get instead. The more clear and accurate you are, the
> more easily someone here will be able to identify the problem and
> suggest a fix.

I forgot: I assumed you were using vim in a terminal. If so,
please let us know the type of terminal you are using and the value
of the TERM environment variable. If you are using gvim, then the
problem is not the shell but gvim's built-in terminal emulation. In
that case, I understand the problem and you right to be disappointed
in the results. If you use :shell often, I would recommend running
vim in a terminal rather than gvim.

(I never think about gvim's limited terminal emulation capability
because I just don't use it.)

Regards,
Gary

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: