On Mon, Jan 14, 2008 at 09:00:43PM +0100, Helmut Grohne <[EMAIL PROTECTED]> was heard to say: > aptitude immediately aborts after pressing certain keys keyboard > printing the following message: > > Uncaught exception: Unable to read from stdin: Invalid or incomplete > multibyte or wide character > > This behaviour can be provoked by pressing ^ or § for instance. German > umlauts like ü (latin1: 0xfc) work as well.
Hi, This looks to me like some sort of locale problem, but it doesn't happen here even if I duplicate your locale settings. Could you try running LC_ALL=de_DE aptitude LC_ALL=de_DE.UTF-8 aptitude and see if you can still reproduce this bug? I'm not quite sure what aptitude can do in this case, since it sounds like your locale is set up in a way that keeps curses from reading multibyte characters. Presumably crashing is non-ideal, though. One option would be to try to capture the errno value and somehow handle it, maybe by throwing away the incomprehensible character and beeping? Thanks, Daniel