Karsten Hopp 555eed
To: vim-dev@vim.org
Karsten Hopp 555eed
Subject: Patch 7.2.118
Karsten Hopp 555eed
Fcc: outbox
Karsten Hopp 555eed
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 555eed
Mime-Version: 1.0
Karsten Hopp 555eed
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 555eed
Content-Transfer-Encoding: 8bit
Karsten Hopp 555eed
------------
Karsten Hopp 555eed
Karsten Hopp 555eed
Patch 7.2.118
Karsten Hopp 555eed
Problem:    <PageUp> at the more prompt only does half a page.
Karsten Hopp 555eed
Solution:   Make <PageUp> go up a whole page.  Also make 'f' go a page
Karsten Hopp 555eed
            forward, but not quit the more prompt. (Markus Heidelberg)
Karsten Hopp 555eed
Files:      src/message.c
Karsten Hopp 555eed
Karsten Hopp 555eed
Karsten Hopp 555eed
*** ../vim-7.2.117/src/message.c	Wed Feb 11 18:46:48 2009
Karsten Hopp 555eed
--- src/message.c	Fri Feb 20 05:20:15 2009
Karsten Hopp 555eed
***************
Karsten Hopp 555eed
*** 976,982 ****
Karsten Hopp 555eed
  		    }
Karsten Hopp 555eed
  		}
Karsten Hopp 555eed
  		else if (msg_scrolled > Rows - 2
Karsten Hopp 555eed
! 				     && (c == 'j' || c == K_DOWN || c == 'd'))
Karsten Hopp 555eed
  		    c = K_IGNORE;
Karsten Hopp 555eed
  	    }
Karsten Hopp 555eed
  	} while ((had_got_int && c == Ctrl_C)
Karsten Hopp 555eed
--- 976,982 ----
Karsten Hopp 555eed
  		    }
Karsten Hopp 555eed
  		}
Karsten Hopp 555eed
  		else if (msg_scrolled > Rows - 2
Karsten Hopp 555eed
! 			 && (c == 'j' || c == K_DOWN || c == 'd' || c == 'f'))
Karsten Hopp 555eed
  		    c = K_IGNORE;
Karsten Hopp 555eed
  	    }
Karsten Hopp 555eed
  	} while ((had_got_int && c == Ctrl_C)
Karsten Hopp 555eed
***************
Karsten Hopp 555eed
*** 2504,2510 ****
Karsten Hopp 555eed
  	    break;
Karsten Hopp 555eed
  
Karsten Hopp 555eed
  	case 'u':		/* Up half a page */
Karsten Hopp 555eed
- 	case K_PAGEUP:
Karsten Hopp 555eed
  	    scroll = -(Rows / 2);
Karsten Hopp 555eed
  	    break;
Karsten Hopp 555eed
  
Karsten Hopp 555eed
--- 2504,2509 ----
Karsten Hopp 555eed
***************
Karsten Hopp 555eed
*** 2513,2522 ****
Karsten Hopp 555eed
--- 2512,2523 ----
Karsten Hopp 555eed
  	    break;
Karsten Hopp 555eed
  
Karsten Hopp 555eed
  	case 'b':		/* one page back */
Karsten Hopp 555eed
+ 	case K_PAGEUP:
Karsten Hopp 555eed
  	    scroll = -(Rows - 1);
Karsten Hopp 555eed
  	    break;
Karsten Hopp 555eed
  
Karsten Hopp 555eed
  	case ' ':		/* one extra page */
Karsten Hopp 555eed
+ 	case 'f':
Karsten Hopp 555eed
  	case K_PAGEDOWN:
Karsten Hopp 555eed
  	case K_LEFTMOUSE:
Karsten Hopp 555eed
  	    scroll = Rows - 1;
Karsten Hopp 555eed
*** ../vim-7.2.117/src/version.c	Sun Feb 22 00:01:42 2009
Karsten Hopp 555eed
--- src/version.c	Sun Feb 22 00:57:16 2009
Karsten Hopp 555eed
***************
Karsten Hopp 555eed
*** 678,679 ****
Karsten Hopp 555eed
--- 678,681 ----
Karsten Hopp 555eed
  {   /* Add new patch number below this line */
Karsten Hopp 555eed
+ /**/
Karsten Hopp 555eed
+     118,
Karsten Hopp 555eed
  /**/
Karsten Hopp 555eed
Karsten Hopp 555eed
-- 
Karsten Hopp 555eed
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 555eed
109. You actually read -- and enjoy -- lists like this.
Karsten Hopp 555eed
Karsten Hopp 555eed
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 555eed
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 555eed
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 555eed
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///