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
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to