[PC-BSD Testing] gvim problem
kris at pcbsd.org
Mon Aug 30 07:04:24 PDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 08/29/2010 10:32, Łukasz wrote:
> Hi all,
> Let me notice that gvim contains bug which prevents it to start in
> "graphical-mode". It have been mentioned that the fix is in editing
> "set guifont" variable in ~/.gvimrc. Anyway - even if I set this I get also:
> ":1: error: unexpected character `\1', expected keyword - e.g. `style'" error.
This error can be safely ignored, since its a warning about the qtcurve
theme style we use in .gtkrc, doesn't cause any issues from what we've
> 1. Where I can find this "unexpected character" and how to fix it?
> 2. How I can force gvim to use utf-8 characters? I have
> set encoding=utf-8
> set fileencoding=utf-8
> in ~/.vimrc, but standard fonts are not able to display this correctly.
> 3. Why I see only several font types in "font selection menu". How I can
> extend this list?
> 4. Is it possible to give gvim a little bit better look. Now it looks a little
> bit ugly (it is not so important).
As for the rest of these, I'm not an expert on gvim, but on my system I
was able to fix the font crash by re-compiling gvim with the GTK2 option
# cd /usr/ports/editors/vim
# setenv WITH_GTK2 yes
# setenv FORCE_PKG_REGISTER Y
# make install
That seems to make the GTK portion work properly now, and fonts look OK
(I've fixed this in our tree for 8.2 / 9.0, so it builds with this
option on BTW)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the Testing