Bug 57769

Summary: Link /usr/bin/vi to /usr/bin/vim
Product: [Retired] Red Hat Linux Reporter: Richard Henderson <rth>
Component: vimAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: low    
Version: 7.1Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-12-21 18:54:14 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 Richard Henderson 2001-12-21 18:54:09 UTC
Between 7.0 and 7.1, the binary named "vi" lost the ability
to do split screen.  I can understand the desire to have
vim-minimal be small, but I also want the vi in a full install
to be able to handle this.

Therefore I suggest that the vim-enhanced package include a
link from /usr/bin/vi to /usr/bin/vim.  If /usr is mounted,
the normal PATH will search /usr/bin before /bin and all will
be happy.  If /usr is not mounted, then /bin/vi will exist for
whatever emergency is being delt with.

Comment 1 Bernhard Rosenkraenzer 2002-01-09 16:53:37 UTC
vim 6.0-x takes care of this by adding a /etc/profile.d/vim.{sh,csh} that
sets a proper alias.

Can't guarantee it'll stay in, though - I've done it several times before just to be overruled ("when I type vi I want vi and no bloat, dammit, typing an extra letter isn't too much work").