From 42ae3e377feb6e2bcf37c0b6ae940238d4d8cc43 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 26 Mar 2017 12:40:16 +0200 Subject: [PATCH] docs: mention some more differences with Pico in the Info document Mention the ability to use in the search history, the ability to restore the cursor position when reopening a file, the ability to read output of a command, and the lack of file-managing commands in the file browser. --- doc/nano.texi | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/doc/nano.texi b/doc/nano.texi index d66e65a7..aa29bc37 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -1395,7 +1395,7 @@ browser exits. @chapter Pico Compatibility @code{nano} attempts to emulate Pico as closely as possible, but there -are certain differences between the editors: +are some differences between the editors: @table @code @@ -1409,12 +1409,29 @@ ask any more), or Cancel (stop with replacing). @item Search and Replace History When the option @code{-H} or @code{--historylog} is given (or set in the .nanorc file), text entered as search or replace strings is stored. -These strings can be accessed with the up/down arrow keys. A retrieved -string can subsequently be edited. +These strings can be accessed with the up/down arrow keys, or you can +type the first few characters and then use Tab to cycle through the +matching strings. A retrieved string can subsequently be edited. -@item Writing, Appending, or Prepending Selected Text to Files -Text selected using the marking key (^^) can be written out, appended, -or prepended to a new or existing file using the WriteOut key (^O). +@item Position History +When the option @code{-P} or @code{--positionlog} is given (or set in +the .nanorc file), @code{nano} will store the position of the cursor +when you close a file, and will place the cursor in that position +again when you later reopen the file. + +@item Writing Selected Text to Files +When using the Write-Out key (^O), text that has been selected using the +marking key (^^) can not just be written out to a new (or existing) file, +it can also be appended or prepended to an existing file. + +@item Reading Text from a Command +When using the Read-File key (^R), @code{nano} can not just read a file, +it can also read the output of a command to be run (^X). + +@item File Browser +In the file browser, @code{nano} does not implement the Add, Copy, +Rename, and Delete commands that Pico provides. In @code{nano} the +browser is just a file browser, not a file manager. @item Toggles Many options which alter the functionality of the program can be