vile
[Top][All Lists]
Advanced

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

Re: [vile] What do I need to do to get £ sign (GBP , pound sterling) to


From: Chris Green
Subject: Re: [vile] What do I need to do to get £ sign (GBP , pound sterling) to display in vile?
Date: Fri, 9 May 2014 08:10:55 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, May 08, 2014 at 07:07:06PM -0400, Thomas Dickey wrote:
> > > > What is $term-encoding? Which screen did you configure with? tcap,
> > > > curses? ncurses?
> > > 
> > ncurses
> 
> You have to use "ncursesw" to get a UTF-8-capable display.
>  
I don't remember using ncursesw before.  However, more to the point if
I do:-

    ./configure --prefix=/usr --with-perl --with-screen=ncursesw

... and then make, I get a compile error:-

    cd filters && make prefix=/usr DESTDIR= all
    /home/chris/src/vile/vile-9.8/filters
    make[1]: Entering directory `/home/chris/src/vile/vile-9.8/filters'
    gcc -c -I. -I.. -I../filters -I.. -DHAVE_CONFIG_H  -D_GNU_SOURCE
    -D_REENTRANT -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE
    -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.18/CORE
    -I/usr/include/ncursesw -I./filters
    -DVILE_STARTUP_PATH=\"/usr/share/vile\" -g -O2  -fstack-protector
    -fno-strict-aliasing -pipe  atr2ansi.c
    In file included from ../estruct.h:3228:0,
                     from ./flt_defs.h:38,
                     from ./filters.h:12,
                     from ./unfilter.h:9,
                     from atr2ansi.c:6:
    ../proto.h:1369:13: error: conflicting types for ‘setkey’
     extern void setkey (char *schl);
                 ^
    In file included from ../estruct.h:2948:0,
                     from ./flt_defs.h:38,
                     from ./filters.h:12,
                     from ./unfilter.h:9,
                     from atr2ansi.c:6:
    /usr/include/stdlib.h:908:13: note: previous declaration of
    ‘setkey’ was here
     extern void setkey (const char *__key) __THROW __nonnull ((1));
                 ^
    make[1]: *** [atr2ansi.o] Error 1
    make[1]: Leaving directory `/home/chris/src/vile/vile-9.8/filters'
    make: *** [all] Error 2


Switch back to ncurses in configure and it builds OK.
-- 

Chris Green



reply via email to

[Prev in Thread] Current Thread [Next in Thread]