On Thu, 22 Jun 2006, Ajay Gupta wrote:

On 6/22/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 6/22/06, Ajay Gupta <[EMAIL PROTECTED]> wrote:
> Thanks Gerald. It worked.
>
> However, after the command returns the complete screen gets erased. It
> gets repainted either using Ctrl+L or pgUp+pgDown several times. Can I
> automate this?

You need to add :redraw after the 'silent !cmd'. The need for :redraw
(or manual Ctrl-L) after ':silent !cmd' is documented.

Yakov


But it does not what its supposed to do! Even after putting 'redraw'
after shell command, the screen is not redrawn. Does it have something
to do with the type of term I am using?

Try

  redraw!

with the exclamation mark ! instead.

HTH.
--
Gerald

Reply via email to