docs: mention some more differences with Pico in the Info document

Mention the ability to use <Tab> 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.
master
Benno Schulenberg 2017-03-26 12:40:16 +02:00
parent 58faff50ae
commit 42ae3e377f
1 changed files with 23 additions and 6 deletions

View File

@ -1395,7 +1395,7 @@ browser exits.
@chapter Pico Compatibility @chapter Pico Compatibility
@code{nano} attempts to emulate Pico as closely as possible, but there @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 @table @code
@ -1409,12 +1409,29 @@ ask any more), or Cancel (stop with replacing).
@item Search and Replace History @item Search and Replace History
When the option @code{-H} or @code{--historylog} is given (or set in 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. 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 These strings can be accessed with the up/down arrow keys, or you can
string can subsequently be edited. 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 @item Position History
Text selected using the marking key (^^) can be written out, appended, When the option @code{-P} or @code{--positionlog} is given (or set in
or prepended to a new or existing file using the WriteOut key (^O). 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 @item Toggles
Many options which alter the functionality of the program can be Many options which alter the functionality of the program can be