On 14/04/09 00:49, smu johnson wrote: > Tony, > > Thanks for writing back regarding the Unicode japanese problem i'm > having. I don't think it's a Shift-JIS problem as a tend to use UNICODE > only as it makes life easy. However, the two tests you got me to do, > multi_byte and iconv, both were zero. Perhaps I should look into > recoming Vim? Or should I look for a binary somewhere? Any hints? > > If you suggest I toy around with the ./configure stuff, then I can plug > away at it. > > Any tips much appreciated! > > -- > smu johnson <[email protected] <mailto:[email protected]>> >
IIRC, you're on a Unix-like OS. Even there, "how" to get a working Vim binary may depend on your distribution. For instance, on RedHat or SuSE, there are usually four Vim packages, namely, vim-common, vim-minimal, vim-enhanced and vim-x11, as follows: - vim-common contains the common files; it must be installed for any of the others to work properly. - vim-minimal is a stripped-down executable with "tiny" features, no expression evaluation, no multibyte, and no GUI. It installs as /bin/vi i.e., it is available even in single-user emergency-repairs mode and even if only the / filesystem is mounted. That is, IMHO, it's only redeeming feature. - vim-enhanced is a bigger executable with alllmost everything except clipboard support and GUI; it installs as /usr/bin/vim - vim-x11 is a GUI version, it installs as gvim and I'm not sure in which $PATH directory. All these can be installed together if you want to. If you want to run a binary which supports multibyte encodings, be sure you invoke vim or gvim (but not vi) and also make sure that the necessary packages are installed. But the recommended way on Unix/Linux is to compile your own Vim from Bram's official sources. It will then include exactly the features you want, and it will install as /usr/local/bin/vim even if it's GUI-enabled. (On Linux, but not on Windows, a single executable can work in both GUI mode and Console mode at different times.) This install location means that it's ahead of all other possible vim versions from your distribution in the $PATH. See at http://users.skynet.be/antoine.mechelynck/vim/compunix.htm how I compile my own Vim on 32-bit Linux. Best regards, Tony. -- Those of you who think you know everything are very annoying to those of us who do. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
