vim/vitmp.1

39 lines
1.1 KiB
Groff
Raw Permalink Normal View History

.\" $Id: vitmp.1,v 1.2 2002/10/12 12:03:51 solar Exp $
.TH VITMP 1 "25 April 2002" "Openwall Project"
.SH NAME
vitmp \- edit temporary files
.SH SYNOPSIS
.B vitmp
.RI [ "VIM options" "] " FILE ...
.SH DESCRIPTION
.B vitmp
is a wrapper around the VIM editor which may be used to invoke the
editor in a way that is guaranteed to be suitable for editing temporary
files used with programs such as
.BR crontab (1)
and
.BR edquota (8).
The instance of the editor that is invoked is
.IR /bin/vi .
.PP
In particular, it is guaranteed that the file, if edited, will be
overwritten in place such that the modified contents may be read back
via a previously obtained file descriptor. Invoking the editor via
.B vitmp
also makes sure that no additional editor temporary files are used.
.PP
Please note that
.B vitmp
offers no crash recovery capabilities. If the editor crashes during
the overwrite, data may be lost.
.SH HISTORY
.B vitmp
first appeared in Openwall GNU/*/Linux 1.0.
.SH AUTHORS
Solar Designer <solar@owl.openwall.com>
.SH SEE ALSO
.BR crontab (1),
.BR vi (1),
.BR vim (1),
.BR edquota (8)