From 47162bc4280e6b840249957b381d3f1fef97315c Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 5 Jan 2004 19:01:53 +0000 Subject: [PATCH] add verbatim input question and a few minor fixes to the faq git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1609 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ doc/faq.html | 18 ++++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1be17c38..a62e75db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -132,6 +132,9 @@ CVS code - suggested by Mike Frysinger) - configure.ac: - Check for glib 2.x and then 1.2.x if we need glib. (DLR) +- faq.html: + - Add question explaining how verbatim input works, as well as a + few minor fixes. (DLR) - nano.spec.in: - Update for the 1.3 branch of nano. (DLR) - THANKS: diff --git a/doc/faq.html b/doc/faq.html index 8384a3b1..dfe1b409 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -29,7 +29,8 @@ 3.5. Nano should automatically run strip on the binary when installing it!
3.6. How can I make the executable smaller? This is too bloated!
3.7. Tell me more about this multibuffer stuff!
- 3.8. How do I make a .nanorc file that nano will read when I start it?

+ 3.8. Tell me more about this verbatim input stuff!
+ 3.9. How do I make a .nanorc file that nano will read when I start it?

4. Running

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>!
@@ -157,10 +158,14 @@ --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.

+

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.

-

3.8. 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 pico" or "set nowrap".
+

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.

+

Alternatively, you can press Meta-V and then type a three-digit ASCII code from 000 to 255, and the character with that ASCII code will be inserted instead.

+

NOTE: Verbatim input doesn't work at prompts right now. This will be fixed soon.

+

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".


4. Running

4.1. Ack! My backspace/delete/enter/double bucky/meta key doesn't seem to work! What can I do?

@@ -195,7 +200,7 @@

my_hdr X-Composer: nano x.y.z

Again, replace x.y.z with the version of nano you use.

4.8. I've compiled nano with color support, but I don't see any color when I run it!

-

If you want nano to actually use color, you have to specify the color configurations you want it to use in your .nanorc. Some example configurations are in the nanorc.sample that comes with the nano source or your nano package. See Section 3.8.

+

If you want nano to actually use color, you have to specify the color configurations you want it to use in your .nanorc. Some example configurations are in the nanorc.sample that comes with the nano source or your nano package. See Section 3.9.


5. Internationalization

5.1. There's no translation for my language!

@@ -236,8 +241,9 @@

8. ChangeLog

+2003/12/31 - Added question about the new verbatim input function, and a few minor fixes. Removed reference to "set pico" (DLR).
2003/07/02 - Added question about nano's not showing color when it's compiled with color support (DLR; suggested by Jordi).
-2003/02/23 - Updated RPM links for nano 1.2.x. (DLR).
+2003/02/23 - Updated RPM links for nano 1.2.x (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).
-- 2.39.5