From 3f8a63cadbb1fd0a39f0a466471ce6e16d95de50 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Fri, 17 Jan 2003 02:49:23 +0000 Subject: [PATCH] - faq.html: Added docs about the new unified search string interface and search histories, and added --enable-all into configure docs git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1368 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 ++ faq.html | 20 ++++++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5bb1471e..82b92f6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -245,6 +245,8 @@ Changes - Miscellaneous fixes and updates for typos, broken links, and slashes at the end of directories. It is now fully compliant with HTML 4.01 Transitional. (DLR and David Benbennick) + - Added docs about the new unified search string interface and + search histories, and added --enable-all into configure docs. - nano.texi: - Typo fixes and updates. (David Benbennick) - Updates for the most recent and not so recent changes. diff --git a/faq.html b/faq.html index c0fe2bdd..38364ab1 100644 --- a/faq.html +++ b/faq.html @@ -34,8 +34,9 @@

4.1. Ack! My backspace/delete/enter/double bucky/meta key doesn't seem to work! What can I do?
4.2. Nano crashes when I type <insert keystroke here>!
4.3. Nano crashes when I resize my window. How can I fix that?
- 4.4. Why does nano show ^\ in the shortcut list instead of ^J?
- 4.5. When I type in a search string, the string I last searched for is already in front of my cursor! What happened?!
+ 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.0 and later] Hey, the search string behavior has reverted, it's now like Pico, what happened to the consistency?
4.6. I get the message "NumLock glitch detected. Keypad will malfunction with NumLock off." What gives?
4.7. How do I make nano my default editor (in Pine, mutt, etc.)?

5. Internationalization

@@ -152,7 +153,8 @@ --enable-extra Enable extra functions, including easter eggs --enable-nanorc Enable use of .nanorc file --enable-color Enables color and syntax highlighting - --enable-multibuffer Enables having multiple file buffers open + --enable-multibuffer Enables having multiple file buffers open + --enable-all Enables all of the above features

3.7. Tell me more about this multibuffer stuff!

To use multiple file buffers, you must be using nano 1.1.12 or newer, and you must have configured nano with --enable-multibuffer or --enable-extra (use nano -V to check). Then when you want to enable inserting a file into its own buffer instead of into the current file, just hit Meta-F, then insert the file as normal with ^R. If you always want files to be loaded into their own buffers, use the --multibuffer or -F flag when you invoke nano.

You can move between the buffers you have open with the Meta-< and Meta-> keys, or more easily with Meta-, and Meta-. (clear as mud, right? =-). When you have more than one file buffer open, the ^X shortcut will say "Close", instead of the normal "Exit" when only one buffer is open.

@@ -168,10 +170,13 @@

If you aren't trying some bizarre keystroke combination with some bizarre $TERM entry, chances are you have found a bug. You are welcome to submit it to the nano-devel list or to nano@nano-editor.org.

4.3. Nano crashes when I resize my window. How can I fix that?

Older versions of nano had this problem, please upgrade to a newer version (at least 0.9.9 would be great, 0.9.12 is recommended).

-

4.4. Why does nano show ^\ in the shortcut list instead of ^J?

+

4.4. [version 1.1.12 and earlier] Why does nano show ^\ in the shortcut list instead of ^J?

The help (^G) and justify (^J) function were among the last to be written. To show the improvements that nano had over Pico (go to line # and replace), ^_ and ^\ were put on the shortcut list. Later, ^G came back in place of ^_ as it proved to be very valuable for new Unix users. If you use the -p option to nano (or hit Meta-P) you will get the same shortcuts at the bottom as Pico.

-

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

+ +

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.0 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. I get the message "NumLock glitch detected. Keypad will malfunction with NumLock off." What gives?

Nano (and actually almost all console editors) has issues when cycling the NumLock key in certain X terminals (rxvt, aterm, wterm, etc...). When you switch NumLock from on to off, you put the terminal into an "application mode" that changes what sequences are sent by the keypad. These sequences vary sufficiently from terminal to terminal that it is nearly impossible to work around them from within nano.

In a nutshell, if you want to be able to use the keypad with the arrow and page up/down functionality, you have to exit nano and reset your terminal (presumably with "reset" or "stty sane" or similar) and then run nano again with NumLock off. If you know an easier way to restore "normal mode", please mail nano@nano-editor.org.

@@ -226,7 +231,10 @@

7.5. Can I have CVS write access?

Re-read Section 7.4 and you should know the answer.

8. ChangeLog

-

2002/12/28 - More misc. fixes (David Benbennick, DLR).
+

+

+2003/01/16 - Split section 4.5 into 4.5a and 4.5b for search string behavior. Added --enable-all docs.
+2002/12/28 - More misc. fixes (David Benbennick, DLR).
2002/10/25 - Misc. fixes and link updates (DLR).
2002/09/10 - Another typo fix (DLR).
2002/05/15 - Typo fix (DLR).