[Top][All Lists]

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

Re: [vile] strange 9.7 vile behavior under FreeBSD

From: Thomas Dickey
Subject: Re: [vile] strange 9.7 vile behavior under FreeBSD
Date: Sat, 21 Jun 2008 10:39:35 -0400 (EDT)

On Wed, 18 Jun 2008, Gary Jennejohn wrote:


I've updated the FreeBSD vile port to 9.7 and now I'm observing _very_
strange behavior.

If I don't make vile with ICONV support, then when I start it, it
totally ignores all keyboard input.  Note that it comes up just fine and
has also loaded the (in my test shmode) appropriate filter.

The last version I'd updated the port to was 9.6e and I know that vile
worked just fine without ICONV support there.  The 9.7 xvile also works
without ICONV support turned on.

I've found a workaround - if ICONV is turned off then if I also turn
off i18n support (--without-iconv --without-locale) then vile works OK.

Conversely, if ICONV is turned on then I also turn on i18n, but I'm not so
certain that's the correct thing to do.  But --with-locale seems to be the
default anyway. which seems questionable to me.

This all seems kind of strange though.


BTW my locale settings:
garyj:peedub:~:-bash:35> locale

Revisiting this - as exactly as I can with my 6.0 FreeBSD, I'm still
not seeing a problem.  I set the locale the same, and am indeed linking
to iconv (different versions of course):

../bin/vile: => /usr/local/lib/ (0x28122000) => /lib/ (0x2820f000) => /usr/local/lib/perl5/5.8.7/mach/CORE/ (0x2824e0> => /lib/ (0x28350000) => /lib/ (0x28366000) => /lib/ (0x2837e000) => /usr/lib/ (0x2838a000) => /lib/ (0x283af000)

I didn't see anything useful in my log-comments for eightbit.c, but
as I mentioned, I seem to recall fixing during development some issue
that would cause vile to ignore input.  That's a thousand lines of
code though (I don't recall whether it was sign-extension or checking
return-values from iconv).

Thomas E. Dickey

reply via email to

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