bug-ncurses
[Top][All Lists]
Advanced

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

Re: Incorrect window sizes after SIGWINCH


From: Thomas Dickey
Subject: Re: Incorrect window sizes after SIGWINCH
Date: Sat, 23 Jun 2001 10:58:07 -0400
User-agent: Mutt/1.2.5i

On Tue, Jun 19, 2001 at 05:09:40PM -0500, Mason, Kody wrote:
> Hi,
> 
> I am using the redhat 5.0-12 release of ncurses inside an application that
> attempts to handle SIGWINCH signals and resize the application WINDOW
> to match the new larger or smaller size.

did redhat make the rpm have a sigwinch handler?  (sometimes they change
their package options w/o noting the reason why).   If the sigwinch hander's
there getmaxyx() would update...
 
> The problem that I see is that the getmaxyx() doesn't seem to notice the 
> change to the WINDOW size...  Even if I endwin() and initscr() after the 
> SIGWINCH happens, I still end up with the original (now incorrect) "maxyx"
> values...
> 
> Any ideas?  Am I missing something here?
> 
> Thanks,
> -Kody
> 
> 
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com



reply via email to

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