Description of problem: vi has a strange cursor-behaviour in edit-mode $ vi test [i] = edit-mode cursors: top => A down => B left => D right => C home, end, page up, page down => inverse upper<->lower case Version-Release number of selected component (if applicable): vim-minimal-6.2.457-1 How reproducible: Always Steps to Reproduce: 1. start "vi test" local 2. start "vi test" via ssh from a fc1-system 3. edit and try to navigate with the cursors Actual Results: strange cursor-behavior in edit-mode i am not able to edit a simple config-file in the usual speed Expected Results: vi should have the same behaviour as in rhl 6.x - fc1 Additional info: clean fresh install fc2t3 # cat /etc/sysconfig/i18n LANG="de_DE.UTF-8" SUPPORTED="de_DE.UTF-8:de_DE:de" SYSFONT="latarcyrheb-sun16"
*** Bug 123891 has been marked as a duplicate of this bug. ***
The problem is caused by the missing /etc/vimrc in vim-minimal. /etc/vimrc at current is only provided with vim-common...Karsten, what was such hard to trigger out that? ;-) The solution I personally prefer is, to break out a -config package. A diff from my solution is below: --- vim.spec 2004-04-09 13:10:24.000000000 +0200 +++ vim.spec.rsc 2004-05-21 16:37:19.000000000 +0200 @@ -555,6 +555,7 @@ %package minimal Summary: A minimal version of the VIM editor. Group: Applications/Editors +Requires: vim-config Obsoletes: vim %description minimal @@ -570,7 +571,7 @@ %package enhanced Summary: A version of the VIM editor which includes recent enhancements. Group: Applications/Editors -Requires: vim-common +Requires: vim-common, vim-config Requires: %(perl -le 'use Config;print $Config{archlibexp}') Obsoletes: vim-color @@ -587,6 +588,14 @@ interpreters for the Python and Perl scripting languages. You'll also need to install the vim-common package. +%package config +Summary: The config file for the the VIM editor. +Group: Applications/Editors + +%description config +This package contains the config file for the minimal and the enhanced +variant of VIM (VIsual editor iMproved). + %if "%{withgui}" == "1" %package X11 Summary: The VIM version of the vi editor for the X Window System. @@ -1247,7 +1256,6 @@ %files common %defattr(-,root,root) -%config(noreplace) /etc/vimrc %doc README* %doc runtime/docs /usr/share/vim @@ -1294,6 +1302,10 @@ %{_mandir}/man1/vimdiff.* %{_mandir}/man1/vimtutor.* +%files config +%defattr(-,root,root) +%config(noreplace) /etc/vimrc + %if "%{withgui}" == "1" %files X11 %defattr(-,root,root)
no, a simple strace would have revealed the problem. I'm just too busy at the moment with other things to spend time on such minor bugs. I'll fix this one during the next round of package updates, although I don't think that I'll add a -config package. Maybe I'll just patch the /bin/vi defaults, but I'm not sure yet.
*** Bug 124367 has been marked as a duplicate of this bug. ***
fixed in the development tree