Bug 164288 - "vi -x" no longer works (says "unknown option")
Summary: "vi -x" no longer works (says "unknown option")
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 4
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-07-26 16:11 UTC by John Fishman
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-07-26 21:48:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Fishman 2005-07-26 16:11:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

Description of problem:
"vi -x" no longer works (says "unknown option")

Version-Release number of selected component (if applicable):
vim-minimal-6.3.071-3

How reproducible:
Always

Steps to Reproduce:
1./bin/vi -x foo
2.
3.
  

Actual Results:  VIM - Vi IMproved 6.3 (2004 June 7, compiled Apr 27 2005 02:24:01)
Unknown option: "-x"
More info with: "vim -h"


Additional info:

works ok using vim, just not as vi

Comment 1 John Fishman 2005-07-26 16:13:08 UTC
be sure to give full path to vi (i.e. /bin/vi) or "unalias vi" first
as it is aliased to vim usually.

Comment 2 Karsten Hopp 2005-07-26 21:48:45 UTC
I'm quite sure that the minimal version never supported the -x parameter, it's  
really 'minimal'.   
Here's the output of an old version:   
$ /bin/vi -x foo   
VIM - Vi IMproved 6.2 (2003 Jun 1, compiled Sep 16 2003 11:01:21)   
Unknown option: "-x"   
More info with: "vim -h"   
$ rpm -q vim-minimal   
vim-minimal-6.2.98-1   
   
The only change that might cause different behaviour is that newer vim  
versions don't set the alias vi=vim anymore for uids < 100.  
   


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