On 05/05/2011 12:09 PM, Jean-Rene David wrote:
You seem to use 'shell' and 'terminal' interchangeably. They
are not the same thing. 'tcsh' and 'bash' are shells, not
terminals.

It doesn't matter *how* you start gvim. You will always get a
limited functionality terminal from it.

You can hack around it by spawning a real(ish) (pseudo)terminal(emulator). Just in case you didn't have enough parens in that sentence, you can do something like one of the following:

  :!rxvt &
  :!rxvt -e /bin/bash &

or if you want to be more flexible you can do something like

  :let g:term_emulator_cmd='rxvt -e'
  " :let g:term_emulator_cmd='xterm -e'
  :exec '!'.(g:term_emulator).' '.&shell.'&'

The terminal "&" is optional depending on whether you want to spawn the term in the background or if you want to wait until the term-emulator exits before returning to vim.

Any/all of those can be readily mapped or have a :command made of them to make them less verbose when calling them.

-tim



--
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

Reply via email to