From mboxrd@z Thu Jan 1 00:00:00 1970 From: bachjh@googlemail.com (Jörg-Hendrik Bach) Date: Wed, 01 Jul 2009 17:42:04 +0200 Subject: [sup-talk] ncurses-ruby-1.2.3 + ncursesw hack breaks search In-Reply-To: <1246437271-sup-7636@cannonball> References: <1246437271-sup-7636@cannonball> Message-ID: <1246462442-sup-1884@BlackMesa> Ingmar Vanhassel, Wed Jul 01 10:38:36 +0200 2009: > Has anyone noticed that newer versions of ncurses-ruby plus that > ncursesw hack [1] (to link to ncurses with widechar support) breaks search? I can confirm the behaviour. > When I search for 'foo', sup launches a search for a bunch of weird > characters, not for 'foo', which obviously returns nothing useful. True. However, with the following workaround, you can get proper search results: - search for foo -> garbled search, no proper results - hit 'x' to destroy the result buffer - hit '\' to search again. - hit uparrow to go to previous search. backspace all the garbled characters there. - repeat the uparrow + remove until it shows your last working search (or until there's no more previous search to go to) - type foo again, hit enter: works. Not that this is the type of thing you'd want to do for a simple search. Guess we'll have to wait for ruby 1.9? cheers, - J?rg-Hendrik > > I can trigger this with ncurses-ruby 1.2.2, 1.2.3. Version 1.1 seems to > be unaffected. > > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477366#52