From 3a4eb48d5c0c8a202147c013dfaffb49f688474f Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 14 Jun 2005 02:32:37 +0000 Subject: [PATCH] minor faq updates git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2660 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 4 ++-- doc/faq.html | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index bc9ffa89..881bc9b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -265,8 +265,8 @@ CVS code - (DLR) - Check for iswpunct() and mbstowcs(). (DLR) - doc/faq.html: - - Update the question about the FAQ to mention the current - maintainer. (DLR) + - Update section 1.1 to mention the current maintainer. (DLR) + - Minor capitalization and wording tweaks. (DLR) - doc/nanorc.sample: - In the "nanorc" regexes, tweak the "color" regex to properly color a line that specifies a background color without a diff --git a/doc/faq.html b/doc/faq.html index 76975475..2d66c51c 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -166,7 +166,7 @@

To use multiple file buffers, you must be using nano 1.1.0 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.

3.8. Tell me more about this verbatim input stuff!

-

To use verbatim input, you must be using nano 1.3.1 or newer. When you want to insert a literal character into the file you're editing, such as a control character that nano usually treats as a command, first press Meta-V. (If you're not at a prompt, you'll get the message "Verbatim input".) Then press the key(s) that generate the character you want.

+

To use verbatim input, you must be using nano 1.3.1 or newer. When you want to insert a literal character into the file you're editing, such as a control character that nano usually treats as a command, first press Meta-V. (If you're not at a prompt, you'll get the message "Verbatim Input".) Then press the key(s) that generate the character you want.

Alternatively, you can press Meta-V and then type a four-digit hexadecimal code from 0000 to ffff (case-insensitive), and the character with the corresponding value will be inserted instead.

3.9. How do I make a .nanorc file that nano will read when I start it?

It's not hard at all! But, your version of nano must have been compiled with --enable-nanorc, and again must be version 1.1.12 or newer (use nano -V to check your version and compiled features). Then simply copy the nanorc.sample that came with the nano source or your nano package (most likely in /usr/doc/nano) to .nanorc in your home directory. If you didn't get one, the syntax is simple. Flags are turned on and off by using the word set and the getopt_long flag for the feature, for example "set nowrap" or "set suspend".

@@ -250,7 +250,8 @@

8. ChangeLog

-2005/06/08 - Updated the question about the FAQ to mention the current maintainer. (DLR) +2005/06/13 - Minor capitalization and wording fixes. (DLR) +2005/06/08 - Updated section 1.1 to mention the current maintainer. (DLR) 2005/03/09 - Added question about opening files with names beginning with '+'s, and added a few more miscellaneous cosmetic fixes. (DLR)
2005/01/03 - Removed now-inaccurate note about verbatim input's not working at prompts, and update its description to mention that it handles hexadecimal values now. (DLR)
2004/11/21 - Listed sh as an example of a Bourne shell. (DLR)
-- 2.39.5