bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Re: resize bug with putty (last ncurses) [update]


From: Thomas Dickey
Subject: Re: Fwd: Re: resize bug with putty (last ncurses) [update]
Date: Tue, 24 Jun 2003 15:10:47 -0400
User-agent: Mutt/1.3.28i

On Tue, Jun 24, 2003 at 07:45:55PM +0200, Folkert van Heusden wrote:
> Hi,
> 
> Please read the attached mail: there seems to be a problem with resizing 
> terminals. Small steps go fine but, for example, resizing from 70x12 to 
> 200x60 fails.

perhaps it's a bug in PuTTY.  I've used resizing on xterm with the
"unreadable" font, making a large picture.  Just checking, I can see
800x300.  Here's a slice of ps showing it (using a lot of memory):

  F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
100 S root      1550  1549  8  65   5 -  1662 select 15:02 pts/1    00:00:29 
xterm -fg white -bg black -bd white -fn 10x20
100 S tom       1551  1550  0  65   5 -   840 rt_sig 15:02 pts/3    00:00:00 
-csh
000 S tom       1600  1551 21  69   5 - 21984 read_c 15:05 pts/3    00:00:33 
ncursesw

> The problem is then that creating a (new) window with the new size reported 
> by 
> ioctl(STDIN_FILENO, TIOCGWINSZ, &size) fails.
> My code is then:
> #ifdef N_CURSES
>       if (ERR == resizeterm(max_y, max_x)) error_exit("problem resizeing 
> terminal\n");
> #endif

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]