From 44e671f2def5ecb3ebe8178605b1ecec2c6e9ccb Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 1 Jan 2007 16:57:57 +0000 Subject: [PATCH] in doc/faq.html, update section 4.1 to describe how to open files with names beginning with '+' at specified columns as well as lines git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4014 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 4 ++++ doc/faq.html | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a6f7f7d5..a54fa448 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,10 @@ CVS code - - Add more miscellaneous cosmetic fixes. (DLR) - m4/glib-2.0.m4: - Import the latest version of this file from glib 2.10.3. (DLR) +- doc/faq.html: + - Update section 4.1 to describe how to open files with names + beginning with '+' at specified columns as well as lines. + (DLR) - doc/syntax/python.nanorc: - Improve string highlighting regexes. (Mike Frysinger) diff --git a/doc/faq.html b/doc/faq.html index 34017469..7d99a286 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -171,9 +171,11 @@

4. Running

4.1. How do I open a file with a name beginning with '+' from the command line?

-

If a command line option that begins with '+' is followed by another option, the former is always treated as a starting line number and the latter is always treated as a filename. If a command line option that begins with '+' isn't followed by another option, it's always treated as a filename. Examples:

+

If a command line option that begins with '+' is followed by another option, the former is always treated as a starting line and column number and the latter is always treated as a filename. If a command line option that begins with '+' isn't followed by another option, it's always treated as a filename. Examples:

To open '+filename.txt' starting on line 1: nano +filename.txt
To open '+filename.txt' starting on line 10: nano +10 +filename.txt
+ To open '+filename.txt' starting on line 1, column 20: nano +,20 +filename.txt
+ To open '+filename.txt' starting on line 10, column 20: nano +10,20 +filename.txt
To open '+filename.txt' starting on line 1 and 'filename.txt' starting on line 10 (if nano has been compiled with multibuffer support): nano +1 +filename.txt +20 filename.txt

4.2. Ack! My Backspace/Delete/Enter/Meta/double bucky key doesn't seem to work! What can I do?

Try setting your $TERM variable to 'vt100'. nano doesn't yet support every term entry under the sun.

@@ -254,7 +256,8 @@

7.5. Can I have CVS write access?

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

8. ChangeLog

-

2006/11/25 - Add miscellaneous wording and capitalization fixes. (DLR)
+

2007/01/01 - Update section 4.1 to describe how to open files with names beginning with '+' at specified columns as well as lines. (DLR)
+2006/11/25 - Add miscellaneous wording and capitalization fixes. (DLR)
2006/10/28 - Update various links for the 2.0 branch of nano. (DLR)
2006/10/06 - Update the question in section 4.13 to match the version of it in the answer section. (DLR)
2006/07/25 - Update section 5.3 again to not state "the latest development version" before 1.3.12, as it's no longer accurate. Also add some minor spacing fixes. (DLR)
-- 2.39.5