Created attachment 447894 [details] patch to handle SIGTSTP by shutting down curses, then refresh after CONT Pinfo has a bug where it can't be used after being continued from job stop in the shell (i.e. control-z). It will eat a CPU after resume, endlessly doing main keypress handling loop because every time it calls curses getch() after suspend, it will get ERR, until curses has been "reset." The terminal needs to be handed back to the calling program (i.e. bash) for suspend, and then refreshed on resume. I am surprised this bug went so long unfixed, because using multiple jobs in a shell seems like a common activity. I debugged this and made the following patch, which works well for me. Please apply. Thanks.
btw I tried mailing both of the authors from AUTHORS on Sept 8th, and then the pinfo-devel mailing list on Sept 13th, but I have not yet received any responses.
er, make that 5th and 8th, respectively
hah, of course, after waiting two weeks, I finally submit the bug here and the upstream maintainer responds. He says he'll roll the patch in "soonish." I will update this bug once it's been done, and hopefully we can cut a new package and get it out as an update.
From maintaner Bas Zoetekouw today: "Just checked into trunk, and made a new release." I verified it's upstream. Could we get a new release to -updates ? Thanks.
pinfo-0.6.10-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/pinfo-0.6.10-1.fc14
pinfo-0.6.10-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/pinfo-0.6.10-1.fc13
pinfo-0.6.10-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update pinfo'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/pinfo-0.6.10-1.fc13
pinfo-0.6.10-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
pinfo-0.6.10-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.