[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-talk] Patch for ncursesw branch (use panelw and formw)



I noticed that the ncursesw branch implements only the first part of the
wide-char fixes suggested in the extconf patch in
http://rubyforge.org/pipermail/sup-talk/2007-October/000297.html.

Entering UTF-8 characters in the textfields ('To', 'Subject', 'Alias')
still doesn't work.

It worked fine, though, applied the second part of the patch as well.
This is the diff against ncursesw:

diff --git a/ncurses-0.9.1/extconf.rb b/ncurses-0.9.1/extconf.rb
index a559385..7c4d2c2 100644
--- a/ncurses-0.9.1/extconf.rb
+++ b/ncurses-0.9.1/extconf.rb
@@ -118,11 +118,11 @@ have_func("attr_get")
 
 puts "checking for the panel library..."
 if have_header("panel.h")
-  have_library("panel", "panel_hidden")
+  have_library("panelw", "panel_hidden")
 end
 puts "checking for the form library..."
 if have_header("form.h")
-  have_library("form", "new_form")
+  have_library("formw", "new_form")
 end
 
 create_makefile('ncurses')
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk