On Sun, Nov 18, 2007 at 12:48:33PM +0100, Matthias Bläsing <[EMAIL PROTECTED]> was heard to say: > when I run "sudo aptitude" in a terminal and close that terminal, while > aptitude is still running, aptitude does not exit as expected, but > instead goes to consuming all available cpu cylces.
It looks like the problem is that the input thread doesn't notice that it got EOF on standard input (just redirecting from /dev/null will do the same thing). I've added some code that should catch this case and abort the program. Daniel