Martin Panter added the comment:
For the record, this is my interpretation of Pavel’s demo:
If you press a key (other than lowercase “q”) or resize the terminal, it
displays the terminal dimensions in the top-left corner. Without Readline, the
dimensions are updated when the terminal resizes.
Changes by A.M. Kuchling a...@amk.ca:
--
nosy: -akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2675
___
___
Python-bugs-list mailing
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2675
___
___
poq p...@gmx.com added the comment:
Just to confirm: curses SIGWINCH handling is still (2.7/3.2) broken after
importing readline.
Readline seems to set the LINES/COLUMNS environment vars, and this confuses
curses, even if curses is imported after readline.
Clearing the LINES/COLUMNS vars
poq p...@gmx.com added the comment:
Issue 3948 is almost certainly a duplicate.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2675
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Well, I can run it, but I have no idea what it is telling me or how it
demonstrates a bug. Pavel, is this still a problem in 2.6/2.7?
--
components: +Extension Modules -None
nosy: +akuchling, r.david.murray
stage: - unit test
Mark Lawrence breamore...@yahoo.co.uk added the comment:
Could somebody witht a nix box try this out, I'd do it myself if I had such a
beast.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2675
New submission from Pavel Bazant [EMAIL PROTECTED]:
When python is in interactive mode, curses does not react to resize
events properly.
test.py:
import curses
def run():
stdscr=curses.initscr()
key=0
while(key!=ord('q')):
key=stdscr.getch()
stdscr.addstr(0,0,str(stdscr.getmaxyx())+'