]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.080
- manpaged md5 fix
[packages/vim.git] / 6.2.080
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.080
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 6.2.080
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)
14 Files:      src/os_unix.c
15
16
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
19 ***************
20 *** 2553,2567 ****
21       static void
22   exit_scroll()
23   {
24 !     if (msg_use_printf())
25       {
26 !       if (info_message)
27 !           mch_msg("\n");
28         else
29 !           mch_errmsg("\r\n");
30       }
31       else
32 !       out_char('\n');
33   }
34   
35       void
36 --- 2553,2576 ----
37       static void
38   exit_scroll()
39   {
40 !     if (newline_on_exit || msg_didout)
41       {
42 !       if (msg_use_printf())
43 !       {
44 !           if (info_message)
45 !               mch_msg("\n");
46 !           else
47 !               mch_errmsg("\r\n");
48 !       }
49         else
50 !           out_char('\n');
51       }
52       else
53 !     {
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 */
57 !     }
58   }
59   
60       void
61 ***************
62 *** 2588,2594 ****
63          * t_ti does swap pages it should not go to the shell page.  Do this
64          * before stoptermcap().
65          */
66 !       if (swapping_screen() && !newline_on_exit && msg_didout)
67             exit_scroll();
68   
69         /* Stop termcap: May need to check for T_CRV response, which
70 --- 2597,2603 ----
71          * t_ti does swap pages it should not go to the shell page.  Do this
72          * before stoptermcap().
73          */
74 !       if (swapping_screen() && !newline_on_exit)
75             exit_scroll();
76   
77         /* Stop termcap: May need to check for T_CRV response, which
78 ***************
79 *** 2600,2615 ****
80          * This is set to TRUE by wait_return().
81          */
82         if (!swapping_screen() || newline_on_exit)
83 !       {
84 !           if (newline_on_exit || msg_didout)
85 !               exit_scroll();
86 !           else
87 !           {
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 */
91 !           }
92 !       }
93   
94         /* Cursor may have been switched off without calling starttermcap()
95          * when doing "vim -u vimrc" and vimrc contains ":q". */
96 --- 2609,2615 ----
97          * This is set to TRUE by wait_return().
98          */
99         if (!swapping_screen() || newline_on_exit)
100 !           exit_scroll();
101   
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
106 ***************
107 *** 632,633 ****
108 --- 632,635 ----
109   {   /* Add new patch number below this line */
110 + /**/
111 +     80,
112   /**/
113
114 -- 
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.
118
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  ///
This page took 0.032217 seconds and 3 git commands to generate.