Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 16:29:52 +1100 (EST)
From:      sjhgnats@tracking.amos.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/21246: non functional -c flag in nvi 
Message-ID:  <200009130529.QAA17714@squishycow.goldenterrace.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         21246
>Category:       bin
>Synopsis:       nvi's -c flag does no do what it is documented to do. (it does nothing)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 12 22:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Steve Horan
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

	N/A

>Description:

	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.

>How-To-Repeat:

	run:
	nvi -c "r /etc/motd"
	and you'll see it does nothing.

>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.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009130529.QAA17714>