From: David Lawrence Ramsey Date: Wed, 9 Mar 2005 23:14:01 +0000 (+0000) Subject: make the latest faq entry more accurate X-Git-Tag: v1.3.6~61 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=23f7e1b13834bee58b186328b60af4d876bc195c;p=nano.git make the latest faq entry more accurate git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2342 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/doc/faq.html b/doc/faq.html index a526bd83..c1eea109 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -173,8 +173,10 @@

4. Running

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

-

A command line option that begins with '+' is always treated as a starting line number. The option just after it, though, is always treated as a filename. So if you want to open '+filename.txt' starting on line 1, you should use:

-

nano +1 +filename.txt

+

If a command line option that begins with '+' is followed by at least one more 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 any more options, 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 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/double bucky/meta 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.

Bourne shell users (bash and sh): export TERM=vt100