On Monday 19 July 2010 22:16:40 Denys Vlasenko wrote: > Ah, FEATURE_**VI**_ASK_TERMINAL. I thought you test it with shell...
I tested both, the behavior was the same. 80x25. (I'm assuming that hitting "enter" a couple times re-detects the shell input line size, and I don't have to exit and re-start the shell.) > FEATURE_VI_ASK_TERMINAL case is similar: > > # if ENABLE_FEATURE_VI_ASK_TERMINAL > if (!G.get_rowcol_error) > G.get_rowcol_error = > # endif > get_terminal_width_height(STDIN_FILENO, &columns, > &rows); > > I need to know whether here G.get_rowcol_error gets set to 1, > and if not, why... can you take a look? gre=1 Yet when I resize the window and then try to cursor around in a file that goes off the right edge of the screen, it's very unhappy. (Well, if I make it bigger it happily gives me an 80x25 chunk in the upper left corner, and scrolls within it, but if I make it smaller it goes all wrappy and strange.) Rob -- GPLv3: as worthy a successor as The Phantom Meanace, as timely as Duke Nukem Forever, and as welcome as New Coke. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
