add documentation updates for -E/--backupdir's new ability to make
filenames unique, and preemptively update the version number git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2567 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
54b74cee91
commit
527f1743f6
|
@ -37,8 +37,9 @@ CVS code -
|
||||||
replace_line(), and mallocstrncpy(). (DLR)
|
replace_line(), and mallocstrncpy(). (DLR)
|
||||||
- When using a backup directory, make sure all the filenames
|
- When using a backup directory, make sure all the filenames
|
||||||
written are unique by using get_next_filename() when
|
written are unique by using get_next_filename() when
|
||||||
necessary. Changes to get_next_filename(), write_file(), and
|
necessary. Changes to get_next_filename(), write_file(),
|
||||||
die(). (DLR, suggested by James Collings)
|
die(), usage(), nano.1, nanorc.5, nanorc.sample, and
|
||||||
|
nano.texi. (DLR, suggested by James Collings)
|
||||||
- cut.c:
|
- cut.c:
|
||||||
cut_line()
|
cut_line()
|
||||||
- Set placewewant properly after cutting a line, to avoid a
|
- Set placewewant properly after cutting a line, to avoid a
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
.\" Public License for copying conditions. There is NO warranty.
|
.\" Public License for copying conditions. There is NO warranty.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $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.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
|
|
||||||
|
@ -51,8 +51,8 @@ When saving a file, back up the previous version of it to the current
|
||||||
filename suffixed with a ~.
|
filename suffixed with a ~.
|
||||||
.TP
|
.TP
|
||||||
.B \-E \fIdir\fP (\-\-backupdir=\fIdir\fP)
|
.B \-E \fIdir\fP (\-\-backupdir=\fIdir\fP)
|
||||||
Set the directory where \fBnano\fP puts the backup files if file backups
|
Set the directory where \fBnano\fP puts unique backup files if file
|
||||||
are enabled.
|
backups are enabled.
|
||||||
.TP
|
.TP
|
||||||
.B \-F (\-\-multibuffer)
|
.B \-F (\-\-multibuffer)
|
||||||
Enable multiple file buffers, if available.
|
Enable multiple file buffers, if available.
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
.\" Public License for copying conditions. There is NO warranty.
|
.\" Public License for copying conditions. There is NO warranty.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $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.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
@ -49,8 +49,8 @@ Create backup files in
|
||||||
.IR filename~ .
|
.IR filename~ .
|
||||||
.TP
|
.TP
|
||||||
\fBset backupdir "\fIdirectory\fP"\fP
|
\fBset backupdir "\fIdirectory\fP"\fP
|
||||||
Set the directory where \fBnano\fP puts the backup files if file backups
|
Set the directory where \fBnano\fP puts unique backup files if file
|
||||||
are enabled.
|
backups are enabled.
|
||||||
\fBset brackets "\fIstring\fP"\fP
|
\fBset brackets "\fIstring\fP"\fP
|
||||||
Set the characters treated as closing brackets. They cannot contain
|
Set the characters treated as closing brackets. They cannot contain
|
||||||
tabs or spaces. Only closing punctuation, optionally followed by
|
tabs or spaces. Only closing punctuation, optionally followed by
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
## Backup files to filename~.
|
## Backup files to filename~.
|
||||||
# set backup
|
# set backup
|
||||||
|
|
||||||
## The directory to put the backup files in.
|
## The directory to put unique backup files in.
|
||||||
# set backupdir ""
|
# set backupdir ""
|
||||||
|
|
||||||
## The characters treated as closing brackets. They cannot contain tabs
|
## The characters treated as closing brackets. They cannot contain tabs
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
@c Run `makeinfo' rather than `texinfo-format-buffer'.
|
@c Run `makeinfo' rather than `texinfo-format-buffer'.
|
||||||
@smallbook
|
@smallbook
|
||||||
@set EDITION 0.1
|
@set EDITION 0.1
|
||||||
@set VERSION 1.3.7
|
@set VERSION 1.3.8
|
||||||
@set UPDATED 16 May 2005
|
@set UPDATED 29 May 2005
|
||||||
|
|
||||||
@dircategory Editors
|
@dircategory Editors
|
||||||
@direntry
|
@direntry
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
@titlepage
|
@titlepage
|
||||||
@title GNU @code{nano}
|
@title GNU @code{nano}
|
||||||
@subtitle a small and friendly text editor.
|
@subtitle a small and friendly text editor.
|
||||||
@subtitle version 1.3.7
|
@subtitle version 1.3.8
|
||||||
|
|
||||||
@author Chris Allegretta
|
@author Chris Allegretta
|
||||||
@page
|
@page
|
||||||
|
@ -125,7 +125,7 @@ When saving a file, back up the previous version of it to the current
|
||||||
filename suffixed with a ~.
|
filename suffixed with a ~.
|
||||||
|
|
||||||
@item -E, --backupdir=[dir]
|
@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.
|
backups are enabled.
|
||||||
|
|
||||||
@item -F, --multibuffer
|
@item -F, --multibuffer
|
||||||
|
|
|
@ -1015,9 +1015,9 @@ void usage(void)
|
||||||
N_("Start at line LINE, column COLUMN"));
|
N_("Start at line LINE, column COLUMN"));
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
print1opt("-A", "--smarthome", N_("Enable smart home key"));
|
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]"),
|
print1opt(_("-E [dir]"), _("--backupdir=[dir]"),
|
||||||
N_("Directory for writing backup files"));
|
N_("Directory for saving unique backup files"));
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_MULTIBUFFER
|
#ifdef ENABLE_MULTIBUFFER
|
||||||
print1opt("-F", "--multibuffer", N_("Enable multiple file buffers"));
|
print1opt("-F", "--multibuffer", N_("Enable multiple file buffers"));
|
||||||
|
|
Loading…
Reference in New Issue