Bug 46295

Summary: please add information to Nvi recovery email
Product: Documentation Reporter: rdm <rdm>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description rdm 2002-12-16 20:00:16 UTC
	vi (nvi, really), sends out email when it discovers that a
        file was being edited during a disorderly machine shutdown:

	>On Sun Nov 24 13:08:39 2002, the user rdm was editing a file
	>named About_Us.htm on the machine cfcl.com, when it was
	>saved for recovery. You can recover most, if not all, of the
	>changes to this file using the -r option to vi:
	>
	>	 vi -r About_Us.htm  

        It might be useful to add some text to this message, saying that
	/var/tmp/vi.recover is the default recovery file directory.  (I
        know this is in the man page for vi, but an explicit note would
        also be useful.)

Fix: 

Add some text to the email.
How-To-Repeat: 
	Edit a file.  Have a power outage (:-).
Comment 1 Tom Rhodes freebsd_committer freebsd_triage 2002-12-16 20:07:33 UTC
Shouldn't this be a conf issue?

--
Tom Rhodes
Comment 2 rdm 2002-12-16 20:16:55 UTC
At 3:07 PM -0500 12/16/02, Tom Rhodes wrote:
>Shouldn't this be a conf issue?

Sorry, I missed editing the "Category" field.  OTOH, whether it belongs
in "conf" depends on whether the template for the email is stored in a
file or hard-coded into nvi (:-).  Anyway, feel free to change the bug
to a more appropriate category.

-r
-- 
email: rdm@cfcl.com; phone: +1 650-873-7841
http://www.cfcl.com/rdm    - my home page, resume, etc.
http://www.cfcl.com/Meta   - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc     - Prime Time Freeware's Darwin Collection
Comment 3 setantae 2002-12-16 21:05:26 UTC
I'm not sure of the motivation here.
All the user really needs to know is how to get their file back, which
they've been told.

Ceri
-- 
I am the greataxe of the Dwarf Father!
Comment 4 rdm 2002-12-16 21:48:25 UTC
At 9:05 PM +0000 12/16/02, Ceri Davies wrote:
>I'm not sure of the motivation here.  All the user really needs to know
>is how to get their file back, which they've been told.

This presumes that the user actually wants to jump through the hoops
of doing a "vi -r".  In many cases, as when a file was merely being
view'ed, the user may just want to get rid of the recovery file.  By
letting them know where these files are located, the message could
make this easier.

-r
-- 
email: rdm@cfcl.com; phone: +1 650-873-7841
http://www.cfcl.com/rdm    - my home page, resume, etc.
http://www.cfcl.com/Meta   - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc     - Prime Time Freeware's Darwin Collection
Comment 5 Remko Lodder freebsd_committer freebsd_triage 2007-02-19 13:06:04 UTC
State Changed
From-To: open->closed

Vi is actually conbributed software which falls outside our scope. 
Personally I am going with previous mentionings that the user should be 
informed about a possible file recovery, I dont think the location is 
relevant enough to mention. If this should be fixed, it should be done 
upstream. Closing the PR