Created attachment 743309 [details] Test case Since updating ncurses to 5.9-10.20130413, some terminal-based editors no longer work correctly. This applies to both F17 and F18. Version 5.9-7.20121017 definitely worked. A testcase is attached. It should insert the word "hello" before the word "world", pausing for a key-press after each letter. However, it just succeeds in moving the cursor without displaying the inserted letters. It was tried in both an xterm and a gnome-terminal, each with TERM=xterm. Removing the COLOR_PAIR attribute from the character to be inserted makes the program work. (The colours themselves are largely irrelevant; it seems to be the presence of the attribute in the argument to insch() that triggers the bug.)
CCing upstream maintainer.
thanks - I can see some breakage (will investigate).
The cause was the fix noted here: http://invisible-island.net/ncurses/NEWS-contents.html#t20121215 Essentially, Coverity pointed out that the comparison I was making was always true due to a macro. I removed the macro without noticing the reason I'd used it originally. I'm reworking that part of the code, and the fix will be in today's patch.
ncurses-5.9-11.20130511.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/ncurses-5.9-11.20130511.fc17
ncurses-5.9-11.20130511.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/ncurses-5.9-11.20130511.fc19
ncurses-5.9-11.20130511.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/ncurses-5.9-11.20130511.fc18
Thanks for the quick fix, Thomas. I've created updates for F17, F18, F19.
no problem (report bugs)
Package ncurses-5.9-11.20130511.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ncurses-5.9-11.20130511.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-8086/ncurses-5.9-11.20130511.fc18 then log in and leave karma (feedback).
ncurses-5.9-11.20130511.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
ncurses-5.9-11.20130511.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
ncurses-5.9-11.20130511.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.