On 10/11/07, Yakov Lerner <[EMAIL PROTECTED]> wrote: > > On 10/11/07, ap <[EMAIL PROTECTED]> wrote: > > > > > > > > > > On Oct 10, 10:22 pm, "Yakov Lerner" <[EMAIL PROTECTED]> wrote: > > > :help :! says: > > > :silent !{cmd} > > > The screen is not redrawn then, thus you have to use > > > CTRL-L or ":redraw!" if the command did display something. > > > > > > The last part ("if the command did display something") is not true. > > > In console vim, screen is always grabled after ':silent !CMD" > > > even if CMD did not print anything. (try ':silent !true' after ':help > > > help'). > > > The correct wording would be: > > > > > > :silent !{cmd} > > > The screen is not redrawn then, thus you have to use > > > CTRL-L or ":redraw!" even if the command did not display anything. > > > > > > Yakov > > > > logic nitpicking: > > > > I forgot to include the testcase that demonstrates > the discrepancy between the doc and the reality. Here it is: > > vim -u NONE > :help help " get some text on screen, and statuslines > :silent :true " The screen is garbled. Now you need Ctrl-L. >
Oops. This sould have veen :silent !true " The screen is garbled. Now you need Ctrl-L. console vim, Linux, v 7.1.2. This is noting new. I had always have this behavour since 6.3 times. In GUI vim, the sceen seems to be not garbled in such scenario. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---