--- vte-0.16.14.orig/src/vte.c	2008-05-27 04:27:06.000000000 -0400
+++ vte-0.16.14/src/vte.c	2008-06-12 22:14:45.000000000 -0400
@@ -10328,7 +10328,7 @@
 		 * so fake a few cursor keystrokes. */
 
 		_vte_keymap_map (
-				cnt > 0 ? GDK_Down : GDK_Up,
+				cnt > 0 ? GDK_Page_Down : GDK_Page_Up,
 				terminal->pvt->modifiers,
 				terminal->pvt->sun_fkey_mode,
 				terminal->pvt->hp_fkey_mode,
@@ -10342,12 +10342,8 @@
 				&normal,
 				&normal_length,
 				&special);
-		if (cnt < 0)
-			cnt = -cnt;
-		for (i = 0; i < cnt; i++) {
-			vte_terminal_feed_child_using_modes (terminal,
-					normal, normal_length);
-		}
+		vte_terminal_feed_child_using_modes (terminal,
+				normal, normal_length);
 		g_free (normal);
 	} else {
 		/* Perform a history scroll. */
