4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When 't_ti' is not empty but doesn't swap screens, using "ZZ" in
12 an unmodified file doesn't clear the last line.
13 Solution: Call msg_clr_eos() when needed. (Michael Schroeder)
17 *** ../vim-6.2.079/src/os_unix.c Sat Jul 26 21:22:37 2003
18 --- src/os_unix.c Sun Sep 7 23:27:25 2003
24 ! if (msg_use_printf())
40 ! if (newline_on_exit || msg_didout)
42 ! if (msg_use_printf())
54 ! restore_cterm_colors(); /* get original colors back */
55 ! msg_clr_eos(); /* clear the rest of the display */
56 ! windgoto((int)Rows - 1, 0); /* may have moved the cursor */
63 * t_ti does swap pages it should not go to the shell page. Do this
64 * before stoptermcap().
66 ! if (swapping_screen() && !newline_on_exit && msg_didout)
69 /* Stop termcap: May need to check for T_CRV response, which
71 * t_ti does swap pages it should not go to the shell page. Do this
72 * before stoptermcap().
74 ! if (swapping_screen() && !newline_on_exit)
77 /* Stop termcap: May need to check for T_CRV response, which
80 * This is set to TRUE by wait_return().
82 if (!swapping_screen() || newline_on_exit)
84 ! if (newline_on_exit || msg_didout)
88 ! restore_cterm_colors(); /* get original colors back */
89 ! msg_clr_eos(); /* clear the rest of the display */
90 ! windgoto((int)Rows - 1, 0); /* may have moved the cursor */
94 /* Cursor may have been switched off without calling starttermcap()
95 * when doing "vim -u vimrc" and vimrc contains ":q". */
97 * This is set to TRUE by wait_return().
99 if (!swapping_screen() || newline_on_exit)
102 /* Cursor may have been switched off without calling starttermcap()
103 * when doing "vim -u vimrc" and vimrc contains ":q". */
104 *** ../vim-6.2.079/src/version.c Wed Sep 10 22:41:46 2003
105 --- src/version.c Wed Sep 10 22:49:21 2003
109 { /* Add new patch number below this line */
115 To the optimist, the glass is half full.
116 To the pessimist, the glass is half empty.
117 To the engineer, the glass is twice as big as it needs to be.
119 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
120 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
121 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
122 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///