It appears the problem is caused by 20_restricted_region_readjustment.patch. 
When I removed that patch curses programs started working again on the
third tab.

I've included a simple ncurses program to show you the problem. Compile
with gcc ncurses.c -lncurses -std=c99 -o vte-bug-demo
You can then run bte-bug-demo. You should get numbers going all the way
down the screen, but when the bug manifests itself it starts scrolling
at line 24. 

-- 
David Pashley
[EMAIL PROTECTED]
Nihil curo de ista tua stulta superstitione.
#include <ncurses.h>       /* ncurses.h includes stdio.h */  
#include <string.h> 
#define _XOPEN_SOURCE 500
#include <unistd.h>
 
int main()
{
 char mesg[]="Just a string";    /* message to be appeared on the screen */
 int row,col;           /* to store the number of rows and *
                * the number of colums of the screen */
 initscr();          /* start the curses mode */
 getmaxyx(stdscr,row,col);    /* get the number of rows and columns */

 for (int i = 1; i < row; ++i ) {
    mvprintw(i,0,"%d", i);
    sleep(1);
    refresh();
 }
 mvprintw(row-2,0,"This screen has %d rows and %d columns\n",row,col);
 printw("Try resizing your window(if possible) and then run this program again");
 refresh();
 getch();
 endwin();

 return 0;
}

Reply via email to