Re: ncursesw

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Pieuchot
Subject: Re: ncursesw
Date: Wednesday, August 25, 2010 - 7:10 am

Hi,

On 25/08/10(Wed) 09:32, Nicholas Marriott wrote:

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ncursesw, Nicholas Marriott, (Sun Aug 22, 5:36 pm)
Re: ncursesw, Landry Breuil, (Sun Aug 22, 11:17 pm)
Re: ncursesw, Christian Weisgerber, (Mon Aug 23, 6:04 am)
Re: ncursesw, Christian Weisgerber, (Tue Aug 24, 7:22 am)
Re: ncursesw, Nicholas Marriott, (Tue Aug 24, 12:56 pm)
Re: ncursesw, Landry Breuil, (Tue Aug 24, 2:05 pm)
Re: ncursesw, Nicholas Marriott, (Wed Aug 25, 12:48 am)
Re: ncursesw, Landry Breuil, (Wed Aug 25, 1:01 am)
Re: ncursesw, Nicholas Marriott, (Wed Aug 25, 1:27 am)
Re: ncursesw, Nicholas Marriott, (Wed Aug 25, 1:32 am)
Re: ncursesw, Stuart Henderson, (Wed Aug 25, 1:33 am)
Re: ncursesw, Nicholas Marriott, (Wed Aug 25, 6:44 am)
Re: ncursesw, Martin Pieuchot, (Wed Aug 25, 7:10 am)
Re: ncursesw, Nicholas Marriott, (Wed Aug 25, 9:00 am)
Re: ncursesw, Martin Pieuchot, (Wed Aug 25, 9:10 am)
Re: ncursesw, Nicholas Marriott, (Wed Aug 25, 10:29 am)
Re: ncursesw, Nicholas Marriott, (Wed Aug 25, 10:56 am)
Re: ncursesw, Martin Pieuchot, (Wed Aug 25, 11:51 am)
Re: ncursesw, Nicholas Marriott, (Mon Aug 30, 1:51 am)