Hello all,
I have already disscussed this problem in vim-user mailing list, but
as nobody could solve the problem I decided to post here with the hope
that somebody can help me.
I use vim on slackware-13.0 with lesstif-0.95.0 (a free clone for
Motif) and KDE-4.2.4 as my graphical desktop environment.
To use farsi feature included in vim I used to compile vim-7.1 with:
{{{
./configure \
--prefix=/usr/local/Vim \
--exec-prefix=/usr/local/Vim \
--enable-tclinterp \
--enable-gui=gtk \
--with-vim-name=vim \
--with-ex-name=ex \
--with-view-name=view \
--enable-pythoninterp \
--enable-rubyinterp \
--enable-cscope \
--enable-multibyte \
--enable-fontset \
--with-features=huge \
make
make install
make tags
}}}
To start vim in farsi mode and right-to-left, I used to invoke the
following command: {{{
env LANG=POSIX LC_ALL=POSIX \
vim -geometry 80x48+50+10 -g -fn far-a01 -F "+set fk"
}}}
With the above configuration options and invokation of vim, everything
worked fine with no problem at all.
However `--enable-gui=gtk' is not supported in vim-7.3, so I used
`--enable-gui=auto' option which is the default, but with this option,
when I press a key, instead of the Farsi character, only a rectangular
box is displayed on the vim window. Even in English mode, an extra space
is displayed between adjacent characters if I use the above font.
So, after some trial and error, I compiled vim-7.3 with
`--enable-gui=motif --with-x' instead of `--enable-gui=gtk', and with
these options up to now I have two problems:
1- Although I can copy from an xterm window to vim window (by
selecting with left mouse button and then doing a paste using a click
of the middle mouse button), I cannot copy from vim window to an xterm
window.
2- In toolbar the icons are cut off (only upper half part of icons are
displayed).
Any help would be gratefully appreciated.
Thanks - Hussain
BTW: The `vim --version' output is: {{{
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep 20 2010 20:03:57)
Included patches: 1-3
Modified by Hussain
Compiled by Hussain
Huge version with X11-Motif GUI. Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
+cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info
+comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff
+digraphs -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi
+file_in_path +find_in_path +float +folding -footer +fork() +gettext
-hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall
+linebreak +lispindent +listcmds +localmap -lua +menu +mksession
+modify_fname
+mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm
-mouse_sysmouse +mouse_xterm +multi_byte +multi_lang -mzscheme
+netbeans_intg
-osfiletype +path_extra -perl +persistent_undo +postscript +printer
+profile
+python -python3 +quickfix +reltime +rightleft +ruby +scrollbind +signs
+smartindent -sniff +startuptime +statusline -sun_workshop +syntax
+tag_binary
+tag_old_static -tag_any_white +tcl +terminfo +termresponse +textobjects
+title
+toolbar +user_commands +vertsplit +virtualedit +visual +visualextra
+viminfo
+vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset +xim
+xsmp_interact +xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/local/Vim/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF
-DFUNCPROTO=15 -DNARROWPROTO -I/usr/X11R6/include -O2
-D_FORTIFY_SOURCE=1 -I/usr/include -D_LARGEFILE64_SOURCE=1
-I/usr/lib/ruby/1.8/i486-linux -DRUBY_VERSION=18
Linking: gcc -L/usr/X11R6/lib -L. -rdynamic -Wl,-export-dynamic
-L/usr/local/lib -o vim -lXmu -lXext -lXm -lncurses -liconv -lacl -lgpm
-L/usr/local/bin/../Python/lib/python2.7/config -lpython2.7 -lutil
-Xlinker -export-dynamic -L/usr/lib -ltcl8.5 -lieee -Wl,-R -Wl,/usr/lib
-L/usr/lib -lruby -lrt -lm
}}}
--
You received this message from the "vim_dev" 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