Bug 17997

Summary: nvi doesn't set variables on startup (via the -c option) if the specified file doesn't exist
Product: Base System Reporter: alex <alex>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-STABLE   
Hardware: Any   
OS: Any   

Description alex 2000-04-14 02:10:01 UTC
When a user calls vi -c 'set wl=70' or vi '+:set wl=70' without specifying
a existing file as the argument to edit the setting doesn't apply. However
setting EXINIT="set wl=70"; vi; works fine and wraps the text.
Comment 1 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2000-04-16 19:35:36 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Fixed up botched PR. 
Comment 2 Mike Heffner freebsd_committer freebsd_triage 2001-07-06 00:19:58 UTC
State Changed
From-To: open->closed

Duplicate of bin/21654 which has a patch.