[Top][All Lists]

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

Re: [Pythonmac-SIG] resizing terminal and curses

From: Thomas Dickey
Subject: Re: [Pythonmac-SIG] resizing terminal and curses
Date: Sun, 19 Mar 2006 10:00:20 -0500 (EST)

On Sun, 19 Mar 2006, Nicholas Cole wrote:

On 3/19/06, Thomas Dickey <address@hidden> wrote:

If ncurses cannot check for the actual screen size (a possible issue
with the compiled-in code depending on SIGWINCH as noted yesterday),
the script shown won't affect ncurses notion of the screen size.

Just as I thought.  I was just trying to provide as much information
as possible so that someone who is able to write a fix (I'm afraid
that is quite beyond me!) will have as much to work with as possible.

"should" work to use resizeterm() to tell ncurses that the screen size
has changed.

I don't think python exposes that function.

But (back to the original problem) fixing ncurses' port to OS X would
make this problem moot.  I'd like to see if SIGWINCH is defined or not -
part of seeing where the problem may lie.  It is simple to see if SIGWINCH
was defined when ncurses was compiled since _nc_handle_sigwinch() would
appear in a "nm" of the ncurses library.

Thomas E. Dickey

reply via email to

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