Hi,

On 25/08/10(Wed) 09:32, Nicholas Marriott wrote:
> And now avec widechar man pages and MLINKs (no other changes).
> [...]

I've tested mutt, tig and ncmpc on amd64, and they all work fine
in a standard xterm. However, when I use any of the three apps in
a tmux session (tmux -u) I get some strange visuals when a special
character is displayed (until the window is totally redrawn, when
I change its size for example). Here is a screen of a nested mutt
(left) and the same directly opened in an xterm (right):
        http://nolizard.org/obsd/tmux_ncurses_utf8.jpg


Below is the modification to tig's configure in order to check
both ncursesw/ncurses.h and ncurses.h for widechar.

Martin

--- configure.orig      Sat Jun 12 21:08:59 2010
+++ configure   Wed Aug 25 17:27:28 2010
@@ -3201,16 +3220,21 @@
 done


-for ac_header in ncursesw/ncurses.h
+for ac_header in ncursesw/ncurses.h ncurses.h
 do :
-  ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/ncurses.h" 
"ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default"
-if test "x$ac_cv_header_ncursesw_ncurses_h" = x""yes; then :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header
+" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" 
"$ac_includes_default"
+eval as_val=\$$as_ac_Header
+   if test "x$as_val" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_NCURSESW_NCURSES_H 1
+#define `$as_echo "HAVE_$ac_header
+" | $as_tr_cpp` 1
+
 _ACEOF
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing 
initscr" >&5
 $as_echo_n "checking for library containing initscr... " >&6; }
-if test "${ac_cv_search_initscr+set}" = set; then :
+if test "${ac_cv_search_initscr_+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS

Reply via email to