From 25c775af21bc50f2517c96cb4f2da53d090cf034 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 23 Jul 2015 19:31:36 +0000 Subject: [PATCH] Mentioning the configure options --disable-histories and --disable-libmagic. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5317 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + doc/faq.html | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index bf6d70a0..dd0bb431 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * doc/man/{nano.1,nanorc.5}, doc/texinfo/nano.texi: Add deprecation notices for the options 'set const', 'set poslog' and '--poslog'. Suggested by Eitan Adler. + * doc/faq.html: Mention --disable-histories and --disable-libmagic. * src/chars.c (mbstrcasestr, mbrevstrcasestr): When searching, find only valid UTF-8 byte sequences. This fixes Savannah bug #45579. diff --git a/doc/faq.html b/doc/faq.html index 5612bf05..48ec3591 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -135,18 +135,20 @@

3.6. How can I make the executable smaller? This is too bloated!

Actually, there are several parts of the editor that can be disabled. You can pass arguments to the configure script that disable certain features. Here's a brief list:

-  --disable-browser       Disable built-in file browser
+  --disable-browser       Disable the built-in file browser
   --disable-color         Disable color and syntax highlighting
-  --disable-extra         Disable extra features, currently only an easter egg
+  --disable-extra         Disable extra features (currently only an easter egg)
   --disable-help          Disable help functions
+  --disable-histories     Disable the saving of search strings and cursor positions
   --disable-justify       Disable justify/unjustify functions
-  --disable-mouse         Disable mouse support (and -m flag)
+  --disable-libmagic      Disable the use of libmagic for determining a file's syntax
+  --disable-mouse         Disable mouse support
   --disable-multibuffer   Disable having multiple file buffers open
   --disable-nanorc        Disable the use of .nanorc files
-  --disable-operatingdir  Disable setting of operating directory
+  --disable-operatingdir  Disable the setting of an operating directory
   --disable-speller       Disable spell checker functions
   --disable-tabcomp       Disable tab completion functions
-  --disable-wrapping      Disable all wrapping of text (and -w flag)
+ --disable-wrapping Disable all hard-wrapping of text

There's also the --enable-tiny option which disables everything above, as well as some larger chunks of the program (like the marker code that you use with Control-^ to select text). Also, if you know you aren't going to be using other languages you can use --disable-nls to disable internationalization and save a few K to a few dozen K depending on if you have locale support on your system. And finally there's always good old strip to strip all debugging code and code that exists in libraries on your system.

With --disable-wrapping-as-root you can disable any hard-wrapping by default when the user is root, useful to prevent accidentally changing long lines in system configuration files.

@@ -182,7 +184,7 @@

4.5. How do I type the F13-F16 keys shown in the help browser? My keyboard only has F1-F12!

It depends on the terminal type you're using. On some terminals, such as the FreeBSD console, xterm, konsole, and gnome-terminal, Shift-F1 to Shift-F4 will generate F13 to F16. On other terminals, such as the Linux console, rxvt, and Eterm, Shift-F3 to Shift-F6 will generate F13 to F16.

4.6. nano crashes when I type <insert keystroke here>!

-

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 in the bug database on Savannah.

+

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 in the bug tracker on Savannah.

4.7. 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, but 2.4.2 is recommended).

4.8. [version 1.3.12 and later] I'm using glibc 2.2.3, and nano crashes when I use color support or do regular expression searches. How can I fix that?

-- 2.39.5