Bug 38961 - vimtutor opens a blank file instead of the tutorial
Summary: vimtutor opens a blank file instead of the tutorial
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: vim
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-03 17:04 UTC by Need Real Name
Modified: 2007-04-18 16:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-06-27 09:39:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2001-05-03 17:04:54 UTC
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 
installation.

How reproducible:
Always

Steps to Reproduce:
1. Install
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.

Additional info:

Comment 1 Bernhard Rosenkraenzer 2001-05-03 19:26:49 UTC
I can't reproduce this. Make sure the vim-enhanced package is installed.


Comment 2 Need Real Name 2001-05-03 20:45:38 UTC
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.

Comment 3 Arnoud Witt 2001-06-27 08:31:38 UTC
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:
line   13:
Sorry, this command is not implemented: let s:ext = ""
line   26:
Sorry, this command is not implemented: let s:tutorfile = "/tutor/tutor"
line   27:
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.

Comment 4 Arnoud Witt 2001-06-27 09:39:28 UTC
Next, when I install the vim-enhanced package, vimtutor does just work as it
should.

Comment 5 Karsten Hopp 2002-06-25 21:47:42 UTC
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 
vimtutor.


Note You need to log in before you can comment on or make changes to this bug.