[PC-BSD Testing] gvim problem

Kris Moore kris at pcbsd.org
Mon Aug 30 07:04:24 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.
> Questions:


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
seen though.


> 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
enabled:

# 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
as well.

(I've fixed this in our tree for 8.2 / 9.0, so it builds with this
option on BTW)


- -- 
Kris Moore
PC-BSD Software
iXsystems
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMe7poAAoJEDv6T4U6J2HSXO4H/1giJekvC3FPS7bmc4aMUavr
rwkKA7ZvOKQe2rojHKja/23cUsKbbBg/pB7yJpGz3XCCDNgwaTggDkVrb6gSka2A
XYugxJRZDqNe1KMARVzzsQCYVXWWdsOyaG3Yu2autohNP1bFqQpJUaZ/yglvKziP
gshcpVcPbPdSHIq+CLaE9zVFpVd+YAt6eGipfFqWfFY1SNe2AonBmbNfCkQrjZqx
mxOpJDkWlixi1VYzqOuU+uLGitcXjx7I9WNsaeQQOItzaSkfRFe4Nk2/rRMAQHyj
G2D70u7Zst69jOEY/9wN3b/soUCPH/36F9StECPIgiWNWykf1+CThgBowBZNc3Y=
=ua71
-----END PGP SIGNATURE-----


More information about the Testing mailing list