summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlum <lum@openbsd.org>2012-06-18 13:55:24 +0000
committerlum <lum@openbsd.org>2012-06-18 13:55:24 +0000
commit6bb38e0fdb636945fae6b1bd6860904c38e3bbae (patch)
tree24cefe356441d60b47b6c62fd3ef14cc8bea8e0d
parentActually write all the data to stdout/stderr. (diff)
downloadwireguard-openbsd-6bb38e0fdb636945fae6b1bd6860904c38e3bbae.tar.xz
wireguard-openbsd-6bb38e0fdb636945fae6b1bd6860904c38e3bbae.zip
Add a BACKUP FILES section.
Suggested by jmc@ He will review further.
-rw-r--r--usr.bin/mg/mg.113
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.bin/mg/mg.1 b/usr.bin/mg/mg.1
index 7701a629f77..3eb786b77d7 100644
--- a/usr.bin/mg/mg.1
+++ b/usr.bin/mg/mg.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mg.1,v 1.63 2012/06/18 11:35:31 lum Exp $
+.\" $OpenBSD: mg.1,v 1.64 2012/06/18 13:55:24 lum Exp $
.\" This file is in the public domain.
.\"
.Dd $Mdocdate: June 18 2012 $
@@ -73,6 +73,17 @@ the mark at the point of deletion.
Note: The point and mark are window-specific in
.Nm ,
not buffer-specific, as in other emacs flavours.
+.Sh BACKUP FILES
+Backup files have a '~' character appended to the file name and
+are created in the current working directory by default.
+Whether to create backup files or not can be toggled with the
+make-backup-file command.
+The backup file location can either be in the current
+working directory, or all backups can be moved to a '~/.mg.d' directory
+where files retain their path name to retain uniqueness.
+Use the backup-to-home-directory to alternate between these two locations.
+Further, if any application creates backup files in the TMPDIR,
+these can be left with the leave-tmpdir-backups command.
.Sh TAGS
.Nm
supports tag files created by