Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 29147

Summary: vi -o2 unknown option ?
Product: [Retired] Red Hat Linux Reporter: CoreDump <toba>
Component: vimAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
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: 2001-02-23 22:25:22 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 CoreDump 2001-02-23 22:05:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.0-0.99.11 i586)


vi used to accept parameter -o2 producing two windows split horizontally.

Reproducible: Always
Steps to Reproduce:
1. vi -o2 a b
	

Actual Results:  # vi -o2 a b
VIM - Vi IMproved 6.0v ALPHA (2001 Feb 11, compiled Feb 20 2001 14:27:13)
Unknown option: "-o2"
More info with: "vim -h"


Expected Results:  It should open a horizontally split window for files a
and b, no ?

Comment 1 Bernhard Rosenkraenzer 2001-02-23 22:25:18 UTC
vim-minimal doesn't and isn't supposed to handle -o2.
Install vim-enhanced.
If /bin is in your path before /usr/bin, you may also want to
echo 'alias vi=vim' >>~/.bashrc