On 09/06/09 17:06, Florian Breitwieser wrote:
> Hi!
>
> Whe I'm working with vim on the console and I quit vim, the console
> screen stays with the contents I last edited. That includes the
> end-of-buffer lines marked by the tilde sign.
>
> Is there a way of telling vim to remove the tilde lines when exitting?
>
> Thanks!
>
> Florian

If you are on X11, try applying the following patch to src/feature.h 
(after removing "> " in front of every line):
See http://users.skynet.be/antoine.mechelynck/vim/compunix.htm if you 
need help on how to compile Vim on Unix/Linux.

> --- src/feature.h     2008-08-09 20:40:06.000000000 +0200
> +++ ../vim72/src/feature.h    2008-08-09 20:46:48.000000000 +0200
> @@ -829,13 +829,13 @@
>
>  /*
>   * +xterm_save               The t_ti and t_te entries for the builtin xterm 
> will
>   *                   be set to save the screen when starting Vim and
>   *                   restoring it when exiting.
>   */
> -/* #define FEAT_XTERM_SAVE */
> +#define FEAT_XTERM_SAVE
>
>  /*
>   * DEBUG             Output a lot of debugging garbage.
>   */
>  /* #define DEBUG */
>

IIUC, Vim versions for Unix/Linux compiled without +x11 all suffer from 
this problem, so be sure not to include --without-x in your configure 
arguments.


Best regards,
Tony.
-- 
Really heard in court in the U.S.A.:
Q.: Can you describe that person?
A.: Of average height, with a beard.
Q.: Was it a man or a woman?
A.: Unless there was a circus in town, I'll say a man.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to