Bug 16666
Summary: | VIM named VI, breaks VIMTUTOR | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <jond_123> |
Component: | vim | Assignee: | Bernhard Rosenkraenzer <bero> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.2 | CC: | dr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-08-21 16:27:45 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2000-08-21 07:29:54 UTC
vim is included in the vim-enhanced package. The actual problem is with vimtutor, which should check which versions of vi are there. This is fixed in rawhide. "vi" in the full installation of RedHat 6.2 (a standard installation of the RedHat server) is actually vim. Indeed, it would be nice if vimtutor detected vi/vim, but when one types "vi" (not "vim") he does not expect to see a big "VIM - Vi IMproved" screen, hence a possible flaw with the RedHat installation package. Additionally, what is vimtutor doing included in an installation that doesn't install vim as "vim"? vimtutor can be corrected by changing the script to use "vi" rather than "vim", but this is an incorrect solution because vi is not vim, and the vim tutor is specifically intended for vim; but then, the "vi" in RedHat is vim, so the real solution is for RedHat to rename vi to vim and to include the original vi. Yes, on a Red HAt System vi == vim. /bin/vi == vim-minimal == vim in vi-compatible, featureless mode /usr/bin/vim == vim-enhanced == not-fully-vi-compatible version with numerous features. vimtutor can handle both, so the fix in rawhide (checking whether /usr/bin/vim is there, and if it isn't, falling back to /bin/vi) is the right one. Sorry, but why the hell isn't there any "vim" on RedHat? I work a lot with different flavours of UNIX and I am used to type "vim" because I don't want to use the old vi e.g. on Solaris systems. So everytime I am logged onto a RedHat box i get annoyed by "bash: vim: command not found" Is it so hard to have a symlink from /usr/bin/vim -> /bin/vi ? Most times I add this by hand, but it would be good to have it in the rpm. > Sorry, but why the hell isn't there any "vim" on RedHat?
There is. Install the vim-enhanced package as Bero explained.
|