Wednesday, July 28, 2010

Re: some bugs

Втр, 27 Июл 2010, Tony Mechelynck писал(а):
> On 27/07/10 18:44, bill lam wrote:
> >Втр, 27 Июл 2010, Tony Mechelynck писал(а):
> >>On 27/07/10 12:51, Boyko Bantchev wrote:
> >>>Recently I've spotted the following problems using
> >>>GUI (GTK2) Vim 7.2.330 on Ubuntu 10.04 (April 2010)
> >>>with GNOME 2.30.2 (build 25.6.2010).
> >>>
> >>>-1-
> >>>Unicode characters with grave (U+0300) or acute (U+0301)
> >>>combining accents do not display correctly.
> >>>
> >>>-2-
> >>>The following behaviour contradicts the documentation:
> >>> :echo str2float('1.23') prints 1,0 (instead of 1.23)
> >>> :echo str2float('1,23') prints 1,23 (instead of 1.0)
> >>>(The documentation for str2float() says that the decimal point is
> >>>always '.', regardless of the locale setting.)
> >>>
> >>>-3-
> >>>Furthermore, *neither* of
> >>> :echo eval('1.23')
> >>>and
> >>> :echo eval('1,23')
> >>>evaluates to a correct floating-point number, printing an error
> >>>message instead (both the dot and the comma are rejected).
> >>>
> >>>As a result, no normal floating-point computations can be done
> >>>within this version of gVim.
> >>>
> >>>The terminal version of Vim does *not* have these bugs.
> >>>
> >>> ~~~~~~~~~~~~~
> >>>
> >>>Also, on the same system, I tried to compile vim 7.3b.
> >>>Running the configure script failed, suggesting that I should
> >>>install ncurses – which I do have installed already.
> >>>
> >>>Do others share the same experience?
> >>>
> >>>Regards,
> >>> Boyko
> >>>
> >>
> >>You may have ncurses, but do you have ncurses-dev ?
> >>
> >>In general, you need _development_ versions of everything that the
> >>program you're compiling will use: packagename contains the libraries
> >>needed to run executable using the package "packagename",
> >>packagename-dev contains the include files etc. needed to compile
> >>them; to compile and run you need both.
> >>
> >>I've been told that running "apt-get build-dep<packagename>" will
> >>install everything you need to build<packagename> yourself, but I'm
> >>on openSUSE Linux myself, which uses a different family of software
> >>tools (YaST, zypper, libzypp, etc.) to install software packages so I
> >>cannot check it.
> >
> >I can build but I notice its ./configure
> >1. there is not provision to use ncursesw
> >2. ncurses will be always linked even when termcap/termlib is used.
> >
> >I guess ncurses is actually not used in the vim built or chinese
> >characters won't displayed properly.
> >
>
> On Linux, any GUI build of Vim can also double as a Console version,
> so it needs some ncurses package in addition to its GTK, Motif or
> whatever GUI package.
>
> My GTK2/Gnome2 gvim has -lncurses as one of the space-separated
> arguments on its "Linker" line. It can display hanzi with no problem
> in GUI mode, or in a konsole terminal. In xterm many hanzi are
> replaced by empty rectangles, but not all, so I suppose the font used
> by my xterm terminal hasn't got all the needed glyphs. mlterm is
> better than xterm but not as good as konsole. The Linux console is
> worse than anything: there, even U+4E00 (the number one, a single
> horizontal strike) is shown as a reverse-video question mark.

I usually use xterm and vim does not any problem in displaying
characters. FYI fonts of xterm can be configured in ~/.Xresources
XTerm*VT100*faceNameDoublesize: AR PL UMing HK

or your favourite xft font.

--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: