[Patches] [ python-Patches-1506645 ] curses.resizeterm()

SourceForge.net noreply at sourceforge.net
Sat Jun 17 09:00:56 CEST 2006


Patches item #1506645, was opened at 2006-06-15 08:53
Message generated for change (Comment added) made by geekmug
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1506645&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Nobody/Anonymous (nobody)
Summary: curses.resizeterm()

Initial Comment:
This patch add curses.resizeterm()

----------------------------------------------------------------------

Comment By: Scott Dial (geekmug)
Date: 2006-06-17 03:00

Message:
Logged In: YES 
user_id=383208

I have taken the liberty (and my inability to sleep) to
update this patch in accordance with the recommendation of a
configure check. This version also includes is_term_resized
which goes along with the resize[_]term functions.

http://scottdial.com/python-dev/curses-resizeterm.diff

* It is worthy of note that my version of autoconf seemed to
want to quote some things that the trunk version didn't so
it perhaps you'd like to run "autoconf" to be safe.

----------------------------------------------------------------------

Comment By: Walter Dörwald (doerwalter)
Date: 2006-06-16 03:48

Message:
Logged In: YES 
user_id=89016

Isn't it sufficient that the code is in the #ifdef
STRICT_SYSV_CURSES block?

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-06-16 01:11

Message:
Logged In: YES 
user_id=21627

AFAICT, Solaris curses does not have resize_term, so you
need to add a configure test for it.

----------------------------------------------------------------------

Comment By: Walter Dörwald (doerwalter)
Date: 2006-06-15 09:06

Message:
Logged In: YES 
user_id=89016

This second version adds a wrapper for resize_term() too.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1506645&group_id=5470


More information about the Patches mailing list