Bug 21246

Summary: nvi's -c flag does no do what it is documented to do. (it does nothing)
Product: Base System Reporter: sjhgnats <sjhgnats>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   

Description sjhgnats 2000-09-13 06:30:01 UTC
	vi (nvi) is documented to have a -c flag that allows execution of commands
	upon startup.

	nvi -c "r /etc/motd"
	Does not read in /etc/motd.

Fix: 

no fix yet. I have played with vim, and vim appears to work okay for this option
	however I'm having annoying terminal/control character escaping issues with vim.
How-To-Repeat: 
	run:
	nvi -c "r /etc/motd"
	and you'll see it does nothing.
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-10-06 20:16:17 UTC
State Changed
From-To: open->feedback

Hi 
NVi is a contributed software and bugs should be reported to its 
maintainer. However note that our version of NVi is 1.79 
and the latest version is  1.81.0. 

Please report this problem to bostic@bostic.com if it has not 
been solved in the latest NVi version. 

You can find the latest version at: 
http://www.gv.kotnet.org/~skimo/nvi/devel/ 

Please also report back to 
freebsd-gnats-submit@FreeBSD.org 
with the subject of this mail as subject when a new version 
with this fixed is available, so we can import the new version. 

Thank you for your report and help.
Comment 2 Mike Heffner freebsd_committer freebsd_triage 2001-07-06 00:15:40 UTC
State Changed
From-To: feedback->closed

Duplicate of bin/21654 which has a patch.