Red Hat Bugzilla – Bug 38961
vimtutor opens a blank file instead of the tutorial
Last modified: 2007-04-18 12:33:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.73 [en] (WinNT; U)
Description of problem:
Attempting to run vimtutor displays a blank file instead of the correct tutorial.
All the files required for vimtutor to work are present, but examining vimtutor.1 shows a reference to the incorrect path.
When first logged on as the root user, typing 'vimtutor' creates a temporart _blank_ file instead of loading the tutorial file from it's new location.
Without knowing what is supposed to happen, there is no way an ordinary user would be able to find and run the tutorial with the default
Steps to Reproduce:
2. Log in as root
3. run vimtutor
Actual Results: A blank temporary file is created in /tmp and opened with vim when vimtutor is used
Expected Results: This should show the tutorial file explaining how to use vim.
I can't reproduce this. Make sure the vim-enhanced package is installed.
The machine in question has vim-minimal and vim-common. However, this _does_ include the tutorial file and the vimtutor script. It just doesn't work.
I have the same problem. After installation of a fresh system, vimtutor opens
an empty file.
The following messages occur just before opening the empty file:
Error detected while processing /usr/share/vim/vim60z/tutor/tutor.vim:
Sorry, this command is not implemented: let s:ext = ""
Sorry, this command is not implemented: let s:tutorfile = "/tutor/tutor"
Sorry, this command is not implemented: let s:tutorxx = $VIMRUNTIME . s:tutorfil
The problem seems to be in the tutor.vim script, which is able to look for a
tutor file in another language.
The tutor file is not copied to the temporary file.
Next, when I install the vim-enhanced package, vimtutor does just work as it
vimtutor is now part of the vim-enhanced package. This may not fix the initial problem,
but is a workaround which ensures that vim-enhanced is installed when you start