Subject: misc/22228: a man page for virecover(8)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 07/22/2003 22:39:27
>Number:         22228
>Category:       misc
>Synopsis:       a man page for virecover(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 23 05:40:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
/usr/libexec/virecover is missing a man page.
>How-To-Repeat:
man virecover
>Fix:
Consider the following:


.\"	$NetBSD$
.Dd July 22, 2003
.Dt VIRECOVER 8
.Os
.Sh NAME
.Nm virecover
.Nd report recovered vi edit sessions
.Sh SYNOPSIS
.Nm
.Sh DESCRIPTION
The
.Nm
utility sends emails to users who have
.Xr vi 1
recovery files.
.Pp
This email gives the name of the file that was
saved for recovery and instructions for recovering
most, if not all, of the changes to the file
(by using the
.Fl r
option with
.Xr vi 1 ).
.Pp
If the backup files have the execute bit set or are zero length,
then they have not been modified, so
.Nm
deletes them to clean up.
.Nm
also removes recovery files that are corrupted, zero length
or do not have a corresponding backup file.
.Sh FILES
.Bl -tag -width "/var/tmp/vi.recover/recover.*" -compact
.It Pa /var/tmp/vi.recover/recover.*
.Xr vi 1
recovery files
.It Pa /var/tmp/vi.recover/vi.*
.Xr vi 1
editor backup files
.Sh SEE ALSO
.Xr vi 1
.Sh HISTORY
The
.Xr vi 1
recovery was originally done at boot time in
.Xr rc 8 .
This script, previously known as
.Nm recover.script ,
is from nvi and was added to
.Nx
in 2001.
.\" .Sh AUTHORS
>Release-Note:
>Audit-Trail:
>Unformatted: