replace_line(), and mallocstrncpy(). (DLR)
- When using a backup directory, make sure all the filenames
written are unique by using get_next_filename() when
- necessary. Changes to get_next_filename(), write_file(), and
- die(). (DLR, suggested by James Collings)
+ necessary. Changes to get_next_filename(), write_file(),
+ die(), usage(), nano.1, nanorc.5, nanorc.sample, and
+ nano.texi. (DLR, suggested by James Collings)
- cut.c:
cut_line()
- Set placewewant properly after cutting a line, to avoid a
.\" Public License for copying conditions. There is NO warranty.
.\"
.\" $Id$
-.TH NANO 1 "version 1.3.7" "May 16, 2005"
+.TH NANO 1 "version 1.3.8" "May 29, 2005"
.\" Please adjust this date whenever revising the manpage.
.\"
filename suffixed with a ~.
.TP
.B \-E \fIdir\fP (\-\-backupdir=\fIdir\fP)
-Set the directory where \fBnano\fP puts the backup files if file backups
-are enabled.
+Set the directory where \fBnano\fP puts unique backup files if file
+backups are enabled.
.TP
.B \-F (\-\-multibuffer)
Enable multiple file buffers, if available.
.\" Public License for copying conditions. There is NO warranty.
.\"
.\" $Id$
-.TH NANORC 5 "version 1.3.7" "March 26, 2005"
+.TH NANORC 5 "version 1.3.8" "May 29, 2005"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
.IR filename~ .
.TP
\fBset backupdir "\fIdirectory\fP"\fP
-Set the directory where \fBnano\fP puts the backup files if file backups
-are enabled.
+Set the directory where \fBnano\fP puts unique backup files if file
+backups are enabled.
\fBset brackets "\fIstring\fP"\fP
Set the characters treated as closing brackets. They cannot contain
tabs or spaces. Only closing punctuation, optionally followed by
## Backup files to filename~.
# set backup
-## The directory to put the backup files in.
+## The directory to put unique backup files in.
# set backupdir ""
## The characters treated as closing brackets. They cannot contain tabs
@c Run `makeinfo' rather than `texinfo-format-buffer'.
@smallbook
@set EDITION 0.1
-@set VERSION 1.3.7
-@set UPDATED 16 May 2005
+@set VERSION 1.3.8
+@set UPDATED 29 May 2005
@dircategory Editors
@direntry
@titlepage
@title GNU @code{nano}
@subtitle a small and friendly text editor.
-@subtitle version 1.3.7
+@subtitle version 1.3.8
@author Chris Allegretta
@page
filename suffixed with a ~.
@item -E, --backupdir=[dir]
-Set the directory where @code{nano} puts the backup files if file
+Set the directory where @code{nano} puts unique backup files if file
backups are enabled.
@item -F, --multibuffer
N_("Start at line LINE, column COLUMN"));
#ifndef NANO_SMALL
print1opt("-A", "--smarthome", N_("Enable smart home key"));
- print1opt("-B", "--backup", N_("Backup existing files on save"));
+ print1opt("-B", "--backup", N_("Save backups of existing files"));
print1opt(_("-E [dir]"), _("--backupdir=[dir]"),
- N_("Directory for writing backup files"));
+ N_("Directory for saving unique backup files"));
#endif
#ifdef ENABLE_MULTIBUFFER
print1opt("-F", "--multibuffer", N_("Enable multiple file buffers"));