From 0432e708503e1843363eeb8b9f82366d544f912e Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 5 Nov 2004 17:09:11 +0000 Subject: [PATCH] fixed FAQ inaccuracy: Pico compatibility mode was made the default in nano 1.1.99pre1, not 1.2.2 git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2067 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ doc/faq.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4cde9a7a..a08343e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -363,6 +363,9 @@ CVS code - - README.CVS: - Mention the requirement for glib 2.x on systems lacking v?snprintf(), and add minor formatting changes. +- faq.html: + - Fixed inaccuracy: Pico compatibility mode was made the default + in nano 1.1.99pre1, not 1.2.2. (DLR) - nano.1: - Eliminate references to the now removed -D/--dos and -M/--mac command line options. (DLR) diff --git a/doc/faq.html b/doc/faq.html index 0e5465c0..4449b4da 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -37,7 +37,7 @@ 4.3. Nano crashes when I resize my window. How can I fix that?
4.4. [version 1.1.12 and earlier] Why does nano show ^\ in the shortcut list instead of ^J?
4.5a. [version 1.1.12 and earlier] When I type in a search string, the string I last searched for is already in front of my cursor! What happened?!
- 4.5b. [version 1.2.2 and later] Hey, the search string behavior has reverted, it's now like Pico, what happened to the consistency?
+ 4.5b. [version 1.1.99pre1 and later] Hey, the search string behavior has reverted, it's now like Pico, what happened to the consistency?
4.6. How do I make nano my default editor (in Pine, mutt, etc.)?
4.7. I've compiled nano with color support, but I don't see any color when I run it!

5. Internationalization

@@ -180,7 +180,7 @@

4.5a. [version 1.1.12 and earlier] When I type in a search string, the string I last searched for is already in front of my cursor! What happened?!

In nano version 0.9.20, the default is to have a completely consistent user interface across all user input functions. This means that regardless of whether you're being asked for a filename to insert or write, or a string to search for, the previous value is already inserted before the cursor. If you prefer the old behavior, use the Pico emulation mode (-p or --pico) or just hit Meta-P while in nano (see the ^G help text for more details).

-

4.5b. [version 1.2.2 and later] Hey, the search string behavior has reverted, it's now like Pico, what happened to the consistency?

+

4.5b. [version 1.1.99pre1 and later] Hey, the search string behavior has reverted, it's now like Pico, what happened to the consistency?

It was decided that consistency was nice, but people are used to Pico's inconsistent behavior. Also, in version 1.1.99pre1, search and replace history was introduced. If you wish to edit your previous search/replace entry (or any previous entry), you can do so by hitting the up arrow to cycle through your history. This method allows the best of both worlds: You don't need to erase the previous string if you want to enter a new one, but you can with one keystroke recall previous entries for editing. Therefore there is now no "Pico mode", nano is and has always been a Pico clone, and clones by default should be compatible.

4.6. How do I make nano my default editor (in Pine, mutt, etc.)?

You need to make nano your $EDITOR. If you want this to be saved, you should put a line like this in your .bashrc if you use bash (or .zshrc if you believe in zsh):

-- 2.39.5