[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses, OS X and terminal size
From: |
Thomas Dickey |
Subject: |
Re: ncurses, OS X and terminal size |
Date: |
Sat, 18 Mar 2006 20:39:47 -0500 (EST) |
On Sat, 18 Mar 2006, Nicholas Cole wrote:
I've been doing some googling on this problem, and it seems to be
something that others have encountered as well.
This link has some C code which demonstrates the problem and which
proves that it is not the python bindings that are at fault but some
problem with curses on OS X.
http://blog.rezra.com/articles/2005/12
Does that help anyone more knowledgeable than me sort out what the problem is?
Thomas - I've downloaded curses and run ./configure as you suggested -
the output is at the foot of this email.
Configuring NCURSES 5.5 ABI 5 (Sat Mar 18 23:13:05 GMT 2006)
...
checking declaration of size-change... yes
this says it found the struct
However, looking at a copy of the Darwin headers that someone gave me,
I see this in <sys/signal.h>
#if !defined(_POSIX_C_SOURCE)
#define SIGWINCH 28 /* window size changes */
#define SIGINFO 29 /* information request */
#endif
It's possible that's related (it's late, but I don't see the -D's echoed
in the trace that would tell whether that is the case; it would be in
config.status).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net