diff -cr o/vte-0.12.2/debian/changelog o2/vte-0.12.2/debian/changelog
*** o/vte-0.12.2/debian/changelog	2007-11-14 14:09:48.000000000 -0800
--- o2/vte-0.12.2/debian/changelog	2007-11-14 14:28:56.000000000 -0800
***************
*** 1,9 ****
- vte (1:0.12.2-5-dpk1) untable; urgency=medium
- 
-   * Make it so alt screen functionality does not work as advertised.
- 
-  -- David Kirchner <dpk@dpk.net>  Wed, 14 Nov 2007 22:06:07 +0000
- 
  vte (1:0.12.2-5) unstable; urgency=medium
  
    * Add a get-orig-source target to retrieve the upstream tarball.
--- 1,3 ----
Only in o/vte-0.12.2/src: ooo
diff -cr o/vte-0.12.2/src/vteseq.c o2/vte-0.12.2/src/vteseq.c
*** o/vte-0.12.2/src/vteseq.c	2007-11-14 14:32:11.000000000 -0800
--- o2/vte-0.12.2/src/vteseq.c	2006-03-26 17:55:17.000000000 -0800
***************
*** 553,566 ****
  		 GINT_TO_POINTER(FALSE),
  		 GINT_TO_POINTER(TRUE),
  		 NULL, NULL,},
! 		/* 47: Alternate screen. Modified by dpk. */
! 		/*{47, NULL, NULL, (gpointer*) &terminal->pvt->screen,
  		 &terminal->pvt->normal_screen,
  		 &terminal->pvt->alternate_screen,
- 		 NULL, NULL,},*/
- 		{47, NULL, NULL, NULL,
- 		 NULL,
- 		 NULL,
  		 NULL, NULL,},
  		/* 66: Keypad mode. */
  		{66, &terminal->pvt->keypad_mode, NULL, NULL,
--- 553,562 ----
  		 GINT_TO_POINTER(FALSE),
  		 GINT_TO_POINTER(TRUE),
  		 NULL, NULL,},
! 		/* 47: Alternate screen. */
! 		{47, NULL, NULL, (gpointer*) &terminal->pvt->screen,
  		 &terminal->pvt->normal_screen,
  		 &terminal->pvt->alternate_screen,
  		 NULL, NULL,},
  		/* 66: Keypad mode. */
  		{66, &terminal->pvt->keypad_mode, NULL, NULL,
***************
*** 602,615 ****
  		 NULL, NULL,},
  		/* 1037: disallowed, delete key policy is set by user. */
  		{1037, NULL, NULL, NULL, NULL, NULL, NULL, NULL,},
! 		/* 1047: Use alternate screen buffer. Modified by dpk. */
! 		/*{1047, NULL, NULL, (gpointer*) &terminal->pvt->screen,
  		 &terminal->pvt->normal_screen,
  		 &terminal->pvt->alternate_screen,
- 		 NULL, NULL,},*/
- 		{1047, NULL, NULL, NULL,
- 		 NULL,
- 		 NULL,
  		 NULL, NULL,},
  		/* 1048: Save/restore cursor position. */
  		{1048, NULL, NULL, NULL,
--- 598,607 ----
  		 NULL, NULL,},
  		/* 1037: disallowed, delete key policy is set by user. */
  		{1037, NULL, NULL, NULL, NULL, NULL, NULL, NULL,},
! 		/* 1047: Use alternate screen buffer. */
! 		{1047, NULL, NULL, (gpointer*) &terminal->pvt->screen,
  		 &terminal->pvt->normal_screen,
  		 &terminal->pvt->alternate_screen,
  		 NULL, NULL,},
  		/* 1048: Save/restore cursor position. */
  		{1048, NULL, NULL, NULL,
***************
*** 618,633 ****
  		 vte_sequence_handler_rc,
  		 vte_sequence_handler_sc,},
  		/* 1049: Use alternate screen buffer, saving the cursor
! 		 * position. Modified by dpk. */
! 		/*{1049, NULL, NULL, (gpointer*) &terminal->pvt->screen,
  		 &terminal->pvt->normal_screen,
  		 &terminal->pvt->alternate_screen,
  		 vte_sequence_handler_rc,
- 		 vte_sequence_handler_sc,},*/
- 		{1049, NULL, NULL, NULL,
- 		 NULL,
- 		 NULL,
- 		 vte_sequence_handler_rc,
  		 vte_sequence_handler_sc,},
  		/* 1051: Sun function key mode. */
  		{1051, NULL, NULL, (gpointer*) &terminal->pvt->sun_fkey_mode,
--- 610,620 ----
  		 vte_sequence_handler_rc,
  		 vte_sequence_handler_sc,},
  		/* 1049: Use alternate screen buffer, saving the cursor
! 		 * position. */
! 		{1049, NULL, NULL, (gpointer*) &terminal->pvt->screen,
  		 &terminal->pvt->normal_screen,
  		 &terminal->pvt->alternate_screen,
  		 vte_sequence_handler_rc,
  		 vte_sequence_handler_sc,},
  		/* 1051: Sun function key mode. */
  		{1051, NULL, NULL, (gpointer*) &terminal->pvt->sun_fkey_mode,
***************
*** 772,778 ****
  	case 1049:
  		/* Clear the alternate screen if we're switching
  		 * to it, and home the cursor. */
- 		if (0) { /* dpk was here */
  		if (set) {
  			vte_sequence_handler_clear_screen(terminal,
  							  NULL,
--- 759,764 ----
***************
*** 790,797 ****
  		_vte_terminal_match_contents_clear(terminal);
  		/* Notify viewers that the contents have changed. */
  		_vte_terminal_emit_contents_changed(terminal);
- 		}
- 		vte_sequence_handler_ll (terminal, NULL, 0, NULL); /* dpk */
  		break;
  	case 9:
  	case 1000:
--- 776,781 ----

