faq.html 29 KB
Newer Older
Chris Allegretta's avatar
Chris Allegretta committed
1
2
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
3
<title>The GNU nano editor FAQ</title>
Chris Allegretta's avatar
Chris Allegretta committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="GENERATOR" content="Mozilla/4.73 [en] (X11; U; Linux 2.2.16 i586) [Netscape]">
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">

<h1>
<font color="#CC0000">The nano FAQ</font></h1>
<h2>
<font color="#330000">Table of Contents</font></h2>

<h2>
<font color="#330000"><a href="#1">1.&nbsp; General</a></font></h2>

<blockquote><font color="#330000"><a href="#1.1">1.1 About this FAQ.</a></font>
<br><font color="#330000"><a href="#1.2">1.2. How do I contribute to it?</a></font>
20
<br><font color="#330000"><a href="#1.3">1.3. What is GNU nano?</a></font>
Chris Allegretta's avatar
Chris Allegretta committed
21
22
23
24
<br><font color="#330000"><a href="#1.4">1.4. What is the history behind
nano?</a></font>
<br><font color="#330000"><a href="#1.5">1.5. Why the name change from
TIP?</a></font>
25
<br><font color="#330000"><a href="#1.6">1.6. What is the current version
Chris Allegretta's avatar
Chris Allegretta committed
26
27
28
29
30
of nano?</a></font>
<br><font color="#330000"><a href="#1.7">1.7. I want to read the man page
without having to download the program!</a></font></blockquote>

<h2>
31
32
<font color="#330000"><a href="#2">2. Where to get GNU 
nano</a></font></h2>
Chris Allegretta's avatar
Chris Allegretta committed
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

<blockquote><font color="#330000"><a href="#2.1">2.1. FTP and WWW sites
that carry nano.</a></font>
<br><font color="#330000"><a href="#2.2">2.2. Redhat and derivatives (.rpm)
packages.</a></font>
<br><font color="#330000"><a href="#2.3">2.3. Debian (.deb) packages.</a></font>
<br><font color="#330000"><a href="#2.4">2.4. By CVS (for the brave).</a></font></blockquote>

<h2>
<font color="#330000"><a href="#3">3. Installation and Configuration</a></font></h2>

<blockquote><font color="#330000"><a href="#3.1">3.1. How do install the
RPM or DEB package?</a></font>
<br><font color="#330000"><a href="#3.2">3.2. Compiling from source: WHAT
THE HECK DO I DO NOW?</a></font>
<br><font color="#330000"><a href="#3.2">3.3. Why does everything go into
/usr/local?</a></font>
<br><font color="#330000"><a href="#3.4">3.4. I get errors about 'bindtextdomain',
51
52
'gettext' and/or 'gettextdomain'.&nbsp; What can I do about it?</a></font>
<br><font color="#330000"><a href="#3.5">3.5. Nano should automatically 
53
54
55
run strip on the binary when installing it!</a></font>
<br><font color="#330000"><a href="#3.6">3.6. How can I make the
executable smaller?  This is too bloated!</a></font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
56
57
58
59
60
61
62
63
64
65

<h2>
<font color="#330000"><a href="#4">4. Running</a></font></h2>

<blockquote><font color="#330000"><a href="#4.1">4.1. Ack!&nbsp; My backspace/delete/enter/double
bucky/meta key doesn't seem to work!&nbsp; What can I do?</a></font>
<br><font color="#330000"><a href="#4.2">4.2. Nano crashes when I type
&lt;insert keystroke here>!</a></font>
<br><font color="#330000"><a href="#4.3">4.3. Nano crashes when I resize
my window.&nbsp;&nbsp; How can I fix that?</a></font>
66
67
<br><font color="#330000"><a href="#4.4">4.4. Why does nano show ^\
in the shortcut list instead of ^J?</a></font>
68
69
<br><font color="#330000"><a href="#4.5">4.5. When I type in a
search string, the string I last searched for is already in front of
70
my cursor!  What happened?!</a></font>
71
<br><font color="#330000"><a href="#4.6">4.6. I get the message "NumLock
72
glitch detected.  Keypad will malfunction with NumLock off." What
73
74
75
gives?</a></font>
<br><font color="#330000"><a href="#4.7">4.7. How do I make nano my
default editor (in Pine, mutt, etc.)?</a></font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
76
77
78
79
80
81
82
83
84
85

<h2>
<font color="#330000"><a href="#5">5. Internationalization</a></font></h2>

<blockquote><font color="#330000"><a href="#5.1">5.1. There's no translation
for my language!</a></font>
<br><font color="#330000"><a href="#5.2">5.2. I don't like the translation
for &lt;x> in my language.&nbsp;&nbsp; How can I fix it?</a></font></blockquote>

<h2>
Chris Allegretta's avatar
Chris Allegretta committed
86
<font color="#330000"><a href="#6">6. Advocacy and Licensing</a></font></h2>
Chris Allegretta's avatar
Chris Allegretta committed
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132

<blockquote><font color="#330000"><a href="#6.1">6.1. Why should I use
nano instead of Pico?</a></font>
<br><font color="#330000"><a href="#6.2">6.2. Why should I use Pico instead
of nano?</a></font>
<br><font color="#330000"><a href="#6.3">6.3. What is so bad about the
PINE license?</a></font>
<br><font color="#330000"><a href="#6.4">6.4. Okay, well what mail program
should I use then?</a></font>
<br><font color="#330000"><a href="#6.5">6.5. Why doesn't UW simply change
their license?</a></font>
<br><font color="#330000"><a href="#6.6">6.6. What if tomorrow UW changes
the license to be truly Free Software?</a></font></blockquote>

<h2>
<font color="#330000"><a href="#7">7. Miscellaneous</a></font></h2>

<blockquote><font color="#330000"><a href="#7.1">7.1. Nano related mailing
lists.</a></font>
<br><font color="#330000"><a href="#7.2">7.2. I want to send the development
team a big load of cash (or just a thank you).</a></font>
<br><font color="#330000"><a href="#7.3">7.3. How do I submit a patch?</a></font>
<br><font color="#330000"><a href="#7.4">7.4. How do I join the development
team?</a></font>
<br><font color="#330000"><a href="#7.5">7.5. Can I have CVS write access?</a></font></blockquote>

<h2>
<a href="#8">8. ChangeLog</a></h2>

<hr WIDTH="100%">
<br>&nbsp;
<h1>
<a NAME="1"></a><font color="#330000">1.&nbsp; General</font></h1>

<h2>
<a NAME="1.1"></a><font color="#330000">1.1 About this FAQ.</font></h2>

<blockquote><font color="#330000">This FAQ was written and is maintained
by Chris Allegretta &lt;<a href="mailto:chrisa@asty.org">chrisa@asty.org</a>>,
who also happens to be the creator of nano.&nbsp;&nbsp; Maybe someone else
will volunteer to maintain this FAQ someday, who knows...</font></blockquote>

<h2>
<a NAME="1.2"></a><font color="#330000">1.2. How do I contribute to it?</font></h2>

<blockquote><font color="#330000">Your best bet is to send it to the nano
Chris Allegretta's avatar
Chris Allegretta committed
133
134
email address, <a
href="mailto:nano@nano-editor.org">nano@nano-editor.org</a> and if
Chris Allegretta's avatar
Chris Allegretta committed
135
136
137
it is useful enough it will be included in future versions.</font></blockquote>

<h2>
138
<a NAME="1.3"></a><font color="#330000">1.3. What is GNU nano?</font></h2>
Chris Allegretta's avatar
Chris Allegretta committed
139

140
141
142
143
144
<blockquote><font color="#330000">GNU Nano is designed to be a free
replacement for the Pico text editor, part of the PINE email suite from <a
href="http://www.washington.edu/pine">The University of
Washington</a>.&nbsp; It aims to "emulate Pico as closely as possible and
perhaps include extra functionality.</font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
145
146
147
148
149
150
151
152
153
154
155

<h2>
<a NAME="1.4"></a><font color="#330000">1.4. What is the history behind
nano?</font></h2>

<blockquote><font color="#330000">Funny you should ask!</font>
<p><b><font color="#330000">In the beginning...</font></b>
<p><font color="#330000">For years Pine was THE program used to read email
on a Unix system.&nbsp; The Pico text editor is the portion of the program
one would use to compose his or her mail messages.&nbsp; Many beginners
to Unix flocked to Pico and Pine because of their well organized, easy
156
to use interfaces.&nbsp; With the proliferation of GNU/Linux in the mid to
Chris Allegretta's avatar
Chris Allegretta committed
157
158
late 90's, many University students became intimately familiar with the
strengths (and weaknesses) of Pine and Pico.</font>
159
160
<p><b><font color="#330000">Then came Debian...</font></b>
<p><font color="#330000">The <a href="http://www.debian.org">Debian GNU/Linux</a>
Chris Allegretta's avatar
Chris Allegretta committed
161
162
163
164
165
166
167
168
169
distribution, known for its strict standards in distributing truly "free"
software (i.e. had no restrictions on redistribution), would not include
a binary package for Pine or Pico.&nbsp; Many people had a serious dilemma:&nbsp;
they loved these programs, but they were not truly free software in the
<a href="http://www.gnu.org/philosophy/free-sw.html">GNU</a>
sense of the word.</font>
<p><b><font color="#330000">The event...</font></b>
<p><font color="#330000">It was in late 1999 when Chris Allegretta (our
hero) was yet again complaining to himself about the less-than-perfect
Chris Allegretta's avatar
Chris Allegretta committed
170
license Pico was distributed under, the 1.0.1 makefiles that came with
Chris Allegretta's avatar
Chris Allegretta committed
171
it and how just a few small improvements could make it the Best Editor
172
in the World (TM).&nbsp; Having been a convert from Slackware to Debian,
Chris Allegretta's avatar
Chris Allegretta committed
173
174
175
176
177
178
179
he missed having a simple binary package that included Pine and Pico, and
had grown tired of downloading them himself.</font>
<p><font color="#330000">Finally something snapped inside and Chris coded
and hacked like a madman for many hours straight one weekend to make a
(barely usable) Pico clone, at the time called TIP (Tip Isn't Pico).&nbsp;
The program could not be invoked without a filename, could not save files,
had no help menu, spell checker, and so forth.&nbsp; But over time it improved,
180
and with the help of a few great coders it matured to the (hopefully) stable
181
182
state it is today.
<p><font color="#330000">In February 2001, nano has been declared an
183
184
official GNU program by Richard Stallman.  Nano also reached it's first
production release on March 22, 2001.</font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
185
186
187
188
189
190
191
192
193

<h2>
<a NAME="1.5"></a><font color="#330000">1.5. Why the name change from TIP?</font></h2>

<blockquote><font color="#330000">On January 10, 2000, TIP was officially
renamed to nano because of a namespace conflict with another program called
'tip'.&nbsp; The original 'tip' program "establishes a full duplex terminal
connection to a remote host", and was included with many older Unix systems
(and newer ones like Solaris). The conflict was not noticed at first because
194
there is no 'tip' utility included with most GNU/Linux distributions (where
Chris Allegretta's avatar
Chris Allegretta committed
195
196
197
198
199
200
201
nano was developed).</font></blockquote>

<h2>
<a NAME="1.6"></a><font color="#330000">1.6 What is the current version
of nano?</font></h2>

<blockquote><font color="#330000">The current version of nano *should*
Chris Allegretta's avatar
Chris Allegretta committed
202
be 1.0.1.&nbsp; Of course you should always check the nano hompage to
Chris Allegretta's avatar
Chris Allegretta committed
203
204
205
206
207
208
209
see what the latest and greatest version is.</font></blockquote>

<h2>
<a NAME="1.7"></a><font color="#330000">1.7. I want to read the man page
without having to download the program!</font></h2>

<blockquote><font color="#330000">Jeez, demanding, aren't we?&nbsp;&nbsp;
Chris Allegretta's avatar
Chris Allegretta committed
210
Okay, look <a href="http://www.nano-editor.org/dist/nano.1.html">here</a>.</font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
211
212
213

<hr WIDTH="100%">
<h1>
214
<a NAME="2"></a><font color="#330000">2. Where to get GNU nano</font></h1>
Chris Allegretta's avatar
Chris Allegretta committed
215
216
217
218
219
220
221
222
223

<h2>
<a NAME="2.1"></a><font color="#330000">2.1. FTP and WWW sites that carry
nano.</font></h2>

<blockquote><font color="#330000">The nano distribution can be downloaded
at the following fine web and ftp sites:</font>
<ul>
<li>
Chris Allegretta's avatar
Chris Allegretta committed
224
<font color="#330000"><a href="http://www.nano-editor.org/dist">http://www.nano-editor.org/dist</a></font></li>
Chris Allegretta's avatar
Chris Allegretta committed
225
226
227
228
229

<li>
<font color="#330000"><a href="http://www.ewtoo.org/~astyanax/nano/dist">http://www.ewtoo.org/~astyanax/nano/dist</a></font></li>

<li>
Chris Allegretta's avatar
Chris Allegretta committed
230
<font color="#330000"><a href="ftp://ftp.nano-editor.org/pub/nano">ftp://ftp.nano-editor.org/pub/nano</a></font></li>
Chris Allegretta's avatar
Chris Allegretta committed
231
232
233
234
235
236
237
238
239
240
241
242
243

<li>
<font color="#330000"><a href="ftp://nano.sourceforge.net/pub/nano/">ftp://nano.sourceforge.net/pub/nano</a></font></li>
</ul>
</blockquote>

<h2>
<a NAME="2.2"></a><font color="#330000">2.2. Redhat and derivatives (.rpm)
packages.</font></h2>

<blockquote>
<ul>
<li>
Chris Allegretta's avatar
Chris Allegretta committed
244
<font color="#330000"><a href="http://www.nano-editor.org/dist/RPMS">http://www.nano-editor.org/dist/RPMS</a></font></li>
Chris Allegretta's avatar
Chris Allegretta committed
245
246
247
248
249

<li>
<font color="#330000"><a href="http://www.ewtoo.org/~astyanax/nano/dist/RPMS">http://www.ewtoo.org/~astyanax/nano/dist/RPMS</a></font></li>

<li>
Chris Allegretta's avatar
Chris Allegretta committed
250
<font color="#330000"><a href="ftp://ftp.nano-editor.org/pub/nano/RPMS">ftp://ftp.nano-editor.org/pub/nano/RPMS</a></font></li>
Chris Allegretta's avatar
Chris Allegretta committed
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268

<li>
<font color="#330000"><a href="ftp://nano.sourceforge.net/pub/nano/RPMS">ftp://nano.sourceforge.net/pub/nano/RPMS</a></font></li>
</ul>
<font color="#330000">Additionally, check out the Redhat contribs section
at:</font>
<ul>
<li>
<font color="#330000"><a href="http://metalab.unc.edu/pub/Linux/distributions/redhat/contrib/libc6/i386">http://metalab.unc.edu/pub/Linux/distributions/redhat/contrib/libc6/i386</a></font></li>

<li>
<font color="#330000"><a href="ftp://metalab.unc.edu/pub/Linux/distributions/redhat/contrib/libc6/i386">ftp://metalab.unc.edu/pub/Linux/distributions/redhat/contrib/libc6/i386</a></font></li>
</ul>
</blockquote>

<h2>
<a NAME="2.3"></a><font color="#330000">2.3. Debian (.deb) packages.</font></h2>

269
<blockquote><font color="#330000">For Debian users, you can check out the
Chris Allegretta's avatar
Chris Allegretta committed
270
271
272
current nano packages for:</font>
<ul>
<li>
273
<font color="#330000"><a href="http://www.debian.org/Packages/stable/editors/nano.html">stable</a></font></li>
Chris Allegretta's avatar
Chris Allegretta committed
274
275
276
277
278

<li>
<font color="#330000"><a href="http://www.debian.org/Packages/unstable/editors/nano.html">unstable</a></font></li>
</ul>
<font color="#330000">Note that versions &lt; 0.9.10 are probably not for
279
280
281
those wanting to get serious work done, so if you are using Debian 2.2, check
that you have updated to 2.2r3, which comes with nano 0.9.23. If you're 
tracking unstable, you probably have the newest version already.</font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306

<h2>
<a NAME="2.4"></a><font color="#330000">2.4. By CVS (for the brave).</font></h2>

<blockquote><font color="#330000">For the 'bleeding edge' current version
of nano, you can use CVS to download the current source code.&nbsp; <b>Note:</b>
believe it or not, by downloading code that has not yet stabilized into
an official release, there could quite possibly be bugs, in fact the code
may not even compile!&nbsp; Anyway, see <a href="https://sourceforge.net/cvs/?group_id=1304">the
nano CVS page</a> for info on anonymous CVS access to the nano source.</font></blockquote>

<hr WIDTH="100%">
<h1>
<a NAME="3"></a><font color="#330000">3. Installation and Configuration</font></h1>

<h2>
<a NAME="3.1"></a><font color="#330000">3.1. How do install the RPM or
DEB package?</font></h2>

<blockquote><font color="#330000">It's simple really!&nbsp; As root, type
<b>rpm
-Uvh nano-x.y.z-1.i386.rpm</b> if you have a Redhat-ish system or
<b>dpkg
-i nano_x.y.z-1.deb</b> if you have a Debian-ish system, where
<b>x.y.z</b>
Jordi Mallach's avatar
   
Jordi Mallach committed
307
is the release of nano.&nbsp; There are other programs to install packages,
Chris Allegretta's avatar
Chris Allegretta committed
308
309
310
311
312
313
314
315
316
317
318
and if you wish to use those, knock yourself out.</font></blockquote>

<h2>
<a NAME="3.2"></a><font color="#330000">3.2. Compiling from source: WHAT
THE HECK DO I DO NOW?</font></h2>

<blockquote><font color="#330000">Okay, take a deep breath, this really
isn't hard.&nbsp; Unpack the nano source with a command like:</font>
<p><b><font color="#330000">tar -zxvf nano-x.y.z.tar.gz</font></b>
<p><font color="#330000">If you get error messages about the -z option,
try this:</font>
Chris Allegretta's avatar
Chris Allegretta committed
319
<p><b><font color="#330000">gzip -dc nano-x.y.z.tar.gz | tar xvf -</font></b>
Chris Allegretta's avatar
Chris Allegretta committed
320
321
322
<p><font color="#330000">(again, where x.y.z is the version number in question).&nbsp;
Then you need to run configure with any options you might want (if any).</font>
<p><font color="#330000">The average case is this:</font>
323
324
<p><b><font color="#330000">cd nano-x.y.z/</font></b>
<br><b><font color="#330000">./configure</font></b>
Chris Allegretta's avatar
Chris Allegretta committed
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
<br><b><font color="#330000">make</font></b>
<br><font color="#330000"><b>make install </b>(as root, of course)</font></blockquote>

<h2>
<a NAME="3.3"></a><font color="#330000">3.3. Why does everything go into
/usr/local?</font></h2>

<blockquote><font color="#330000">Well, that's what the <b>configure</b>
script defaults to.&nbsp; If you wish to change this, simply do this:</font>
<p><b><font color="#330000">./configure --prefix=/usr</font></b>
<p><font color="#330000">to put nano into /usr/bin when you run <b>make
install</b>.</font></blockquote>

<h2>
<a NAME="3.4"></a><font color="#330000">3.4. I get errors about 'bindtextdomain',
'gettext' and/or 'gettextdomain'.&nbsp; What can I do about it?</font></h2>

<blockquote><font color="#330000">Try doing a <b>./configure --with-included-gettext</b>
and see if that solves your problem.&nbsp; You make need to do a <b>make
clean ; make</b> to get it to work fully.</font></blockquote>

346
347
348
349
350
351
352
353
<h2>
<a NAME="3.5"></a><font color="#330000">3.5. Nano should automatically 
run strip on the binary when installing it!</font></h2>

<blockquote><font color="#330000">Actually, it does, but you have to use
<b>make install-strip</b>.  The default make install does not, and will
not, run strip automatically.</font></blockquote>

354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
<h2>
<a NAME="3.6"></a><font color="#330000">
3.6. How can I make the executable smaller?  This is too
bloated!</font></h2>

<blockquote><font color="#330000">Actually, there are several parts of the
editor that can be disabled.  You can pass arguments to the
<b>configure</b> script that disable certain features.   Here's a brief
list:
<pre>
<b>--disable-tabcomp</b>       Disables tab completion code for a smaller binary
<b>--disable-justify</b>       Disable justify/unjustify function
<b>--disable-speller</b>       Disables spell checker function
<b>--disable-help</b>          Disables help function (^G)
<b>--disable-browser</b>       Disables mini file browser
369
370
<b>--disable-wrapping</b>      Disables all wrapping of text (and -w flag)
<b>--disable-mouse</b>         Disables mouse support (and -m flag)
371
</pre><br>
Chris Allegretta's avatar
Chris Allegretta committed
372
There's also the <b>--enable-tiny</b> option which disables everything
373
374
375
376
377
378
379
above, as well as some larger chunks of the program (like the marker code
that you use Control-^ to select with).  Also, if you know you aren't
going to be using other languages you can use <b>--disable-nls</b> 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 <b>strip</b> to strip all debugging code and code that exists in
libraries on your system.
380
381
382
383
384
385
<p>If, in the other hand, you can't live with bells and whistles, you could
try:
<pre>
<b>--enable-extra</b>          Enable extra functions, including easter eggs
<b>--enable-nanorc</b>         Enable use of .nanorc file
<b>--enable-color</b>          Enables color and syntax highlighting
386
</font></blockquote> <hr WIDTH="100%"> <h1>
Chris Allegretta's avatar
Chris Allegretta committed
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
<a NAME="4"></a><font color="#330000">4. Running</font></h1>

<h2>
<a NAME="4.1"></a><font color="#330000">4.1. Ack!&nbsp; My backspace/delete/enter/double
bucky/meta key doesn't seem to work!&nbsp; What can I do?</font></h2>

<blockquote><font color="#330000">Try setting your $TERM variable to 'vt100'.&nbsp;
Nano doesn't yet support every term entry under the sun.</font>
<p><font color="#330000">Bourne shell users (like bash): <b>export TERM=vt100</b></font>
<br><font color="#330000">C Shell users (tcsh and csh): <b>setenv TERM
vt100</b></font></blockquote>

<h2>
<a NAME="4.2"></a><font color="#330000">4.2. Nano crashes when I type &lt;insert
keystroke here>!</font></h2>

<blockquote><font color="#330000">If you aren't trying some bizarre keystroke
combination with some bizarre $TERM entry, chances are you have found a
405
406
bug.&nbsp;&nbsp; You are welcome to submit it to the
<a href="mailto:nano-devel@lists.sourceforge.net">nano-devel</a> list or
Chris Allegretta's avatar
Chris Allegretta committed
407
to <a href="mailto:nano@nano-editor.org">nano@nano-editor.org</a>.</font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
408
409
410
411
412
413

<h2>
<a NAME="4.3"></a><font color="#330000">4.3. Nano crashes when I resize
my window.&nbsp;&nbsp; How can I fix that?</font></h2>

<blockquote><font color="#330000">Older versions of nano had this problem,
Jordi Mallach's avatar
   
Jordi Mallach committed
414
415
please upgrade to a newer version (at least 0.9.9 would be great, 0.9.12
is recommended).</font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
416
417

<h2>
418
419
<a NAME="4.4"></a><font color="#330000">4.4. Why does nano show ^\ in the
shortcut list instead of ^J?</font></h2>
Chris Allegretta's avatar
Chris Allegretta committed
420

421
<blockquote><font color="#330000">The help (^G) and justify (^J) function
Chris Allegretta's avatar
Chris Allegretta committed
422
423
were among the last to be written.&nbsp; To show the improvements that
nano had over Pico (goto line # and replace), ^_ and ^\ were put on the
424
425
426
427
shortcut list.&nbsp;&nbsp; Later, ^G came back in place of ^_ as it proved
to be very valuable for new UNIX users. If you use the <b>-p</b> option to
nano (or hit Meta-P) you will get the same shortcuts at the bottom as
Pico.</font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
428
429

<h2>
430
431
<a name="4.5"><font color="#330000">4.5. When I type in a search
string, the string I last searched for is already in front of my
432
cursor!  What happened?!</font></h2>
433

Chris Allegretta's avatar
Chris Allegretta committed
434
<blockquote><font color="#330000">In nano version 0.9.20, the default is
435
436
to have a completely consistent user interface across all user input
functions.  This means that regardless of whether you're being asked for
Chris Allegretta's avatar
Chris Allegretta committed
437
438
439
440
441
a filename to insert or write, or a string to search for, the
previous value is already inserted before the cursor.  If you prefer the
old behavior, use the pico emulation mode (-p or --pico) or just hit
Meta-P while in nano (see the ^G help text for more
details).</font></blockquote>
442
443

<h2>
444
<a NAME="4.6"></a>I get the message "NumLock glitch detected.  Keypad
445
will malfunction with NumLock off." What gives?</h2>
446
447
448
449
450
451
452
453
454
455
456
457
458

<blockquote>
Nano (actually almost all console editors do) has issues when cycling
the NumLock key in certain X terminals (rxvt, aterm, wterm, etc...).  When
you switch NumLock on to off, you put the terminal into an "application
mode" that changes what sequences are sent by the keypad.  These sequences
vary sufficiently from terminal to terminal that it is nearly impossible
to work around them from within nano.  
<br><br>
In a nutshell, if you want to be able to use the keypad with the arrow and
page up/down functionality, you have to exit nano and reset your terminal
(presumably with "reset" or "stty sane" or similar) and then run nano
again with NumLock off.  If you know an easier way to restore "normal
Chris Allegretta's avatar
Chris Allegretta committed
459
mode", please mail <A href="mailto:nano@nano-editor.org">nano@nano-editor.org</A>.
460
461
462
463
<br>&nbsp;</blockquote>

<h2>
<a NAME="4.7"></a>4.7. How do I make nano my default editor (in Pine,
464
mutt, etc)?</h2>
Chris Allegretta's avatar
Chris Allegretta committed
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500

<blockquote>You need to make nano your $EDITOR.&nbsp; If you want this
to be saved, you should put a line like this in your <b>.bashrc</b> if
you use bash:
<p><b>export EDITOR=/usr/local/bin/nano</b>
<p>or if you use tcsh put this in your <b>.cshrc</b> file:
<p><b>setenv EDITOR /usr/local/bin/nano</b>
<p>Change /usr/local/bin/nano to wherever nano is installed in your system.&nbsp;
Type which nano to find out. This will not take effect until the next time
you login.&nbsp; So log out and back in again.
<p>Then on top that if you use Pine you must go into setup (type <b>S</b>
at the main menu), then configure (type <b>C</b>).&nbsp; Hit enter on the
lines that say:
<p><b>[ ]&nbsp; enable-alternate-editor-cmd</b>
<br><b>[ ]&nbsp; enable-alternate-editor-implicitly</b>
<p>Then exit (<b>E</b>) and select Yes (<b>Y</b>).
<p>Mutt users should see an effect immediately the next time you log in,
no further configuration is needed.&nbsp; However, if you want to let people
know you use nano to compose your email messages, you can put a line like
this in your <b>.muttrc</b>:
<p><b>my_hdr X-Composer: nano x.y.z</b>
<p>Again, replace x.y.z with the version of nano you use.
<br>&nbsp;</blockquote>

<hr WIDTH="100%">
<h1>
<a NAME="5"></a><font color="#330000">5. Internationalization</font></h1>

<h2>
<a NAME="5.1"></a><font color="#330000">5.1. There's no translation for
my language!</font></h2>

<blockquote><font color="#330000">So, uh, get someone who speaks your native
language to write one =-).&nbsp; Just grab the <b>nano.pot</b> file from
the latest and greatest nano distribution (it's in the <b>po/</b> directory)
and translate each line into your native language on the <b>msgstr</b>
501
line.&nbsp; Then send it to the <a href="mailto:nano-devel@lists.sourceforge.net">nano-devel</a> list or <a href="mailto:nano@nano-editor.org">nano@nano-editor.org</a>.</font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520

<h2>
<a NAME="5.2"></a><font color="#330000">5.2. I don't like the translation
for &lt;x> in my language.&nbsp;&nbsp; How can I fix it?</font></h2>

<blockquote><font color="#330000">The best way would probably be to e-mail
the person listed in the <b>&lt;your_language>.po</b> file with your suggested
corrections and they can in turn forward it to the nano email address,
or the devel list.</font></blockquote>

<hr WIDTH="100%">
<h1>
<a NAME="6"></a><font color="#330000">6. Advocacy and Licensing</font></h1>

<h2>
<a NAME="6.1"></a><font color="#330000">6.1. Why should I use nano instead
of Pico?</font></h2>

<blockquote><font color="#330000">There are many reasons to use nano instead
521
of Pico, a more complete list can be found at the <a href="http://www.nano-editor.org">nano
Chris Allegretta's avatar
Chris Allegretta committed
522
523
524
525
526
527
homepage</a>.</font></blockquote>

<h2>
<a NAME="6.2"></a><font color="#330000">6.2. Why should I use Pico instead
of nano?</font></h2>

Chris Allegretta's avatar
Chris Allegretta committed
528
<blockquote>Again, check out the <a href="http://www.nano-editor.org">nano
Chris Allegretta's avatar
Chris Allegretta committed
529
530
531
532
533
homepage</a> for a good summary of reasons.&nbsp; It really is a matter
of personal preference as to which editor you should use.&nbsp; If you're
the type of person who likes using the original version of a program, then
Pico is the editor for you.&nbsp;&nbsp; If you're looking for a few more
features and a 'better' license as far as adding your own changes (sacrificing
534
mailer integration with Pine), nano is the way to go.
535
</blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
536
537
538
539
540

<h2>
<a NAME="6.3"></a><font color="#330000">6.3. What is so bad about the PINE
license?</font></h2>

541
542
543
544
545
546
547
548
<blockquote><font color="#330000">The U of W license for Pine and
Pico is not considered truly Free Software according to both the Free
Software Foundation and the  the <a
href="http://www.debian.org/social_contract#guidelines">Debian
Free Software Guidelines</a>.&nbsp; The main problem regards the
limitations on distributing derived works: according to UW, you can
distribute their software, and you can modfify it, but you can not do
both, i.e. distribute modified binaries.</blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
549
550
551
552
553

<h2>
<a NAME="6.4"></a><font color="#330000">6.4. Okay, well what mail program
should I use then?</font></h2>

554
555
556
557
558
559
560
<blockquote><font color="#330000"> If you are looking to use a Free
Software program similar to PINE and emacs is not your things, you should
definitely take a look at <a href="http://www.mutt.org">mutt</a>.&nbsp; It
is a full-screen, console based mail program that actually has a lot more
flexibility than Pine, but has a keymap included in the distribution that
allows you to use the same keystrokes as Pine would to send and receive
mail.&nbsp; It's also licensed under the GPL.</font></blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
561
562
563
564
565
566

<h2>
<a NAME="6.5"></a><font color="#330000">6.5. Why doesn't UW simply change
their license?</font></h2>

<blockquote><font color="#330000">You're really not asking the right person
Chris Allegretta's avatar
Chris Allegretta committed
567
here.&nbsp; I (Chris) waited a long time to see if UW would change their
Chris Allegretta's avatar
Chris Allegretta committed
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
license because of the amount of high quality software being released and
developed under the GPL without being taken advantage of by malicious corporate
entities or other baddies, but no such luck so far.</font></blockquote>

<h2>
<a NAME="6.6"></a><font color="#330000">6.6. What if tomorrow UW changes
the license to be truly Free Software?</font></h2>

<blockquote><font color="#330000">Honestly nothing would make me happier
than to see that happen.&nbsp; Nano would continue to be developed independently
until such time as Pico had all the features nano did or the projects merged.&nbsp;
That just does not seem very likely given that there has been no sign of
any changes in the past few years in a positive direction.</font></blockquote>

<hr WIDTH="100%">
<h1>
<a NAME="7"></a><font color="#330000">7. Miscellaneous</font></h1>

<h2>
<a NAME="7.1"></a><font color="#330000">7.1. Nano related mailing lists.</font></h2>

<blockquote><font color="#330000">There are two mailing lists for nano
hosted at <a href="http://www.sourceforge.net">SourceForge</a>, nano-announce
and nano-devel.&nbsp; Nano-announce is a very low traffic list where new
Jordi Mallach's avatar
   
Jordi Mallach committed
592
versions of nano are announced (surprise!)&nbsp; Nano-devel is a normally
593
low, sometimes high traffic list for discussing the present and future
Chris Allegretta's avatar
Chris Allegretta committed
594
595
596
597
598
599
600
601
602
603
development of nano.&nbsp; Here are links to where you can sign up for
a given list:</font><font color="#330000"></font>
<p><font color="#330000">nano-announce - <a href="http://lists.sourceforge.net/mailman/listinfo/nano-announce">http://lists.sourceforge.net/mailman/listinfo/nano-announce</a></font>
<br><font color="#330000">nano-devel - <a href="http://lists.sourceforge.net/mailman/listinfo/nano-devel">http://lists.sourceforge.net/mailman/listinfo/nano-devel</a></font></blockquote>

<h2>
<a NAME="7.2"></a><font color="#330000">7.2. I want to send the development
team a big load of cash (or just a thank you).</font></h2>

<blockquote><font color="#330000">That's fine.&nbsp; Send it <a href="mailto:nano-devel@lists.sourceforge.net">our
Chris Allegretta's avatar
Chris Allegretta committed
604
605
way</a>!&nbsp; Better yet, fix a <a href="http://www.nano-editor.org/dist/BUGS">bug</a>
in the program or implement a <a href="http://www.nano-editor.org/dist/TODO">cool
Chris Allegretta's avatar
Chris Allegretta committed
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
feature</a> and send us that instead (though cash is fine too).</font></blockquote>

<h2>
<a NAME="7.3"></a><font color="#330000">7.3. How do I submit a patch?</font></h2>

<blockquote><font color="#330000">See Section <a href="#7.2">7.2</a>.</font></blockquote>

<h2>
<a NAME="7.4"></a><font color="#330000">7.4. How do I join the development
team?</font></h2>

<blockquote><font color="#330000">The easiest way is to consistently send
in good patches that add some needed functionality, fix a bug or two and/or
make the program more optimized/efficient.&nbsp; Then ask nicely and you
will probably be added to the SourceForge development list and be given
CVS write after awhile.&nbsp; There is a lot of responsibility that goes
along with being a team member, so don't think it's just something to add
to your resume.</font></blockquote>

<h2>
<a NAME="7.5"></a><font color="#330000">7.5. Can I have CVS write access?</font></h2>

<blockquote><font color="#330000">Re-read Section </font><a href="#7.4">7.4</a><font color="#330000">
and you should know the answer.</font></blockquote>

<h1>
<a NAME="8"></a>8. ChangeLog</h1>

<blockquote>06/31/2000 - Initial framework.</blockquote>
Chris Allegretta's avatar
Chris Allegretta committed
635
636
<P>
$Id$
Chris Allegretta's avatar
Chris Allegretta committed
637
638
</body>
</html>