Add Nano tool - user-friendly text editor
[tomato.git] / release / src / router / nano / ChangeLog.pre-2.1
blobd3685e2074427b9d696e0650d0a511dcad4c3f09
1 GNU nano 2.0.3 - 2007.01.29
2 - General:
3         - Miscellaneous comment fixes. (DLR)
4         - More int -> bool conversions. (DLR)
5         - Don't install the nanorc manpages or generate their HTML
6           versions if nano is built without nanorc support.  Changes to
7           configure.ac, doc/man/Makefile.am, and doc/man/fr/Makefile.am.
8           (DLR)
9         - Simplify the commands that generate HTML documentation in
10           order to remove unnecessary usage of cat.  Changes to
11           doc/man/Makefile.am, doc/man/fr/Makefile.am, and
12           doc/texinfo/Makefile.am. (DLR)
13 - files.c:
14   do_writeout()
15         - When setting retval to the return value of
16           write_(marked_)?file(), use the "?" operator instead of an
17           if/else clause. (DLR)
18   is_dir()
19         - Don't assign dirptr's value using buf until we've asserted
20           that buf isn't NULL. (DLR)
21         - Remove unneeded assert. (DLR)
22 - proto.h:
23         - Add missing is_dir() prototype. (DLR)
24 - search.c:
25   regexp_init()
26         - Don't assign rc's value via regcomp() until we've asserted
27           that regexp_compiled is FALSE. (DLR)
28 - text.c:
29   do_alt_speller()
30         - Rename variable altspell_error to alt_spell_error, for
31           consistency. (DLR)
32   do_spell()
33         - Rename variable i to status, for clarity. (DLR)
34 - winio.c:
35   do_credits()
36         - Update the last copyright notice to include 2007. (DLR)
37 - Makefile.am:
38         - Add README.CVS to EXTRA_DIST, so that nano's CVS checkout
39           instructions aren't only available in its CVS snapshots. (DLR)
40 - README:
41         - Add more miscellaneous cosmetic fixes. (DLR)
42 - README.CVS:
43         - Update for the 2.0 branch of nano. (DLR)
44 - NEWS:
45         - Formatting fix. (DLR)
46 - m4/glib-2.0.m4:
47         - Import the latest version of this file from glib 2.10.3. (DLR)
48 - doc/faq.html:
49         - Update section 4.1 to describe how to open files with names
50           beginning with '+' at specified columns as well as lines.
51           (DLR)
52 - doc/man/fr/Makefile.am:
53         - Set mandir before setting man_MANS, to more closely match
54           doc/man/Makefile.am. (DLR)
55 - doc/syntax/python.nanorc:
56         - Improve string highlighting regexes. (Mike Frysinger)
58 GNU nano 2.0.2 - 2006.12.20
59 - General:
60         - Miscellaneous comment fixes. (DLR)
61 - browser.c:
62   do_browser()
63         - Properly handle directories that contain nulls. (DLR)
64 - files.c:
65   do_insertfile()
66         - Properly handle filenames and executable commands that contain
67           nulls. (DLR)
68   write_file()
69         - Properly handle filenames that contain nulls. (DLR)
70   do_writeout()
71         - Fix a segfault when we can't get the full path of either the
72           filename we want to save under or the original filename. (DLR,
73           found by Mike Frysinger)
74 - nano.h:
75         - Rename NANO_ALT_REPLACE_KEY to NANO_REPLACE_ALTKEY, for
76           consistency. (DLR)
77         - Rename NANO_ALT_.* and NANO_.*ALTKEY to NANO_META_.* and
78           NANO_.*METAKEY, for consistency. (DLR)
79 - search.c:
80   update_history()
81         - Fix minor memory leak. (DLR)
82 - text.c:
83   do_spell()
84         - When setting i to the return value of write_(marked_)?file(),
85           use the "?" operator instead of an if/else clause. (DLR)
86   do_verbatim_input()
87         - Fix minor memory leak. (DLR)
88 - winio.c:
89   parse_kbinput()
90         - Add missing break. (DLR)
91         - Fix minor memory leak. (Itay Perl)
92   parse_verbatim_kbinput()
93         - Fix minor memory leak. (DLR)
94   edit_draw()
95         - Fix potential warnings when assigning -1 to paintlen by using
96           if/else clauses instead of "?" operators. (DLR)
97 - configure.ac:
98         - Reword several option descriptions, for clarity. (DLR)
99 - doc/faq.html:
100         - Add miscellaneous wording and capitalization fixes. (DLR)
101 - BUGS:
102         - Add miscellaneous cosmetic fixes. (DLR)
103 - README:
104         - Update for the 2.0 branch of nano. (DLR)
106 GNU nano 2.0.1 - 2006.11.20
107 - General:
108         - Miscellaneous comment fixes. (DLR)
109         - Fix copyright notices to not abbreviate the year list using a
110           range.  Changes to do_credits() and all source files. (DLR)
111 - files.c:
112   get_full_path()
113         - Remove unneeded assert. (DLR)
114         - Fix problem where only paths would be returned when both paths
115           and filenames should have been. (DLR)
116   do_writeout()
117         - For consistency, when saving a file with no name, don't allow
118           overwriting an existing file when in restricted mode. (DLR)
119         - Fix problem where a file could sometimes be overwritten
120           without a warning prompt. (DLR)
121 - winio.c:
122   do_replace_highlight()
123         - Include the code to display zero-length matches even when
124           regex.h isn't found, as it can also be used to display
125           zero-length Unicode characters. (DLR)
126 - doc/rnano.1, doc/fr/rnano.1:
127         - Add missing "(C)" to the copyright notice in the comments.
128           (DLR)
129 - doc/nano.texi:
130         - Remove unneeded "." from the copyright notice in the comments.
131           (DLR)
132 - NEWS:
133         - Add missing entries for nano 1.0.2 and 1.0.3, since 1.1.0
134           includes their changes. (DLR)
136 GNU nano 2.0.0 - 2006.11.06
137 - General:
138         - Miscellaneous comment fixes. (DLR)
139         - Add syntax for POV-Ray files.  New file doc/syntax/pov.nanorc;
140           changes to doc/nanorc.sample.in and doc/syntax/Makefile.am.
141           (Donnie Berkholz, minor tweaks by DLR)
142 - AUTHORS:
143         - Update for the 2.0 branch of nano. (DLR)
144 - nano.spec.in:
145         - Update links for the 2.0 branch of nano. (DLR)
146         - Update for newer RPM-based distributions. (DLR, adapted from
147           the nano 1.3.12-1.1.spec file in Fedora Rawhide)
148         - Delete the changelog section, as it hasn't been kept up to
149           date, and all its changes are documented here in any case.
150           (DLR)
151 - doc/faq.html:
152         - Update links for the 2.0 branch of nano. (DLR)
153 - doc/nano.1, doc/nanorc.5, doc/rnano.1:
154         - Add minor wording fixes. (DLR)
155 - doc/man/fr/nano.1, doc/man/fr/nanorc.5, doc/man/fr/rnano.1:
156         - Updated manpage translations by Jean-Philippe GuĂ©rard.
157 - doc/nano.texi:
158         - Add minor wording and punctuation fixes. (DLR)
160 GNU nano 1.9.99pre3 - 2006.10.25
161 - chars.c:
162   nstrncasecmp()
163         - When returning, use the "?" operator instead of an if/else
164           clause. (DLR)
165 - cut.c:
166   do_cut_text()
167         - When uncutting text in the process of copying it, always set
168           placewewant, as do_uncut_text() does, so that the current line
169           is always updated properly. (DLR)
170 - files.c:
171   input_tab()
172         - Since the field precision operator used in the sprintf() uses
173           ints and not size_t's, replace it with two strncpy()s, which
174           use size_t's, and a null termination. (DLR)
175 - help.c:
176   parse_help_input()
177         - Add 'E' and 'e' as aliases for Exit, for consistency with the
178           file browser. (DLR)
179 - m4/ac_define_dir.m4:
180         - Import the latest version of this file from
181           http://autoconf-archive.cryp.to/ac_define_dir.m4. (DLR)
182 - doc/faq.html:
183         - Update the question in section 4.13 to match the version of it
184           in the answer section. (DLR)
185 - doc/syntax/c.nanorc:
186         - Simplify "undef", "ifn?def", "elif", and "else" in the
187           preprocessor regexes. (DLR)
189 GNU nano 1.9.99pre2 - 2006.10.02
190 - General:
191         - Miscellaneous comment fixes. (DLR)
192         - Make sure that the statusbar cursor position is always
193           properly reset when we get out of all statusbar prompts.
194           Changes to do_insertfile(), do_writeout(),
195           handle_sigwinch(), main(), and do_prompt_abort(). (DLR)
196 - prompt.c:
197   do_statusbar_input()
198         - If we get a verbatim input sequence ending with Ctrl-J, remove
199           the Ctrl-J from the buffer before interpreting it as Enter, so
200           that it doesn't erroneously fall through to the edit window
201           and get interpreted as Justify. (DLR)
202 - winio.c:
203   get_input()
204         - Simplify to avoid an unnecessary key_buffer_len check. (DLR)
205 - doc/syntax/c.nanorc:
206         - Add "size_t" and "ssize_t" to the types regexes. (DLR,
207           suggested by Mike Frysinger)
208         - Simplify "signed" and "unsigned" in the types regexes. (DLR)
210 GNU nano 1.9.99pre1 - 2006.08.29
211 - General:
212         - Miscellaneous comment fixes. (DLR)
213         - Fix option descriptions.  At least one of the two parts of
214           +LINE,COLUMN must be specified at all times; COLUMN is not the
215           only optional value.  Also, fix wording problems in
216           -O/--morespace and -W/--wordbounds.  Changes to usage(),
217           UPGRADE, nano.1, nanorc.5, rnano.1, nano.texi, and
218           nanorc.sample.in. (DLR)
219         - Fix mouse support so that it truly ignores everything except
220           releases and clicks of button 1.  Changes to
221           enable_mouse_support() and get_mouseinput(). (DLR)
222         - In certain places, call wnoutrefresh(bottomwin) after calling
223           blank_statusbar(), in order to ensure that the statusbar is
224           actually blanked.  Changes to do_help(), do_continue(),
225           handle_sigwinch(), and update_statusbar_line(). (DLR)
226         - If the mark isn't on, allow Meta-} and Meta-{ to indent and
227           unindent only the current line, just as it would if the mark
228           covered only the current line, instead of displaying a
229           statusbar message and quitting.  Changes to shortcut_init(),
230           do_indent_marked() (renamed do_indent()),
231           do_indent_marked_void() (renamed do_indent_void()),
232           do_unindent_marked_void() (renamed do_unindent()), and
233           UPGRADE. (DLR, suggested by John M. Gabriele)
234         - Consolidate do_scroll_(up|down)() into do_(up|down)(), as
235           they have a lot of duplicate code.  New functions do_up_void()
236           and do_down_void(); changes to shortcut_init(), do_up(),
237           do_scroll_up(), do_down(), do_scroll_down(), do_left(), and
238           do_right(). (DLR)
239         - Make Jordi's email address, and the description of what the
240           manual pages were written for, consistent in the
241           documentation.  Changes to AUTHORS, nano.1, nanorc.5, and
242           rnano.1. (DLR, based on suggestions by Jordi)
243         - Don't include sys/ioctl.h in nano.c when NANO_TINY is defined,
244           as ioctl() is never used then. (DLR)
245         - Improve the display of bools in debugging statements.  Changes
246           to parse_kbinput(), get_escape_seq_kbinput(),
247           parse_escape_seq_kbinput(), get_shortcut(), and get_toggle().
248           (DLR)
249         - Rename the values of the scroll_dir enum to UP_DIR and
250           DOWN_DIR, since UP is defined as a termcap value in Tru64's
251           and NetBSD 3.0's curses.h, which breaks compilation on those
252           systems.  Changes to do_page_up(), do_page_down(), do_up(),
253           do_down(), nano.h, and edit_scroll(). (DLR; found by Daniel
254           Richard G. and Adam Wysocki, repectively)
255         - Rename the DISABLE_ROOTWRAP #define to DISABLE_ROOTWRAPPING.
256           (DLR)
257         - When using slang 2.x, call SLutf8_enable() with an argument of
258           1 instead of TRUE, as that's the proper way to enable its
259           UTF-8 support.  Changes to main() and configure.ac. (DLR)
260         - Fix punctuation relating to "i.e." in various comments and
261           documentation. (Benno Schulenberg and DLR)
262         - Make bad_mbchar a static const char* const in chars.c, as its
263           value doesn't change. (DLR)
264         - Add various clarifications to translated strings.  Changes to
265           do_insertfile_void(), shortcut_init(), toggle_init(),
266           help_init(), print_view_warning(), usage(), and do_mark().
267           (Benno Schulenberg, minor tweaks by DLR)
268         - Properly preserve the cursor position when going from the
269           "Read File" or "Save File As" prompt to the file browser to
270           the "Go To Directory" prompt, and then canceling back to the
271           "Read File" or "Save File As" prompt.  Changes to
272           get_prompt_string() and do_prompt(). (DLR)
273         - Rename the parameter old_pww to pww_save in
274           need_statusbar_horizontal_update(), need_horizontal_update(),
275           need_vertical_update(), and edit_redraw(); and rename the
276           variable old_pww to pww_save in do_search() and do_research();
277           for consistency. (DLR)
278 - browser.c:
279   do_browser()
280         - Refactor the mouse support, modeling it after do_mouse() for
281           consistency. (DLR)
282         - Remove unneeded call to blank_edit(). (DLR)
283         - After entering "..", select the directory we were in before
284           instead of the first filename in the list, as Pico does. (DLR)
285         - Simplify screen update handling and exiting. (DLR)
286         - Fix potential segfault when going to a directory that doesn't
287           begin with '/'. (DLR)
288   do_browse_from()
289         - During the operating directory check, if path isn't NULL,
290           don't bother freeing it before mallocstrcpy()ing operating_dir
291           into it, as the latter operation will free it. (DLR)
292         - Don't bother freeing path if it's NULL. (DLR)
293   browser_init()
294         - Fix off-by-one error when calculating longest that kept the
295           rightmost column of the screen from being used. (DLR)
296         - Calculate width here instead of in browser_refresh(), as it's
297           more consistent. (DLR)
298         - If filelist is initialized, free it here instead of in several
299           places in do_browser(). (DLR)
300   browser_refresh()
301         - Simplify. (DLR)
302         - Fix problems where translated versions of "(dir)" could be
303           truncated, and where file sizes could be too long. (DLR)
304         - For the ".." entry, display "(parent dir)" instead of "(dir)",
305           as Pico does. (DLR)
306         - If a filename is too long, truncate it and display an ellipsis
307           before it, as titlebar() does. (DLR)
308         - Add translator comments explaining the maximum intended
309           lengths of "(dir)" and "(parent dir)". (DLR)
310         - Fix problem where width wouldn't be properly initialized if
311           the file list took up one line or less. (DLR)
312         - Don't display overly long filenames with ellipses if the
313           number of columns is extremely small. (DLR)
314   browser_select_filename()
315         - New function, used to select a specific filename in the list.
316           (DLR)
317   findnextfile()
318         - Simplify the uses of tail(). (DLR)
319   striponedir()
320         - Since all the strings passed to this are dynamically
321           allocated, use null_at() to strip the directory from the
322           string.  Also, return the stripped path instead of modifying
323           path. (DLR)
324 - chars.c:
325   mbstrncasecmp(), mbstrcasestr(), mbrevstrcasestr()
326         - Don't allocate space for multibyte characters until we've
327           asserted that the parameters we're using aren't NULL. (DLR)
328 - files.c:
329   do_insertfile()
330         - If we execute a command in a new buffer, move back to the
331           beginning of the first line of the buffer afterwards, for
332           consistency. (DLR)
333         - If we don't insert a file into a new buffer, properly update
334           the x-coordinate to account for the number of characters
335           inserted on the current line. (DLR)
336   get_full_path()
337         - Don't return NULL when the current directory doesn't exist, as
338           we can still recover from that. (DLR, found by Mike Frysinger)
339         - Add various cleanups. (DLR)
340 - global.c:
341   sc_init_one(), shortcut_init()
342         - Don't include blank_after when DISABLE_HELP is defined, as
343           it's never used then. (DLR)
344   shortcut_init()
345         - Remove the ^X shortcut for CutTillEnd at the search prompt, as
346           official Pico doesn't include it, and it can be confused with
347           Exit. (DLR, suggested by Benno Schulenberg)
348         - Make the help shortcut for the "Go to Directory" prompt call
349           do_browser_help() instead of do_help_void(), as this prompt is
350           only accessible inside the file browser. (DLR, found by Benno
351           Schulenberg)
352   toggle_init()
353         - Don't include desc or blank_after when DISABLE_HELP is
354           defined, as neither are ever used then. (DLR)
355         - Make sure that a blank line is not displayed after the Meta-Q
356           toggle when mouse support is disabled and we're in restricted
357           mode, and that it is displayed all other times. (DLR)
358   toggle_init_one()
359         - Don't include desc or blank_after when DISABLE_HELP is
360           defined, as neither are ever used then. (DLR)
361 - help.c:
362   do_help()
363         - Simplify screen update handling and exiting. (DLR)
364         - Don't allow moving down a page when the last line of the help
365           text is onscreen. (DLR)
366   help_init()
367         - Adjust the first two chunks of the main help text so that
368           they're no more than 509 characters again. (DLR)
369 - move.c:
370   do_scroll_up(), do_scroll_down()
371         - Fix problems where, after scrolling, the previous and current
372           lines would not be updated properly if the current line was
373           not the first or last line of the edit window. (DLR, found by
374           Mike Frysinger)
375 - nano.c:
376   handle_sigwinch()
377         - Just in case we're in the statusbar prompt, reset the
378           statusbar cursor position when resizing the window. (DLR)
379 - nano.h:
380         - Remove the manual disabling of color support if regex.h isn't
381           found, as configure.ac now handles that. (DLR)
382 - rcfile.c:
383   parse_rcfile()
384         - Add missing ENABLE_COLOR #ifdef around the second check for a
385           syntax with no color commands, to fix compilation with rcfile
386           support and without color support. (Daniel Richard G.)
387 - search.c:
388   replace_regexp()
389         - Remove unnecessary casting of c to int. (DLR)
390 - text.c:
391   execute_command()
392         - Remove the marking of the file as modified, as do_insertfile()
393           now handles that. (DLR)
394 - utils.c:
395   digits()
396         - Tweak to remove the assumption that n is always positive,
397           although it always is in this particular case. (DLR)
398 - winio.c:
399   parse_kbinput()
400         - Properly handle combined meta and escape sequences, so that
401           e.g. Meta-/ will work properly when the / is on the numeric
402           keypad and NumLock is off.  Also, properly handle combined
403           control character and escape sequences, so that e.g. Esc Esc /
404           will work properly when the / is on the numeric keypad and
405           NumLock is off. (DLR)
406         - Translate extended keypad keys to their ASCII equivalents even
407           when we hit Escape once or twice before typing them, for
408           consistency. (DLR)
409         - If they're defined, translate KEY_SUP into NANO_PREVLINE_KEY
410           and KEY_SDOWN into NANO_NEXTLINE_KEY, since they are sometimes
411           generated by Shift-Up and Shift-Down. (DLR)
412   parse_escape_seq_kbinput()
413         - Handle unknown and unignored escape sequences once here
414           instead of twice in parse_kbinput(). (DLR)
415         - Don't ignore escape sequences anymore.  Instead, return the
416           corresponding key so that parse_kbinput() can translate it.
417           (DLR)
418   display_string()
419         - Properly handle buf[start_index]'s being a null terminator.
420           (DLR)
421   edit_draw()
422         - Simplify the setting of paintlen. (DLR)
423   titlebar()
424         - Don't display overly long filenames with ellipses if the
425           number of columns is extremely small. (DLR)
426         - Don't display any blank space for the state if we're in the
427           file browser, as Pico doesn't. (DLR)
428 - configure.ac:
429         - If regex.h isn't found, display an error message if we try to
430           enable color support. (DLR)
431         - Fix the spacing of the error message displayed when slcurses.h
432           isn't found. (DLR)
433         - If we use the --disable-wrapping option, ignore the
434           --disable-wrapping-as-root option. (DLR)
435         - Add minor cosmetic tweaks. (DLR)
436 - doc/Makefile.am:
437         - Don't include nanorc.sample in EXTRA_DIST, as it's only useful
438           when we're building from source, as opposed to building a
439           distribution. (DLR)
440         - Tweak to remove usage of the += operator again. (DLR)
441 - doc/man/Makefile.am:
442         - Tweak to remove usage of the += operator again. (DLR)
443 - doc/man/fr/nano.1, doc/man/fr/nanorc.5, doc/man/fr/rnano.1:
444         - Updated manpage translations by Jean-Philippe GuĂ©rard.
445 - doc/faq.html:
446         - Update section 5.3 again to not state "the latest development
447           version" before 1.3.12, as it's no longer accurate. (DLR)
448         - Add some minor spacing fixes. (DLR)
449 - doc/nano.texi:
450         - Add missing description of the -O/--morespace command line
451           option. (DLR)
452 - doc/syntax/c.nanorc:
453         - Since .i and .ii are preprocessed C and C++ output, colorize
454           them here. (Mike Frysinger)
455         - Remove redundancy from the file extension regexes. (DLR)
456 - doc/syntax/ruby.nanorc:
457         - Add missing blank line after the first comment, for
458           consistency. (DLR)
459         - Improve highlighting of constants. (John M. Gabriele, minor
460           tweaks by DLR)
462 GNU nano 1.3.12 - 2006.06.26
463 - General:
464         - Miscellaneous comment fixes. (DLR)
465         - Implement filename searches in the file browser.  New
466           functions filesearch_init(), findnextfile(),
467           findnextfile_wrap_reset(), filesearch_abort(),
468           do_filesearch(), do_fileresearch(), do_first_file(),
469           do_last_file(), do_help_void(), and do_browser_help(); changes
470           to do_browser(), parse_browser_input(), shortcut_init(),
471           do_help(), and help_init(). (DLR)
472         - Open all files in binary mode for consistency and robustness.
473           Changes to load_history() and do_rcfile(). (DLR)
474         - Change translator-specific comments in global.c and prompt.c
475           so that they show up in nano.pot, and make them all
476           consistent. (Benno Schulenberg and DLR)
477         - Reduce USE_UTF8 to a static bool in chars.c, allow nano.c to
478           set it via a function, and allow winio.c to read its value
479           when needed.  New functions utf8_init() and using_utf8();
480           changes to is_alnum_mbchar(), is_blank_mbchar(),
481           is_cntrl_mbchar(), is_punct_mbchar(), control_mbrep(),
482           mbrep(), mbwidth(), mb_cur_max(), make_mbchar(),
483           parse_mbchar(), mbstrncasecmp(), mbstrcasestr(),
484           mbrevstrcasestr(), mbstrnlen(), mbstrchr(), mbstrpbrk(),
485           mbrevstrpbrk(), has_blank_mbchars(), is_valid_mbstring(),
486           main(), display_string(), and do_credits(). (DLR)
487         - Add the ability to use bold text instead of reverse video
488           text, via the -D/--boldtext command line option and the
489           "boldtext" rcfile option.  Changes to browser_refresh(),
490           do_help(), usage(), main(), update_statusbar_prompt(),
491           do_yesno_prompt(), titlebar(), statusbar(), onekey(),
492           edit_draw(), do_replace_highlight(), nano.1, nanorc.5,
493           nano.texi, and nanorc.sample. (DLR, suggested by Benno
494           Schulenberg)
495         - Add the ability to use self-contained color syntaxes from
496           separate files, accessible in the nanorc via the "include"
497           command.  New function parse_include(); changes to
498           parse_rcfile(), do_nanorc(), nanorc.5, and nanorc.sample.
499           (Victor Ananievsky, Brand Huntsman and DLR)
500         - Change references to the "help menu" to the "help text
501           display" refer to display, for clarity.  Changes to
502           shortcut_init(), configure.ac, and faq.html. (DLR, suggested
503           by Benno Schulenberg)
504         - Adjust the shortcut list display and related mouse support to
505           not waste the last few characters of bottomwin when the screen
506           width isn't a clean multiple of the column width.  Changes to
507           do_mouseinput() and bottombars(). (Benno Schulenberg, minor
508           tweaks by DLR)
509         - Add several blank entries to the main shortcut list and the
510           global toggle list, in order to make the help text easier to
511           read.  Changes to sc_init_one(), toggle_init(),
512           toggle_init_one(), shortcut_init(), get_toggle(), and
513           help_init(). (DLR, suggested by Benno Schulenberg)
514         - Reduce NO_RCFILE to a static bool in nano.c, since it's only
515           used there.  Changes to finish() and main(). (DLR)
516         - Readd the Cancel -> Exit aliases for the file browser and help
517           browser.  New function parse_help_input(); changes to
518           parse_browser_input() and do_help(). (DLR, suggested by Benno
519           Schulenberg)
520         - Add the ability to copy text into the cutbuffer without
521           cutting it, via Meta-^ (Meta-6).  Note that this is disabled
522           when NANO_TINY is defined.  New functions do_cut_text_void()
523           and do_copy_text(); changes to do_cut_text(), shortcut_init(),
524           and do_input(). (DLR, suggested by Ken Tyler)
525         - Add the ability to indent and unindent all marked lines of
526           text, via Meta-} (Meta-]) and Meta-{ (Meta-[).  New functions
527           do_indent_marked(), do_indent_marked_void(), and
528           do_unindent_marked_void(); changes to shortcut_init(). (Chris
529           and DLR)
530         - Change the shortcut to find the matching bracket to Ctrl-].
531           Changes to shortcut_init() and do_statusbar_input(). (DLR)
532         - Drop the Meta-] and Meta-[ aliases for Meta-} and Meta-{, and
533           change the shortcut to find the matching bracket from Ctrl-]
534           back to Meta-], since Ctrl-] is used as the telnet escape key.
535           Changes to shortcut_init() and do_statusbar_input(). (DLR,
536           found by Chris)
537         - Add the ability to move to the first and last line of the help
538           text and the first and last file in the file browser via
539           Meta-\ (Meta-|) and Meta-/ (Meta-?).  Changes to do_browser(),
540           shortcut_init(), and do_help(). (DLR)
541         - Allow unjustifying if we resize the window immediately after
542           justifying, as Pico does, and make input handling across
543           resizes more consistent.  Changes to handle_sigwinch(),
544           main(), get_kbinput(), parse_kbinput(), get_byte_kbinput(),
545           and get_unicode_kbinput(); removal of reset_kbinput(). (DLR)
546         - Handle statusbar blanking in two places instead of many, so
547           that it always works consistently.  Changes to do_browser(),
548           do_cut_text(), do_uncut_text(), do_first_line(),
549           do_last_line(), do_page_up(), do_page_down(), do_para_begin(),
550           do_para_end(), do_para_end(), do_next_word(), do_prev_word(),
551           do_home(), do_end(), do_up(), do_scroll_up(), do_down(),
552           do_scroll_down(), do_left(), do_right(), do_indent_marked(),
553           do_verbatim_input(), and get_kbinput(). (Benno Schulenberg,
554           minor tweaks by DLR)
555         - Handle prepending of wrapped text in one place instead of
556           many, so that it always works consistently.  Changes to
557           do_uncut_text(), do_insertfile(), do_page_up(),
558           do_page_down(), do_up(), do_scroll_up(), do_down(),
559           do_scroll_down(), do_input(), do_search(), do_research(), and
560           do_delete(). (DLR)
561         - Ignore unhandled meta key sequences, function keys, and escape
562           sequences, indicate it on the statusbar, and beep when we get
563           an unhandled shortcut or toggle, as Pico does.  To get this to
564           work properly, add a shortcut for moving to the next
565           search/replace string.  New function is_ascii_cntrl_char();
566           changes to shortcut_init(), do_input(), do_statusbar_input(),
567           get_prompt_string(), and parse_kbinput(). (DLR, suggested by
568           Nick Warne and Benno Schulenberg)
569         - Explain the mouse support in more detail, and sync the text of
570           its description across all documentation.  Changes to nano.1,
571           nanorc.5, nanorc.sample, and nano.texi. (Benno Schulenberg and
572           DLR)
573         - If we're using verbatim input to enter a Unicode sequence,
574           indicate it on the statusbar, and add a translator comment
575           explaining the message.  Also, refactor get_unicode_kbinput()
576           to remove redundant code.  New function add_unicode_digit();
577           changes to get_unicode_kbinput() and parse_verbatim_kbinput().
578           (Benno Schulenberg, minor tweaks by DLR)
579         - Allow normal typing of high-bit control characters, as Pico
580           does.  Changes to do_output() and do_statusbar_output(). (DLR)
581         - Move color regexes into separate files, make nanorc.sample
582           reference them, and make them install properly.  In the
583           process, rename nanorc.sample to nanorc.sample.in, put
584           @PKGDATADIR@ at the beginning of all nanorc file paths, add
585           needed AC_DEFINE_DIR macro from the Autoconf Macro Archive at
586           http://autoconf-archive.cryp.to/ac_define_dir.m4, and make
587           configure.ac do the substitution, so that the proper paths
588           will always be used in nanorc.sample.  New files
589           m4/ac_define_dir.m4, doc/syntax/Makefile.am,
590           doc/syntax/asm.nanorc, doc/syntax/c.nanorc,
591           doc/syntax/groff.nanorc, doc/syntax/html.nanorc,
592           doc/syntax/java.nanorc, doc/syntax/man.nanorc,
593           doc/syntax/mutt.nanorc, doc/syntax/nanorc.nanorc,
594           doc/syntax/patch.nanorc, doc/syntax/perl.nanorc,
595           doc/syntax/python.nanorc, doc/syntax/ruby.nanorc,
596           doc/syntax/sh.nanorc, and doc/syntax/tex.nanorc; changes to
597           configure.ac, nano.spec.in, doc/Makefile.am, and
598           m4/Makefile.am; removal of doc/nanorc.sample. (DLR)
599         - Replace usage of the bool curses_ended with the isendwin()
600           function, and remove curses_ended.  Changes to do_suspend().
601           (DLR)
602         - Remove the workaround for glibc 2.2.3's broken regexec(), and
603           replace it with a FAQ entry explaining the problem, since it
604           could break anything using extended regular expressions, and
605           glibc 2.2.3 is old.  Changes to configure.ac, faq.html,
606           nano.h, proto.h, and UPGRADE; removal of safe_regexec(). (DLR)
607         - Minor wording fixes to various messages.  Changes to
608           load_history(), shortcut_init(), toggle_init(), usage(),
609           do_suspend(), do_input(), rcfile_error(), parse_argument(),
610           parse_rcfile(), nano.1, nano.texi, and nanorc.sample.in.
611           (Benno Schulenberg, minor tweaks by DLR and Nick Warne)
612         - Make suspension clear the screen and put the cursor on the
613           last line before displaying anything, as Pico does.  New
614           functions disable_mouse_support() and enable_mouse_support();
615           changes to do_mouse(), do_suspend(), do_continue(), and
616           terminal_init(). (DLR)
617 - browser.c:
618   do_browser()
619         - Reference NANO_GOTODIR_(ALT|F)?KEY instead of
620           NANO_GOTOLINE_(ALT|F)?KEY for the "Go to Directory" shortcut.
621           (DLR)
622   parse_browser_input()
623         - Remove redundant key checks. (DLR)
624   browser_refresh()
625         - Rename variable editline to line, for consistency. (DLR)
626         - Change variable i from an int to a size_t in order to match
627           selected, which it's compared against. (DLR)
628 - color.c:
629   color_update()
630         - Fix incorrect setting of defcolor, which prevented the
631           reserved "default" syntax from being handled correctly. (DLR)
632 - cut.c:
633   cut_to_eof()
634         - New function, containing the main functionality of
635           do_cut_till_end(). (DLR)
636   do_cut_text()
637         - Add parameter cut_till_end, to indicate when we're cutting
638           from the current cursor position to the end of the file, and
639           call cut_to_eof() when it's TRUE. (DLR)
640   do_cut_till_end()
641         - Convert to a wrapper for do_cut_text(). (DLR)
642 - files.c:
643   open_file()
644         - Remove redundant wording in the error message when we try to
645           open a device file. (DLR)
646   do_insertfile()
647         - Use actual gettext calls instead of no-ops, for consistency.
648           (DLR)
649   safe_tempfile()
650         - Don't ignore $TMPDIR if it's set but blank, for consistency.
651           (DLR)
652   write_file()
653         - Don't free backupname before displaying it in a statusbar error
654           message. (DLR, found by Bill Marcum)
655         - If we can't save the backup file for some reason, at least
656           save the original file, if possible, since that's better than
657           saving nothing. (DLR, problem found by Bill Marcum, solution
658           suggested by Jordi)
659         - Clarify the error messages when creating a temporary file or
660           writing one for prepending fails. (DLR)
661         - Simplify the routine for closing the file just before we
662           indicate success on the statusbar. (DLR)
663   do_writeout()
664         - Fix problem where the modifiers at the "Write File" prompt
665           were marked for translation via gettext no-ops but never
666           actually translated. (Benno Schulenberg)
667   free_chararray()
668         - Assert that array isn't NULL, for consistency with the other
669           free_.*() functions. (DLR)
670 - global.c:
671   shortcut_init()
672         - Change the cursor position display help text to use "display"
673           instead of "show", for consistency. (DLR)
674         - In the main shortcut list, move the "Refresh" shortcut down to
675           after the "Enter" shortcut, for consistency. (DLR)
676         - Add the ability to move to the first and last line of the
677           current file from the main list via Meta-\ (Meta-|) and Meta-/
678           (Meta-?).  Also, make sure all the equivalent shortcuts in the
679           search, replace, and "Go To Line" lists accept both the meta
680           keys and the equivalent function keys. (DLR)
681         - Reorganize the main shortcut list to make it easier for new
682           users.  It now lists the twelve Pico-compatible default
683           operations, followed by search and replace shortcuts, followed
684           by cut and paste shortcuts, followed by marking shortcuts,
685           followed by back and forth movement shortcuts, followed by
686           start and end movement shortcuts, followed by buffer-switching
687           shortcuts, followed by insertion and deletion shortcuts,
688           followed by special movement shortcuts, followed by advanced
689           word and paragraph shortcuts, followed by display shortcuts.
690           (DLR and Benno Schulenberg, suggested by Benno Schulenberg)
691         - Tweak the descriptions of some shortcut keys to make them more
692           uniform. (Benno Schulenberg, minor tweaks by DLR)
693         - Shorten the "Where is Next" shortcut name to fit on the screen
694           after adding Meta-\ (Meta-|) and Meta-/ (Meta-?). (DLR)
695         - Lengthen the "UnCut Txt" shortcut name to "UnCut Text", as
696           there's enough room to display it unabbreviated. (DLR)
697         - Clarify the descriptions of the "Search" and "Replace"
698           shortcuts, and add spaces to the "Exit" shortcut's description
699           in multibuffer mode. (Benno Schulenberg)
700         - Remove the "Go To Line" shortcut in the replace shortcut list,
701           for compatibility with Pico. (DLR)
702   toggle_init()
703         - In the global toggle list, move the "Constant cursor position
704           display" toggle up to after the "Use more space for editing"
705           toggle, for consistency. (DLR)
706         - Reorganize the global toggle list to make it easier for new
707           users.  It now lists toggles that affect the way things are
708           displayed, followed by toggles that affect editing, followed
709           by toggles that have to do with peripheral things. (DLR,
710           suggested by Benno Schulenberg)
711 - help.c:
712   do_help()
713         - Call get_shortcut() after getting input, so that we only have
714           to check for a main shortcut key instead of both it and all of
715           its equivalents. (DLR)
716         - Clean up the handling of NANO_REFRESH_KEY. (DLR)
717         - Remove redundant key checks. (DLR)
718   help_init()
719         - If we have at least two entries' worth of blank space, use it
720           to display more of "^Space" and "M-Space". (DLR, suggested by
721           Benno Schulenberg)
722         - Add various wording fixes. (DLR and Benno Schulenberg)
723         - If one of the help strings ends in newlines followed by a
724           space, move the space to the next help string to make it
725           easier for translators to see. (Benno Schulenberg)
726         - Make sure we have enough memory in all cases when displaying
727           the shortcut and toggle lists. (DLR)
728         - Wrap the shortcut list help text, and display it even when we
729           have fewer than 24 columns, for consistency with the toggle
730           help text. (DLR, suggested by Benno Schulenberg)
731   parse_help_input()
732         - Add Space and '-' as aliases for PageDown and PageUp, for
733           consistency with the file browser. (DLR, suggested by Benno
734           Schulenberg)
735         - Remove redundant key checks. (DLR)
736   help_line_len()
737         - Properly handle the case where we can't break the line of help
738           text. (DLR)
739         - Wrap the line of help text at (COLS - 1) instead of
740           (COLS - 8), for consistency. (DLR, suggested by Benno
741           Schulenberg)
742 - nano.c:
743   print1opt_full()
744         - Rename to print_opt_full(), for consistency. (DLR)
745   usage()
746         - Fix inaccuracies in the usage example. (DLR)
747         - Put command line arguments in <>'s instead of []'s, as the
748           latter imply that the arguments are optional when they aren't.
749           (DLR, found by Benno Schulenberg)
750   renumber()
751         - Remove invalid assert. (DLR, found by Filipe Moreira)
752   do_input()
753         - Remove redundant check for allow_funcs' being TRUE when we get
754           KEY_MOUSE. (DLR)
755         - Don't blow away the cutbuffer when we get a shortcut and the
756           function associated with it is do_cut_till_end(). (DLR)
757         - Simplify the routine to preserve the cutbuffer when we call a
758           cutting or copying function associated with a shortcut. (DLR)
759 - nano.h:
760         - Reorder the toggle #defines to match their corresponding order
761           in toggle_init(). (DLR)
762         - Move the #include for sys/param.h here from nano.c, and add an
763           #ifdef around it. (DLR)
764 - prompt.c:
765   get_prompt_string()
766         - Include the handling of the help key even when help is
767           disabled, so that we aren't erroneously kicked out of the
768           statusbar prompt under any circumstances. (DLR, found by Benno
769           Schulenberg)
770   do_statusbar_input()
771         - Remove redundant check for allow_funcs' being TRUE when we get
772           KEY_MOUSE. (DLR)
773         - Improve the handling of NANO_REFRESH_KEY. (DLR)
774   total_statusbar_refresh()
775         - New function, called when we get NANO_REFRESH_KEY in
776           do_statusbar_input(). (DLR)
777   do_yesno_prompt()
778         - Handle the keys in a switch statement instead of a long if
779           block, for simplicity. (DLR)
780 - rcfile.c:
781   parse_argument()
782         - Rename variable ptr_bak to ptr_save, for consistency. (DLR)
783         - Add double quotes around invalid string arguments in error
784           messages, for consistency. (DLR)
785         - Add single quotes around the invalid string argument in the
786           error message about unterminated strings, to avoid confusion.
787           (Benno Schulenberg)
788   parse_syntax()
789         - Don't generate an error if we find a duplicate syntax name,
790           since we might be trying to override a syntax in the global
791           nanorc with one in our local nanorc.  Instead, free any
792           duplicate syntaxes we find, so that we always use the last
793           syntax with a given name. (DLR)
794   color_to_short()
795         - Add quotes around invalid string arguments in error messages,
796           for consistency. (DLR)
797   parse_colors()
798         - Check for a color command's not following a syntax line before
799           anything else. (DLR)
800         - Add quotes around invalid string arguments in error messages,
801           for consistency. (DLR)
802   parse_rcfile()
803         - Properly generate an error if we've read in a syntax without
804           any associated color commands. (DLR)
805         - Change variable i from an int to a size_t, for consistency.
806           (DLR)
807         - Properly handle rcfiles that don't end in newlines. (DLR)
808         - Add quotes around invalid string arguments in error messages,
809           for consistency. (DLR)
810   do_rcfile()
811         - Check for the rcfile's being a directory or device file and
812           reject it if it is, for consistency with file handling
813           elsewhere. (DLR)
814         - Remove SYSCONFDIR #ifdef, as SYSCONFDIR should always be set.
815           (DLR)
816         - Change all rcfile error messages to refer to commands instead
817           of directives, for consistency with nanorc.5. (DLR)
818 - text.c:
819   break_line()
820         - Fix problem where tab widths in columns would always be
821           calculated as tabsize. (DLR, found by Alexey Toptygin)
822         - Handle newlines consistently when searching for the last blank
823           in the first group of blanks in the range of (goal - 1). (DLR,
824           found by Benno Schulenberg)
825   do_justify()
826         - Remove redundant key checks. (DLR)
827   do_spell()
828         - Clarify the error message when creating a temporary file
829           fails. (DLR)
830         - Set currshortcut to main_list before calling total_refresh()
831           near the end of the function, so that we don't display the
832           wrong shortcut list. (DLR)
833   do_verbatim_input()
834         - Add a translator comment explaining the "Verbatim Input"
835           statusbar message. (Benno Schulenberg)
836         - Unconditionally blank the statusbar as soon as we're finished
837           getting input. (DLR, suggested by Benno Schulenberg)
838 - utils.c:
839   digits()
840         - Return the proper number of digits when n is exactly 10. (DLR)
841         - Simplify to use a for loop instead of a while loop. (DLR)
842   ngetdelim()
843         - Set errno to EINVAL if stream is not a valid file stream.
844           This matches the manual page. (DLR)
845   nperror()
846         - Simplify. (DLR)
847   check_linenumbers()
848         - Removed, as it's no longer used, and since there's no way to
849           tell if its return value will be in int or ssize_t range.
850           (DLR)
851 - winio.c:
852   parse_kbinput()
853         - If we get NANO_CONTROL_8, properly handle it in all cases.
854           (DLR)
855   parse_escape_seq_kbinput()
856         - New function used to interpret escape sequences, formerly part
857           of parse_kbinput(). (DLR)
858   get_byte_kbinput()
859         - Fix typo preventing Esc Esc 3 through Esc Esc 6 from being
860           interpreted as control key sequences. (DLR)
861         - Tweak to more closely match get_unicode_kbinput(). (DLR)
862   get_control_kbinput()
863         - Add Ctrl-/ as an alias for Ctrl-_. (DLR, found by Benno
864           Schulenberg)
865         - Simplify the if blocks wherever possible. (DLR)
866   parse_verbatim_kbinput()
867         - Don't include the ability to enter a Unicode sequence via
868           verbatim input mode if ENABLE_UTF8 isn't defined or we're not
869           in a UTF-8 locale. (DLR)
870   check_statusblank()
871         - Avoid redundant updates when statusblank is 0. (DLR)
872   display_string()
873         - Properly display double-column characters if they're past the
874           first virtual page and their first column is covered by the
875           "$" displayed at the beginning of the line. (DLR)
876   statusbar()
877         - Blank the statusbar after 26 keystrokes instead of 25, for
878           conpatibility with Pico. (DLR)
879   edit_draw()
880         - Properly ignore zero-length regexes in multi-line regexes as
881           well as single-line ones.  This avoids a segfault when trying
882           to color e.g. "start="$" end="$"". (DLR, found by Trevor
883           Caira)
884         - Don't display any statusbar message when we get a zero-length
885           regex, as we can get one under legitimate circumstances. (DLR,
886           found by Mike Frysinger)
887   update_line()
888         - Remove unneeded assert. (DLR)
889   edit_redraw()
890         - Fix problem where not all lines would be updated properly if
891           we'd scrolled off the screen and the mark was on. (DLR)
892   do_credits()
893         - Update the last copyright notice to include 2006. (DLR)
894 - configure.ac:
895         - Remove old warnings about color support. (DLR)
896         - Remove conditional header checks for fcntl.h and termios.h, as
897           nano won't build without them, and add conditional header
898           check for sys/param.h, as some systems need only limits.h.
899           (DLR)
900 - doc/faq.html:
901         - Add a new section 4.4, and move all section 4 entries after it
902           down one number, to explain how to deal with problems typing
903           Meta-[. (DLR)
904         - Add a new section 4.5, and move all section 4 entries after it
905           down one number, to explain a problem that can occur when
906           holding down keys to generate Meta sequences. (Benno
907           Schulenberg, minor tweaks by DLR)
908         - Add a few capitalization and wording fixes. (DLR)
909         - Remove section 4.4, and move all section 4 entries after it up
910           one number, since it no longer applies.  Meta-] and Meta-[ are
911           no longer used to indent and unindent marked text, since they
912           require that the bracket matching key change to Ctrl-], which
913           is used as the telnet escape key. (DLR, found by Chris)
914         - Make the link to the nano CVS page a bit more readable. (DLR)
915         - Update section 3.8 to mention the new "Unicode Input" prompt,
916           and how Unicode input only works when Unicode support is
917           enabled. (DLR)
918         - Add minor punctuation, wording, and typo fixes. (DLR)
919         - Update section 5.3, due to the display fix for two-column
920           Unicode characters. (DLR)
921 - doc/nano.1:
922         - Update the copyright years to include 2006. (DLR)
923         - Explicitly mention that all regexes should be extended regular
924           expressions. (DLR, suggested by John M. Gabriele)
925         - Miscellaneous minor fixes. (DLR)
926         - Add various wording fixes. (Benno Schulenberg and DLR)
927         - Put command line arguments in <>'s instead of []'s, as the
928           latter imply that the arguments are optional when they aren't.
929           (Benno Schulenberg)
930 - doc/nanorc.5:
931         - Update the copyright years to include 2006. (DLR)
932         - Explicitly mention that all regexes should be extended regular
933           expressions. (DLR, suggested by John M. Gabriele)
934         - Miscellaneous minor fixes. (DLR)
935         - Add various wording fixes. (Benno Schulenberg and DLR)
936         - Mention that the nanorc file should not be in DOS or Mac
937           format. (DLR)
938 - doc/rnano.1:
939         - Update the copyright years to include 2006. (DLR)
940         - Explicitly mention that all regexes should be extended regular
941           expressions. (DLR, suggested by John M. Gabriele)
942         - Miscellaneous minor fixes. (DLR)
943         - Add various wording fixes. (Benno Schulenberg and DLR)
944         - Add description of the +LINE[,COLUMN] option. (DLR)
945 - doc/nano.texi:
946         - Update the copyright years to include 2006. (DLR)
947         - Explicitly mention that all regexes should be extended regular
948           expressions. (DLR, suggested by John M. Gabriele)
949         - Miscellaneous minor fixes. (DLR)
950         - Add various wording fixes. (Benno Schulenberg and DLR)
951         - Change license to GPL, in order to match the rest of the
952           documentation, and because the current license is incompatible
953           with everything else in any case. (DLR)
954         - Mention that backup files and spell checking are disabled in
955           restricted mode, as rnano.1 does. (DLR)
956         - Add minor updates to put some text back in sync with nano's
957           help text, and with nano's current feature set. (DLR)
958         - Add a "Nanorc Files" section to explain the nanorc file format
959           in detail, using text from nanorc.5. (DLR)
960         - Put command line arguments in <>'s instead of []'s, as the
961           latter imply that the arguments are optional when they aren't.
962           (Benno Schulenberg)
963         - Add missing description of -H/--historylog, and move
964           -x/--nohelp down so that all the command line options are in
965           alphabetical order. (Benno Schulenberg)
966         - Change all occurrences of "file name" to "filename". (Benno
967           Schulenberg)
968 - doc/man/Makefile.am:
969         - Simplify the setting of SUBDIRS. (DLR)
970 - doc/man/fr/nano.1, doc/man/fr/nanorc.5, doc/man/fr/rnano.1:
971         - Updated manpage translations by Jean-Philippe GuĂ©rard.
972 - doc/nanorc.sample:
973         - Miscellaneous minor fixes. (DLR and Benno Schulenberg)
974         - Tweak the "c-file" regex for characters to accept '"' again,
975           as it's apparently valid, and simplify it. (DLR)
976         - Simplify the "shellscript" regex for command line options.
977           (DLR)
978         - Replace instances of \" with ", since quotes inside string
979           parameters don't need to be escaped with backslashes. (DLR)
980         - Mention in the comments that more than one start/end regex can
981           be included per line.  Also, change the comment for the
982           "whitespace" option so that the hexadecimal character values
983           are six digits long, and state which character values work
984           with which encodings. (DLR)
985         - Add sample regexes for Python. (singular on the Gentoo forums,
986           http://forums.gentoo.org/viewtopic.php?t=86562; minor tweaks
987           by DLR, suggested by John M. Gabriele)
988         - Explicitly mention that all regexes should be extended regular
989           expressions. (DLR, suggested by John M. Gabriele)
990         - Simplify the "nanorc" regex for commands. (DLR)
991         - Mention that the nanorc file should not be in DOS or Mac
992           format. (DLR)
993         - Add various wording fixes. (Benno Schulenberg and DLR)
994         - Replace instances of "\w" with its equivalent "[0-9A-Z_a-z]",
995           and instances of "\W" with its equivalent "[^0-9A-Z_a-z]", for
996           greater readability. (DLR)
997         - Remove unneeded foreground color for the Java source regex
998           used to highlight trailing whitespace, since we now support
999           background colors without foreground colors. (DLR)
1000         - Further simplify the "groff" regexes. (DLR)
1001         - Tweak the "shellscript" regexes to properly color all special
1002           variables, such as $? and $@. (Benno Schulenberg)
1003         - Tweak the "nanorc" regexes to color keywords bright green
1004           instead of cyan, and comments bright blue instead of blue.
1005           (John M. Gabriele)
1006         - Simplify the extensions associated with the "nanorc" regexes.
1007           (DLR)
1008         - Add regexes for Ruby. (John M. Gabriele, minor tweaks by DLR)
1009 - doc/nanorc.sample.in:
1010         - Add comments describing the relationships between syntax file
1011           names and the names used as their short descriptions. (John M.
1012           Gabriele)
1013 - doc/java.nanorc:
1014         - Simplify a comment. (DLR)
1015 - doc/man.nanorc:
1016         - Change the name of the "manpage" regexes to "man", for
1017           consistency. (John M. Gabriele)
1018 - doc/nanorc.nanorc:
1019         - Tweak the "nanorc" regexes to color comments starting with a
1020           double ## cyan instead of bright blue. (John M. Gabriele)
1021 - doc/ruby.nanorc:
1022         - Add regex for "here" docs. (John M. Gabriele)
1023 - doc/sh.nanorc:
1024         - Tweak the regex for special variables, moving "-" to the end,
1025           to avoid excessive coloring or an "Invalid range end" error.
1026           (Benno Schulenberg)
1027         - Tweak the "sh" regexes to color comments cyan instead of
1028           yellow. (John M. Gabriele)
1029 - src/Makefile.am:
1030         - If we're uninstalling, remove the "rnano" symlink. (DLR, found
1031           by Benno Schulenberg)
1032         - Remove "-Iintl" from INCLUDES, as we don't use an intl
1033           directory inside the source directory anymore. (DLR)
1034 - README, README.CVS:
1035         - Add various cosmetic and wording improvements. (John M.
1036           Gabriele, minor tweaks by DLR)
1037 - TODO:
1038         - Update for nano 2.0, since we're now in a feature freeze.
1039           (DLR)
1040 - UPGRADE:
1041         - Miscellaneous minor fixes. (DLR)
1042         - Update for nano 2.0, since we're now in a feature freeze.
1043           (DLR)
1045 GNU nano 1.3.11 - 2006.03.30
1046 - General:
1047         - Miscellaneous comment fixes. (DLR)
1048         - Remove unnecessary #ifdef around termios.h #include in nano.c.
1049           (DLR)
1050         - Sort the default strings for brackets and punct, and the "or"
1051           atom in the default regex string for quotestr, according to
1052           ASCII.  Changes to main(), nano.1, nanorc.5, and
1053           nanorc.sample. (DLR)
1054         - Rework the bracket searching code to handle multibyte bracket
1055           characters, and allow specifying matching bracket characters
1056           other than the default via the "matchbrackets" rcfile option.
1057           New functions mbstrpbrk() and mbrevstrpbrk(); changes to
1058           find_statusbar_bracket_match(), do_statusbar_find_bracket(),
1059           find_bracket_match(), do_find_bracket(), main(),
1060           parse_rcfile(), nanorc.5, and nanorc.sample. (DLR)
1061         - Rework input parsing in the file browser to be more flexible.
1062           New function parse_browser_input(); changes to do_browser().
1063           (DLR)
1064         - Allow tab completion of directories at the "Go To Directory"
1065           prompt.  Also, move the browser drawing routines to a separate
1066           function, and make sure it's used when refreshing or doing tab
1067           completion at the prompt in the file browser.  New function
1068           browser_refresh(); changes to do_browser(), browser_init(),
1069           do_insertfile(), do_writeout(), cwd_tab_completion(),
1070           input_tab(), do_statusbar_input(), get_prompt_string(),
1071           do_prompt(), search_init(), do_replace(), do_gotolinecolumn(),
1072           and do_int_spell_fix(). (DLR)
1073 - browser.c:
1074   do_browser()
1075         - Properly set currshortcut back to the file browser shortcut
1076           list after a "Go To Directory" prompt, and properly restore
1077           the file list display after returning from the help browser at
1078           the "Go To Directory" prompt. (DLR)
1079         - Rename variable j to i, for consistency. (DLR)
1080         - Make fileline, old_selected, and the static selected size_t's,
1081           since the first and second can hold the value of the third,
1082           and the first can be that large. (DLR)
1083 - chars.c:
1084   mbstrchr()
1085         - Make parameter c const. (DLR)
1086 - files.c:
1087   do_writeout()
1088         - Remove unneeded setting of currshortcut. (DLR)
1089   is_dir()
1090         - Rename parameter ret to retval, for consistency. (DLR)
1091 - global.c:
1092   shortcut_init()
1093         - Remove erroneous handling of the "Get Help" shortcut in the
1094           file browser shortcut list. (DLR)
1095 - nano.h:
1096         - Remove now-unneeded VERMSG #define. (DLR)
1097 - prompt.c:
1098   get_prompt_string()
1099         - Redraw the prompt and set finished to FALSE when NANO_HELP_KEY
1100           is pressed, so that we don't leave the prompt, enter the help
1101           browser, and restart the prompt after leaving it.  This will
1102           properly preserve the cursor position after doing the last of
1103           these. (DLR)
1104 - utils.c:
1105   ngetdelim()
1106         - Do sanity checks manually again instead of in an assert, and
1107           set errno to EINVAL as well as return -1 if they fail.  This
1108           matches the manual page. (DLR)
1109 - winio.c:
1110   get_key_buffer()
1111         - If we fail to get a character MAX_BUF_SIZE times in a row,
1112           hang up regardless of the value of errno.  This fixes a
1113           problem where nano doesn't terminate properly under xterm if
1114           the user su's to root, runs nano, and then closes the terminal
1115           window.  errno isn't set properly to EIO then. (DLR, found by
1116           John <acocaracha@gmail.com>)
1117   parse_kbinput()
1118         - Interpret Shift-Begin, Shift-Delete, Shift-End, Shift-Home,
1119           Shift-Insert, and Shift-Suspend as Begin, Delete, End, Home,
1120           Insert, and Suspend, respectively, regardless of whether
1121           --rebindkeypad is used. (DLR, found by David Benbennick)
1122   titlebar()
1123         - Use PACKAGE_STRING, as defined by autoconf, instead of VERMSG.
1124           (DLR)
1125   edit_redraw()
1126         - If either current or old_current is offscreen, we're not on
1127           the first page, and/or we're not on the same page as before,
1128           update old_current before scrolling the edit window.  This
1129           fixes a potential display problem when a search moves the
1130           cursor offscreen and onto a different page. (DLR, found by
1131           Mike Frysinger)
1132   display_string()
1133         - Fix minor memory leak. (DLR)
1134         - Fix memory corruption problems caused by not allocating enough
1135           space for converted when a line ends in a tab(s) and we're not
1136           in UTF-8 mode. (DLR, found by Duncan Geoffry Doyle, Nick
1137           Warne, and Mike Frysinger)
1138 - doc/faq.html:
1139         - Update the Free Translation Project's address, change the
1140           character set to UTF-8, and remove broken links to contributed
1141           RedHat nano packages. (DLR)
1142 - doc/nano.1:
1143         - Better display the default values for quotestr. (DLR)
1144 - doc/nanorc.5:
1145         - Give the default values for the brackets and punct options,
1146           and better display the default values for quotestr. (DLR)
1147         - Mention that quotes inside string parameters don't need to be
1148           escaped with backslashes. (John M. Gabriele, minor tweaks by
1149           DLR)
1150 - doc/rnano.1:
1151         - Remove unneeded comments. (DLR)
1152 - doc/nanorc.sample:
1153         - Remove unneeded comment. (DLR)
1154         - Mention that quotes inside string parameters don't need to be
1155           escaped with backslashes. (John M. Gabriele, minor tweaks by
1156           DLR)
1157 - THANKS:
1158         - Add new Swedish translator.
1160 GNU nano 1.3.10 - 2005.12.23
1161 - General:
1162         - Miscellaneous comment fixes. (DLR)
1163         - More int -> bool conversions. (DLR)
1164         - Add the ability to scroll up or down single lines without
1165           scrolling the cursor, via Meta-- and Meta-+.  Note that this
1166           is disabled when NANO_SMALL is defined.  New functions
1167           do_scroll_up() and do_scroll_down(); changes to
1168           shortcut_init(). (DLR, suggested by Mike Frysinger)
1169         - Properly handle mouse clicks on the statusbar prompt text.
1170           New functions statusbar_xplustabs() and
1171           get_statusbar_page_start(); changes to do_statusbar_mouse(),
1172           nanoget_repaint(), nanogetstr(), and statusq(). (DLR)
1173         - Since the statusbar prompt code needs at least 4 columns in
1174           order to work properly, make that the minimum number of
1175           columns that nano requires in order to run, and remove
1176           assertions and code that make use of a smaller number of
1177           columns.  Changes to window_init(), nanoget_repaint(),
1178           titlebar(), statusbar(), and get_page_start(). (DLR)
1179         - Move get_page_start(), xplustabs(), actual_x(), strnlenpt(),
1180           strlenpt(), check_linenumbers(), dump_buffer(), and
1181           dump_buffer_reverse() from winio.c to utils.c, as they're
1182           really utility functions. (DLR)
1183         - Add missing stdio.h #include to text.c and winio.c, and remove
1184           unneeded sys/wait.h #include from files.c. (DLR)
1185         - Move functions specific to the statusbar prompt to their own
1186           source file, adjust related variables accordingly, and rename
1187           variable resetstatuspos reset_statusbar_x.  New file prompt.c;
1188           changes to do_statusbar_input(), do_statusbar_mouse(),
1189           do_statusbar_output(), do_statusbar_home(),
1190           do_statusbar_end(), do_statusbar_right(), do_statusbar_left(),
1191           do_statusbar_backspace(), do_statusbar_delete(),
1192           do_statusbar_cut_text(), do_statusbar_next_word(),
1193           do_statusbar_prev_word(), do_statusbar_verbatim_input(),
1194           statusbar_xplustabs(), get_statusbar_page_start(),
1195           nanoget_repaint(), nanogetstr(), statusq(), statusq_abort(),
1196           and do_yesno() (all moved to prompt.c). (DLR)
1197         - Move functions specific to the help browser to their own
1198           source file, and adjust related variables accordingly.  New
1199           file help.c; changes to help_init(), help_line_len(), and
1200           do_help() (all moved to help.c). (DLR)
1201         - Tweak a few functions to remove the assumption that the file
1202           always ends in a magicline.  Changes to cut_line(),
1203           do_cut_till_end(), open_buffer(), read_file(), write_file(),
1204           do_last_line(), do_para_end(), do_wrap(), backup_lines(),
1205           find_paragraph(), do_justify(), do_alt_speller(), and
1206           do_wordlinechar_count(). (DLR)
1207         - Tweak a few functions to rely on fileage and filebot instead
1208           of NULL for their checks to detect the top or bottom of the
1209           file.  Changes to cut_line(), cut_to_eol(), do_page_up(),
1210           do_page_down(), do_para_end(), do_next_word(), do_prev_word(),
1211           do_up(), do_down(), do_scroll_down(), do_right(), do_mouse(),
1212           do_gotolinecolumn(), do_delete(), begpar(), find_paragraph(),
1213           do_wrap(), remove_magicline(), and edit_scroll(). (DLR)
1214         - Add new -L/--nonewlines command line option, and new
1215           "nonewlines" rcfile option, to control whether nano adds
1216           magiclines to the ends of files.  Changes to read_file(),
1217           write_marked_file(), move_to_filestruct(),
1218           copy_from_filestruct(), usage(), do_output(), main(),
1219           do_replace_loop(), do_delete(), do_int_spell_fix(),
1220           do_alt_speller(), nano.1, nanorc.5, nano.texi, and
1221           nanorc.sample. (DLR, suggested by Jaime
1222           <re2823@Safe-mail.net>)
1223         - Move functions specific to the file browser to their own
1224           source file, and adjust related variables accordingly.  New
1225           file browser.c; changes to striponedir(), browser_init(),
1226           do_browser(), and do_browse_from() (all moved to browser.c).
1227           (DLR)
1228         - Add the statusbar prompt's equivalent of placewewant,
1229           statusbar_pww, to prompt.c, and convert its functions to use
1230           it.  New functions reset_statusbar_cursor() and
1231           need_statusbar_horizontal_update(); changes to
1232           do_statusbar_mouse(), do_statusbar_output(),
1233           do_statusbar_home(), do_statusbar_end(), do_statusbar_right(),
1234           do_statusbar_left(), do_statusbar_delete(),
1235           do_statusbar_cut_text(), do_statusbar_next_word(),
1236           do_statusbar_prev_word(), do_statusbar_verbatim_input(),
1237           nanoget_repaint() (renamed update_statusbar_line()),
1238           nanogetstr() (renamed get_prompt_string()), statusq() (renamed
1239           do_prompt()), statusq_abort() (renamed do_prompt_abort()), and
1240           do_yesno() (renamed do_yesno_prompt()). (DLR)
1241         - Initialize the static pid_t pid in text.c to -1. (DLR)
1242         - Fix copyright years on source files.  All functions in
1243           browser.c were originally added in 2001; the oldest function
1244           in color.c is do_colorinit() (now color_init()), which was
1245           originally added in 2001; the oldest function in chars.c is
1246           revstrstr(), which was originally added in 2001; the oldest
1247           function in help.c is do_help(), which was originally added in
1248           2000; the oldest function in prompt.c is statusq() (now
1249           do_prompt()), which was originally added before 0.6.6, which
1250           was apparently in 1999; all functions in rcfile.c were
1251           originally added in 2001; one of the oldest functions in
1252           search.c is do_search(), which was originally added in 0.2.7,
1253           which was apparently in 1999; and one of the oldest functions
1254           in text.c is do_wrap(), which was originally added in 0.3.1,
1255           which was apparently in 1999. (DLR)
1256         - For functions originally adapted from other sources, add
1257           notices from the original files, as we do with the tab
1258           completion functions adapted from busybox, updating the Free
1259           Software Foundation's address as needed.  Also, invoke LGPL
1260           clause 3 to convert the LGPLed ngetdelim() and ngetline()
1261           functions to use the GPL instead.  This is done so that we
1262           don't have to include a copy of the LGPL, and because the
1263           changes made to integrate these functions with nano make them
1264           dependent on nano's GPLed functions and hence useless
1265           elsewhere. (DLR)
1266         - Don't install the localized versions of the manpages if
1267           nano is built with --disable-nls.  Changes to Makefile.am and
1268           doc/man/Makefile.am. (Mike Frysinger)
1269         - Rename the NANO_SMALL #define to NANO_TINY. (DLR)
1270         - Overhaul the bracket searching code so that it no longer
1271           requires regex support to work.  New functions revstrpbrk()
1272           and find_bracket_match(); changes to shortcut_init() and
1273           do_find_bracket(). (DLR)
1274         - Add the ability to do bracket searches at the statusbar
1275           prompt.  New functions find_statusbar_bracket_match() and
1276           do_statusbar_find_bracket(); changes to do_statusbar_input().
1277           (DLR)
1278         - Beep whenever we can't read a file or directory and have to
1279           indicate it on the statusbar, as Pico does.  Changes to
1280           do_browser(), open_file(), and write_file(). (DLR)
1281         - Adjust copyright notices in all source files to account for
1282           Chris' reassigning the 2005-2006 copyright on nano to me.
1283           Changes to do_credits(). (DLR)
1284         - Readd RETSIGTYPE return types for signal handlers, since any
1285           problems with its being defined as the wrong type aren't
1286           nano's fault.  Changes to handle_hupterm(), do_suspend(),
1287           do_continue(), handle_sigwinch(), and cancel_command(). (DLR)
1288         - Since proto.h includes nano.h, and nano.h includes config.h
1289           first, include proto.h first and remove redundant includes of
1290           config.h in all non-header source files. (DLR)
1291         - Refer to the Enter key instead of the Return key for
1292           consistency.  Changes to load_history() and rcfile_error().
1293           (DLR)
1294 - browser.c:
1295   do_browser()
1296         - When setting the width of each file, use the "?" operator
1297           instead of an if/else clause. (DLR)
1298 - chars.c:
1299   mbwidth()
1300         - If wcwidth() returns -1 for the character passed in, treat the
1301           character as having the width of Unicode U+FFFD (Replacement
1302           Character) instead of having a width of zero, since display
1303           problems can crop up with the latter approach. (DLR)
1304   mbstrchr()
1305         - Detect the case where the character isn't found in the string
1306           more accurately. (DLR)
1307 - cut.c:
1308   cut_line()
1309         - Since placewewant will always be zero after the line is cut,
1310           set it to zero directly instead of assigning it the value of
1311           xplustabs(). (DLR)
1312 - files.c:
1313   read_file()
1314         - Remove apparently unneeded logic to handle a case where
1315           current is NULL, since it shouldn't be NULL there. (DLR)
1316   get_next_filename()
1317         - Store the value of digits(ULONG_MAX) in a static, since it
1318           doesn't change and hence doesn't need to be recalculated.
1319           (DLR)
1320 - global.c:
1321   shortcut_init()
1322         - Change the description of the Meta-] shortcut to "Find
1323           matching bracket", as it's clearer. (DLR)
1324 - nano.c:
1325   version()
1326         - If DISABLE_WRAPPING is defined, the code in DISABLE_ROOTWRAP
1327           #ifdefs isn't included, so don't display
1328           "--disable-wrapping-as-root" in that case. (DLR)
1329   do_cont()
1330         - Rename to do_continue(), and rename parameter s to signal, for
1331           consistency. (DLR)
1332   do_verbatim_input()
1333         - Move to text.c, since it's an advanced text-based operation.
1334           (DLR)
1335 - nano.h:
1336         - Readd MIN_EDITOR_COLS #define, set to 4. (DLR)
1337 - proto.h:
1338         - Remove now-unused externs for currslen, shortcut_list,
1339           fileinfo, syntaxfile_regexp, and synfilematches. (DLR)
1340 - prompt.c:
1341   do_statusbar_input()
1342         - Fix misplaced break when handling NANO_VERBATIM_KEY. (DLR)
1343   reset_statusbar_cursor()
1344         - Fix cursor placement problem by modeling the code more closely
1345           after reset_cursor(). (DLR)
1346   get_prompt_string()
1347         - Adjust #ifdefs to leave out disabled keys entirely instead of
1348           keeping enough code to just ignore them. (DLR)
1349 - rcfile.c:
1350   do_rcfile()
1351         - Remove unneeded assert. (DLR)
1352 - search.c:
1353   search_abort()
1354         - Rename to search_replace_abort(). (DLR)
1355   findnextstr()
1356         - Remove parameter can_display_wrap, as it's always set to TRUE
1357           now, and rename parameter wholeword to whole_word, for
1358           consistency. (DLR)
1359         - Only include the whole_word parameter when DISABLE_SPELLER
1360           isn't defined, as it's only used then. (DLR)
1361   replace_abort()
1362         - Replace with search_replace_abort(), since it does the same
1363           things that this function does. (DLR)
1364   do_replace_loop()
1365         - Change order of parameters to more closely match those of
1366           findnextstr(), and rename parameter wholewords to whole_word,
1367           for consistency. (DLR)
1368         - Only include the whole_word parameter when DISABLE_SPELLER
1369           isn't defined, as it's only used then. (DLR)
1370 - text.c:
1371   execute_command()
1372         - Instead of hardcoding /bin/sh as the shell to use when
1373           executing a command, use $SHELL, and only fall back to /bin/sh
1374           if $SHELL isn't set. (DLR)
1375   do_wrap()
1376         - Rename variable wrapping to prepending, to avoid confusion,
1377           and rename the static bool same_line_wrap to prepend_wrap to
1378           match. (DLR)
1379         - Properly add a new magicline when needed if, in the process of
1380           wrapping, we prepend text to the last line of the file. (DLR)
1381   break_line()
1382         - Only include the newline parameter if DISABLE_HELP isn't
1383           defined, as it's only used then. (DLR)
1384         - In the surrounding #ifdef, replace the combination of
1385           !DISABLE_JUSTIFY and !DISABLE_WRAPPING with
1386           !DISABLE_WRAPJUSTIFY, for consistency. (DLR)
1387   begpar()
1388         - Return FALSE if foo is NULL, as inpar() does. (DLR)
1389   backup_lines()
1390         - Return void instead of a pointer to the copy of the first
1391           line, since current will point to the same location after the
1392           text is copied and so can be used instead of the old return
1393           value. (DLR)
1394         - Remove unused quote_len parameter. (DLR)
1395   do_justify()
1396         - Don't save current_y and restore it if the user unjustifies,
1397           as the reset_cursor() called by edit_refresh() after restoring
1398           edittop and current will ensure that current_y is restored to
1399           its original value. (DLR)
1400         - Renumber after justifying each individual paragraph, since
1401           find_paragraph() needs the line numbers to be right as well as
1402           edit_refresh().  This fixes a potential segfault when doing
1403           full justify with auto-indent turned on. (DLR)
1404   do_alt_speller()
1405         - Move the code that replaces the text of the current file with
1406           the text of the spell-checked file into its own function,
1407           replace_buffer(). (DLR)
1408 - utils.c:
1409   parse_line_column()
1410         - Simplify parsing of the column number. (DLR)
1411   ngetdelim()
1412         - Do sanity checks in an assert instead of checking them
1413           manually and returning -1 if they fail. (DLR)
1414   is_whole_word()
1415         - Only include when DISABLE_SPELLER isn't defined, as it's only
1416           used then. (DLR)
1417   get_page_start()
1418         - Fix test so that we scroll through the line in 8-character
1419           chunks when COLS is greater than 8, not when COLS is greater
1420           than 9. (DLR)
1421   remove_magicline()
1422         - Add assert. (DLR)
1423 - winio.c:
1424   nanoget_repaint()
1425         - Rename parameter inputbuf to buf, for consistency. (DLR)
1426   reset_cursor()
1427         - Rename variable x to xpt, to avoid confusion. (DLR)
1428   update_line()
1429         - Remove now-unneeded logic that set the index parameter to zero
1430           if the fileptr parameter didn't point to current. (DLR)
1431   edit_add()
1432         - Rename to edit_draw(), and rename parameter yval to line.
1433           (DLR)
1434   do_cursorpos()
1435         - Remove unneeded assert. (DLR)
1436   do_yesno()
1437         - Make mouse clicks on the Yes/No/All shortcuts work properly
1438           when the MORE_SPACE flag is set. (DLR)
1439 - configure.ac:
1440         - Clarify description of --disable-speller. (DLR)
1441         - Disable wrapping entirely when --enable-tiny is used, as it
1442           matches the FAQ, it makes nano even smaller, and it eliminates
1443           the need for --disable-wrapping-as-root in that case (in which
1444           it's impossible to turn wrapping back on without nanorc
1445           support). (DLR)
1446 - README.CVS:
1447         - Mention that the minimum required version of texinfo is 4.0,
1448           since that's the first version that supports generating HTML.
1449           (DLR)
1450         - Mention that the minimum required version of groff is 1.12,
1451           since that's the first version that supports generating HTML.
1452           (DLR)
1453         - Update the given cvs commands so that they work again. (DLR)
1454 - doc/faq.html:
1455         - Add a new section 5.3 to explain the status of nano's Unicode
1456           support. (Mike Frysinger, minor tweaks by DLR)
1457         - Clarify section 5.3 to better explain how to enable Unicode
1458           support, and remove the mention of quirks, since they turned
1459           out to not be a nano problem. (Mike Frysinger and DLR)
1460 - doc/nano.1:
1461         - Make one non-bold instance of "nano" bold, for consistency.
1462           (DLR)
1463 - doc/man/fr/nano.1, doc/man/fr/nanorc.5:
1464         - Updated manpage translations by Jean-Philippe GuĂ©rard.
1465 - doc/rnano.1:
1466         - Add rnano.1 manpage from Thijs Kinkhorst. (Jordi)  DLR: Merge
1467           a few minor updates from nano.1.
1468 - doc/nano.texi:
1469         - Fix inconsistent wording and punctuation. (DLR)
1470         - Add missing configure options. (Mike Frysinger, minor tweaks
1471           by DLR)
1472         - Sort the configure options more consistently, and add missing
1473           --disable-utf8 option. (DLR)
1474         - Move --disable-wrapping above --enable-tiny, as the latter now
1475           turns it on. (DLR)
1476 - doc/nanorc.sample:
1477         - Tweak the "c-file" regex for characters to properly accept
1478           '\"' and reject '"' and '''. (DLR)
1479 - doc/texinfo/Makefile.am:
1480         - Automatically generate an HTML version of the info page,
1481           nano.html. (DLR)
1482 - src/Makefile.am:
1483         - Add browser.c, help.c, and prompt.c to nano_SOURCES. (DLR)
1485 GNU nano 1.3.9 - 2005.10.23
1486 - General:
1487         - Miscellaneous comment fixes. (DLR)
1488         - More int -> bool conversions. (DLR)
1489         - Fix a few last instances of the current line number's being
1490           saved as an int instead of a ssize_t.  Changes to
1491           renumber_all(), renumber(), do_alt_speller(), and
1492           backup_lines(). (DLR)
1493         - Reorder some functions for consistency. (DLR)
1494         - Rename variable open_files openfile, for consistency. (DLR)
1495         - Remove renumber()'s dependency on the main filestruct.
1496           Changes to renumber(); removal of renumber_all(). (DLR)
1497         - Restructure things so that every file has its own
1498           openfilestruct, and so that the values in it are used directly
1499           instead of being periodically synced up with the globals.
1500           Accordingly, remove the globals.  Changes to pretty much
1501           every function.  Rename add_open_file() make_new_buffer(),
1502           rename load_buffer() open_buffer(), rename load_open_file()
1503           display_buffer(), rename open_prevnext_file()
1504           switch_to_prevnext_buffer(), rename open_prevfile_void()
1505           switch_to_prev_buffer(), rename open_nextfile_void()
1506           switch_to_next_buffer(), rename write_marked()
1507           write_marked_file(), remove load_file(), rename cancel_fork()
1508           cancel_command(), rename open_pipe() execute_command(), remove
1509           execute_command(), rename resize_variables(), rename
1510           global_init() window_size_init(), rename get_buffer()
1511           get_key_buffer(), and rename get_buffer_len()
1512           get_key_buffer_len(). (DLR)
1513         - Replace all mvwaddstr(hblank) calls with a new function that
1514           does the same thing without the need for hblank.  New function
1515           blank_line(); changes to do_browser(), blank_titlebar(),
1516           blank_topbar(), blank_edit(), blank_statusbar(),
1517           blank_bottombars(), update_line(), and edit_refresh(). (DLR)
1518         - Make the static pid variable used by execute_command() and
1519           cancel_command() a pid_t instead of an int, for consistency.
1520           (DLR)
1521         - Consistently make the flags global and any variables used to
1522           hold it longs. (DLR)
1523         - Make edit_scroll() sophisticated enough to keep track of
1524           current and current_x, update the lines before and after the
1525           scrolled region, and properly scroll more than editwinrows
1526           lines; and change the movement functions that use
1527           edit_scroll() to (a) set current and current_x before calling
1528           it, and (b) no longer call edit_redraw() afterward, as it's
1529           now unnecessary.  These changes eliminate redundant screen
1530           updates when the mark is on, since the mark display depends on
1531           current and current_x.  Also change edit_redraw() to use
1532           edit_scroll() instead of edit_refresh() when one of its two
1533           reference lines is offscreen.  Changes to edit_scroll(),
1534           do_page_up(), do_page_down(), do_up(), and do_down(). (DLR)
1535         - Consistently make the fg and bg colortype struct entries and
1536           any variables used to hold them shorts.  Changes to
1537           do_colorinit() (renamed color_init()), color_to_int() (renamed
1538           color_to_short()), and parse_colors(). (DLR)
1539         - Change color handling to save only the extension and color
1540           regex strings constantly,  and to actually compile them on an
1541           as-needed basis.  Also, make a color syntax specified on the
1542           command line override the syntax associated with the current
1543           file extension, add a "default" syntax that takes no
1544           extensions for those files that don't match any other
1545           syntax's extensions, and add a "none" syntax that's the same
1546           as having no syntax at all.  Changes to update_color(),
1547           thanks_for_all_the_fish(), nregcomp(), parse_syntax(), and
1548           parse_colors(). (Brand Huntsman and DLR)
1549         - Various other color fixes.  Handle unspecified foreground
1550           colors properly, treat syntax names case sensitively, flag
1551           duplicate syntax names as errors, don't automatically
1552           reinitialize the displayed colors every time we update the
1553           current buffer's colors (since the buffer may not be displayed
1554           immediately), don't bother doing complete refreshes of the
1555           screen when color support is enabled if there's no regex
1556           associated with the current file, and rename variable
1557           exttype->val to exttype->ext, for consistency.  Changes to
1558           do_colorinit() (renamed color_init()), update_color() (renamed
1559           color_update()), write_file(), do_input(), do_output(), and
1560           parse_syntax(). (DLR)
1561         - Simplify get_totals() to only get the total number of
1562           characters, and eliminate dependence on its old ability to get
1563           the total number of lines by renumber()ing when necessary and
1564           using the number of the last line of a filestruct.  Changes to
1565           read_file(), move_to_filestruct(), copy_from_filestruct(),
1566           do_justify(), get_totals() (renamed get_totsize()), and
1567           do_cursorpos(). (DLR)
1568         - Change the NANO_WIDE #define to ENABLE_UTF8, as the latter is
1569           clearer. (DLR)
1570         - Minor history code fixes: Make sure that the current position
1571           in the history list is properly set to the bottom if we cancel
1572           out of the prompt, and that magichistory is properly updated
1573           when we change it and then move up.  New function
1574           history_reset(); changes to nanogetstr(). (DLR)
1575         - Various character-handling cleanups.  If we get an invalid
1576           multibyte sequence, treat it as Unicode FFFD (Replacement
1577           Character), unless we're searching for a match to it.  Also,
1578           remove unneeded variables and checks when parsing multibyte
1579           sequences.  Changes to is_alnum_mbchar(), is_blank_mbchar(),
1580           is_cntrl_mbchar(), is_punct_mbchar(), control_mbrep(),
1581           mbwidth(), make_mbchar(), parse_mbchar(), mbstrncasecmp(),
1582           mbstrcasestr(), mbrevstrcasestr(), mbstrchr(), and
1583           display_string(). (DLR)
1584         - Move advanced text operations (command execution in a buffer,
1585           wrapping, spell checking, justifying, and word counting) to
1586           their own source file, and adjust related variables
1587           accordingly.  New file text.c; changes to cancel_command(),
1588           execute_command(), do_backspace(), do_delete(), do_tab(),
1589           do_enter(), do_mark(), wrap_reset(), do_wrap(),
1590           do_int_spell_fix(), do_int_speller(), do_alt_speller(),
1591           do_spell(), break_line(), indent_length(), justify_format(),
1592           quote_length(), quotes_match(), indents_match(), begpar(),
1593           inpar(), backup_lines(), find_paragraph(), do_justify(),
1594           do_justify_void(), do_full_justify(), and do_word_count() (all
1595           moved to text.c). (DLR)
1596         - Since the total number of lines in a file is the same as the
1597           number of its last line when all its lines are numbered
1598           properly, use that in place of openfile->totlines, and
1599           eliminate references to openfile->totlines.  Changes to
1600           initialize_buffer_text(), read_file(), move_to_filestruct(),
1601           copy_from_filestruct(), do_delete(), do_enter(), do_wrap(),
1602           do_justify(), do_alt_speller(), do_wordlinechar_count(),
1603           new_magicline(), remove_magicline(), and do_cursorpos(). (DLR)
1604         - Various fill-related cleanups.  Move check_die_too_small() and
1605           window_size_init()'s code into window_init(), as they really
1606           belong there, remove associated separate calls to them, make
1607           sure window_init() is always called at the same time when
1608           redrawing the screen, and turn the keypad on in topwin in case
1609           we ever read input from it.  Changes to window_init(), main(),
1610           and do_alt_speller(); removal of check_die_too_small() and
1611           window_size_init(). (DLR)
1612         - Remove still more redundant screen updates.  Change all
1613           wrefresh() calls to wnoutrefresh() calls, except for those in
1614           total_update() and do_credits(); call doupdate() just before
1615           using blocking input, since nano spends the most time using
1616           it, for blocking input; and only do constant sursor position
1617           display if we're just about to use blocking input.  Changes to
1618           input_tab(), do_browser(), do_output(), main(),
1619           get_key_buffer(), check_statusblank(), nanogetstr(),
1620           titlebar(), statusbar(), bottombars(), edit_refresh(),
1621           do_yesno(), and do_help(). (DLR)
1622         - Treat the Unicode characters D800-DFFF, FDD0-FDEF, and
1623           xxFFFE-xxFFFF,  as invalid, since the C library's multibyte
1624           functions don't seem to.  New function is_valid_unicode();
1625           changes to mbrep() and make_mbchar(). (DLR)
1626         - Store Unicode values in longs instead of ints, and cover the
1627           entire range of Unicode.  Changes to make_mbchar(),
1628           is_valid_unicode(), parse_kbinput(), get_unicode_kbinput(),
1629           parse_verbatim_kbinput(), and faq.html. (DLR)
1630         - Readd the option to turn the keypad off by default from nano
1631           1.2.x, but rename the long option from --keypad to
1632           --rebindkeypad, clarify its description on the command line,
1633           and add an updated FAQ entry about its use.  Changes to
1634           window_init(), usage(), main(), get_verbatim_kbinput(),
1635           nanorc.sample, nano.1, nanorc.5, nano.texi, and faq.html.
1636           (DLR)
1637         - Add new -W/--wordbounds command line option, and new
1638           "wordbounds" rcfile option, to control whether
1639           the word movement functions treat punctuation characters as
1640           part of a word.  Changes to do_next_word_void(),
1641           do_prev_word_void(), usage(), main(), nano.1, nanorc.5,
1642           nano.texi, and nanorc.sample. (DLR, suggested by Mike
1643           Frysinger)
1644         - Update email address.  Changes to faq.html and AUTHORS. (DLR)
1645         - Remove do_(left|right)()'s ability to optionally not update
1646           the current line, as this was only used in do_backspace(), and
1647           it didn't always update the screen properly.  Changes to
1648           shortcut_init(), do_left(), do_right(), and do_backspace();
1649           removal of do_left_void() and do_right_void(). (DLR; problem
1650           found by Mike Frysinger)
1651 - color.c:
1652         - Remove unneeded fcntl.h include. (DLR)
1653 - chars.c:
1654   control_rep(), control_mbrep()
1655         - Assert that the multibyte character passed in is a control
1656           character if it's valid. (DLR)
1657         - If crep is an invalid multibyte sequence, copy Unicode 0xFFFD
1658           (Replacement Character) into it using strncpy() instead of
1659           assigning the former to it.  This avoids segfaults when freeing
1660           crep later, since it's supposed to be dynamically allocated.
1661           (DLR)
1662   mbrep()
1663         - New function, the equivalent of control_mbrep() for non-control
1664           characters. (DLR)
1665   parse_mbchar()
1666         - Remove now-unneeded bad_chr parameter. (DLR)
1667   mbstrchr()
1668         - Don't count matches between valid and invalid multibyte
1669           sequences anymore, for consistency. (DLR)
1670 - files.c:
1671   open_file()
1672         - Assert that filename isn't NULL, and don't do anything special
1673           if it's blank, as the the former case shouldn't occur, and the
1674           latter case is now handled elsewhere. (DLR)
1675   write_file(), write_marked_file(), do_writeout()
1676         - Make append an append_type enum instead of an int. (DLR)
1677   input_tab()
1678         - Make columns an int instead of a size_t, since it's limited by
1679           COLS. (DLR)
1680 - global.c:
1681   shortcut_init()
1682         - Simplify wording of nano_gotoline_msg. (Jordi and Ken Tyler)
1683         - Clarify wording of nano_wordcount_msg, as it will only go
1684           through the marked portions of the file if the mark is on.
1685           (DLR)
1686 - move.c:
1687   do_first_line(), do_last_line()
1688         - Simplify by only using edit_redraw(), and also make them call
1689           check_statusblank(). (DLR)
1690   do_page_up(), do_page_down()
1691         - If there's less than a page of text onscreen, just call
1692           do_(first|last)_line(). (DLR)
1693   do_para_begin(), do_para_begin_void(), do_para_end(),
1694   do_para_end_void(), do_next_word(), do_next_word_void(),
1695   do_prev_word(), do_prev_word_void()
1696         - Move here from nano.c, as they're movement functions, and also
1697           make them call check_statusblank().
1698 - nano.c:
1699   move_to_filestruct()
1700         - Fix problem where edittop wouldn't be reset properly if it was
1701           inside the text moved to another filestruct. (DLR)
1702   copy_from_filestruct()
1703         - Miscellaneous cleanups. (DLR)
1704   usage()
1705         - Properly mention the support for "[+LINE,COLUMN]" on the
1706           command line when HAVE_GETOPT_LONG isn't defined. (DLR)
1707         - Remove unneeded translation of "--quickblank". (DLR)
1708   do_verbatim_input()
1709         - If constant cursor position display is on, make sure the
1710           cursor position is displayed properly when we finish. (DLR)
1711   do_next_word()
1712         - Rework to be more like do_prev_word(), to avoid a potential
1713           problem if we start at the end of a line. (DLR)
1714   do_mouse()
1715         - Avoid redundant screen updates by using edit_redraw() instead
1716           of edit_refresh(), and remove now-erroneous code that disables
1717           setting the mark while in view mode. (DLR)
1718   do_output()
1719         - When adding a character, just add its length in bytes to
1720           current_x instead of calling do_right(), and set placewewant
1721           afterward. (DLR)
1722   do_alt_speller()
1723         - If we can't invoke the spell checker, use sprintf() instead of
1724           snprintf() to write the error string we return, as the one
1725           formatted value is a simple string, and so altspell_error will
1726           always be long enough to hold it.  Also remove unnecessary
1727           initialization of altspell_error, refactor so that msglen is
1728           no longer needed, and make the error message more similar to
1729           what the internal spell checker returns under the same
1730           circumstances. (DLR)
1731         - Block any pending SIGWINCHes while the alternate spell checker
1732           is running, so that it can handle them, and unblock them once
1733           it's finished and we've loaded the spell-checked file back in.
1734           (DLR)
1735         - Use doupdate() to reenter curses mode instead of refresh().
1736           (DLR)
1737   do_spell()
1738         - When displaying an error message from do_(int|alt)_speller(),
1739           don't display the error message corresponding to errno if
1740           errno is zero. (David Benbennick)
1741   do_justify()
1742         - If constant cursor position display is on, make sure the
1743           cursor position is displayed properly when we finish. (DLR)
1744   handle_sigwinch()
1745         - Use doupdate() to reenter curses mode instead of refresh().
1746           (DLR)
1747   allow_pending_sigwinch()
1748         - Simplify by using the "?" operator instead of an if clause.
1749           (DLR)
1750   main()
1751         - When opening files with "+LINE,COLUMN" arguments on the
1752           command line, don't update the screen when moving to their
1753           specified lines and columns. (DLR)
1754         - Rename variable fill_flag_used to fill_used, for consistency.
1755           (DLR)
1756 - nano.h:
1757         - Since we only use vsnprintf() now, remove the #ifdef block for
1758           HAVE_SNPRINTF. (DLR)
1759         - Remove TOP from the topmidnone enum, and rename the latter
1760           centernone. (DLR)
1761         - Move stdlib.h, dirent.h, regex.h, and assert.h includes here,
1762           as every source file needs them. (DLR)
1763         - Rename the updown enum scroll_dir and the centernone enum
1764           update_type for clarity, and add an append_type enum. (DLR)
1765         - If we don't have regex.h and hence regex support, disable
1766           color support, as it depends on the use of regexes. (DLR)
1767 - rcfile.c:
1768   nregcomp()
1769         - Return TRUE when the compilation succeeds and FALSE otherwise,
1770           instead of the other way around. (DLR)
1771 - search.c:
1772   search_init()
1773         - Don't blank out last_replace anymore when we get a new string,
1774           as it'll be blanked out in do_replace().  Also, consolidate
1775           the cases for blank and new search strings, as they now differ
1776           only in which string they pass to regexp_init(). (DLR)
1777   is_whole_word()
1778         - Move to utils.c, as it's really a utility function in the same
1779           vein as regexp_bol_or_eol(). (DLR)
1780   replace_abort()
1781         - Remove unnecessary update of placewewant. (DLR)
1782   do_replace()
1783         - Blank out last_replace properly again just before displaying
1784           the "Replace" prompt. (DLR, found by Mike Frysinger)
1785         - Remove unnecessary renumber(). (DLR)
1786   do_gotolinecolumn()
1787         - Add parameter allow_update to control whether the screen is
1788           updated after moving.  If it's TRUE, call edit_refresh() after
1789           edit_update(). (DLR)
1790   do_gotopos()
1791         - Only include this function when DISABLE_SPELLER isn't defined,
1792           as the alternate spell checking code is now the only place
1793           where it's used. (DLR)
1794   do_find_bracket()
1795         - Add comments and minor cleanups. (DLR)
1796   find_history()
1797         - Make parameters const where possible. (DLR)
1798   update_history()
1799         - Don't renumber the history list starting after the entry we
1800           found if the entry we found is at the bottom of the list.
1801           (DLR, found by Simon Strandman)
1802   get_history_completion()
1803         - Make parameters const where possible. (DLR)
1804 - text.c:
1805   do_tab()
1806         - Make sure that we insert the correct number of spaces if the
1807           TABS_TO_SPACES flag is set and placewewant is greater than the
1808           current column position of the cursor. (DLR)
1809   do_enter()
1810         - Don't update the edit window until we set placewewant. (DLR)
1811   break_line()
1812         - Fix a problem where a line could be broken in the middle of a
1813           multibyte character. (DLR)
1814   do_word_count()
1815         - Rename to do_wordlinechar_count(), and expand to also count
1816           the number of lines and characters in the file or selection,
1817           as wc does. (DLR)
1818 - winio.c:
1819   get_key_buffer()
1820         - Only save all open buffers and hang up when a blocking
1821           wgetch() returns ERR and errno is set to EIO (input/output
1822           error).  If errno is set to something else, recover properly.
1823           This fixes problems with nano's erroneously hanging up while
1824           e.g. resizing or unsuspending in a chroot. (DLR, found by Mike
1825           Frysinger)
1826   get_escape_seq_kbinput()
1827         - Fix typo preventing the VT100/VT220/VT320/xterm/rxvt escape
1828           sequence for ',' on the numeric keypad with NumLock off from
1829           being interpreted properly. (DLR)
1830   get_word_kbinput()
1831         - Multiply the entered digits by hexadecimal numbers instead of
1832           decimal numbers for clarity, rename to get_unicode_kbinput(),
1833           and rename variables word and word_digits to uni and
1834           uni_digits. (DLR)
1835   parse_verbatim_kbinput()
1836         - Rename variables word_mb and word_mb_len to uni_mb and
1837           uni_mb_len. (DLR)
1838   display_string()
1839         - Instead of using parse_mbchar()'s bad_chr parameter, use
1840           mbrep() to get the representation of a bad character. (DLR)
1841         - If column is less than start_col and the character's a tab,
1842           which can be possible if there are enough tabs and the
1843           terminal size is sufficiently large, don't try to display it
1844           using control_mbrep(). (DLR, found by Duncan Geoffry Doyle)
1845         - Really avoid a memory corruption problem by allocating enough
1846           space for COLS characters. (DLR)
1847   edit_redraw(), edit_refresh()
1848         - Clean up and simplify. (DLR)
1849   edit_update()
1850         - Since we no longer use TOP, remove references to it.  Also,
1851           don't call edit_refresh() anymore; it will call us. (DLR)
1852   do_statusbar_next_word()
1853         - Rework to be more like do_statusbar_prev_word(), to avoid a
1854           potential problem if we start at the end of a line. (DLR)
1855   do_statusbar_input()
1856         - Call do_statusbar_mouse() instead of do_mouse(). (DLR)
1857   do_statusbar_output()
1858         - When adding a character, just add its length in bytes to
1859           statusbar_x instead of calling do_statusbar_right(). (DLR)
1860   titlebar()
1861         - Rework to display only one space after the version number, so
1862           that there's more room for other things, and to not display
1863           the status when we're in the file browser, since Pico doesn't.
1864           (DLR)
1865   do_credits()
1866         - Various cleanups.  Turn on the MORE_SPACE and NO_HELP flags
1867           before showing the credits, so that they use as much of the
1868           screen as possible, and set the flags back to their original
1869           values afterward.  Also, call wscrl(1) instead of scroll(),
1870           only call scrollok() just before and after we scroll, and
1871           tweak where screen updates occur so that messages are properly
1872           displayed when they first scroll onto the bottom line of the
1873           screen. (DLR)
1874         - Add Mike Frysinger to credits. (DLR)
1875 - configure.ac:
1876         - Since we only use vsnprintf() now, remove the tests for
1877           snprintf(). (DLR)
1878         - Change the description of "sufficient wide character support"
1879           to "sufficient UTF-8 support", as the latter is clearer. (DLR)
1880         - Update the description of the ENABLE_COLOR option to mention
1881           the need for regex.h. (DLR)
1882 - doc/faq.html:
1883         - Update section 4.10 to mention that pasting from the X
1884           clipboard via the middle mouse button also works when the
1885           Shift key is used. (DLR)
1886 - doc/nanorc.sample:
1887         - Add regexes for Bourne shell scripts. (Mike Frysinger, minor
1888           tweaks by DLR)
1889         - Explain how the "none" and "default" syntaxes work. (DLR)
1890         - Tweaks and additions to the "c-file" regexes: handle #defined
1891           constants more accurately and use a brighter color for them,
1892           support C99 standard integer types, support more GCC builtins,
1893           and color code flow control statements differently. (Mike
1894           Frysinger)  DLR: Slightly simplify the integer types regex.
1895         - Tweak one "TeX" regex to use the "icolor" directive. (DLR)
1896 - doc/man/nanorc.5:
1897         - Explain how the "none" and "default" syntaxes work. (DLR)
1898 - doc/man/fr/nano.1, doc/man/fr/nanorc.5:
1899         - Updated translation by Jean-Philippe GuĂ©rard.
1900 - src/Makefile.am:
1901         - Add text.c to nano_SOURCES. (DLR)
1902 - AUTHORS:
1903         - Add Mike Frysinger. (DLR)
1904 - README.CVS:
1905         - Since we only use vsnprintf() now, remove the mention of
1906           snprintf(). (DLR)
1907 - THANKS:
1908         - Add Bulgarian and Dutch translators.
1910 GNU nano 1.3.8 - 2005.06.30
1911 - General:
1912         - Miscellaneous comment fixes. (DLR)
1913         - Various #include fixes.  Since proto.h includes nano.h, only
1914           include the former in source files.  Also add an #include
1915           guard to proto.h, and make the config.h #include in nano.h
1916           match the config.h #includes everywhere else. (DLR)
1917         - Change all hardcoded instances of 128 bytes to MAX_BUF_SIZE,
1918           and #define MAX_BUF_SIZE as 128 in nano.h. (DLR)
1919         - Display the key to go to the previous strings in the
1920           search/replace history as "^P" instead of "Up".  This makes
1921           mouse clicks work properly on it.  Changes to shortcut_init(),
1922           help_init(), nanogetstr(), and do_statusbar_input(). (DLR)
1923         - Update the Free Software Foundation's mailing address in
1924           various comments. (DLR)
1925         - Add the ability to open a file on a specified column as well
1926           as a specified line, by allowing an argument of the form
1927           +LINE,COLUMN.  New function parse_line_column(); changes to
1928           shortcut_init(), main(), do_gotoline() (renamed
1929           do_gotolinecolumn()), do_gotoline_void() (renamed
1930           do_gotolinecolumn_void()), nano.1, and nano.texi. (DLR,
1931           suggested by PFTank)
1932         - Overhaul the history code to work more consistently, and clean
1933           up various parts of it.  New function history_has_changed();
1934           changes to load_history(), writehist(),
1935           thanks_for_all_the_fish(), history_init(), find_node()
1936           (renamed find_history()), update_history(),
1937           get_history_older(), get_history_newer(),
1938           get_history_completion(), do_search(), do_replace(),
1939           nanogetstr(), and statusq(); removal of remove_node() and
1940           insert_node(). (DLR)
1941         - Remove all instances of charcpy() and replace them with
1942           strncpy(), since there's no way to be sure that a charcpy()ed
1943           string will always be properly null-terminated, and strcpy()'s
1944           null termination is the only difference between it and
1945           charcpy(). (DLR)
1946         - When using a backup directory, make sure all the filenames
1947           written are unique by using get_next_filename() when
1948           necessary.  Changes to get_next_filename(), write_file(),
1949           die(), usage(), nano.1, nanorc.5, nanorc.sample, and
1950           nano.texi. (DLR, suggested by James Collings)
1951         - Rework the file-writing routines so that they can work
1952           properly with already-opened files, such as the
1953           mkstemp()-created files used by the spell-checking code.
1954           Changes to safe_tempnam() (renamed safe_tempfile()),
1955           write_file(), write_marked(), die(), do_spell(), and
1956           do_exit(). (DLR)
1957         - Remove the -R/--regexp command line option and enable the
1958           toggle at the search prompt in tiny mode, as it already
1959           allows the prepend and append toggles at the search prompt.
1960           For consistency, rename TOGGLE_REGEXP_KEY to NANO_REGEXP_KEY,
1961           and move it out of the toggles block to where NANO_PREPEND_KEY
1962           and NANO_APPEND_KEY are.  Also, change the short command line
1963           option for --restricted from -Z to -R.  Changes to
1964           shortcut_init(), usage(), main(), search_init(), nano.1,
1965           nano.texi, etc. (DLR)
1966         - Various cleanups and improvements in chars.c.  Remove some
1967           unnecessary w?ctype wrappers and variables; change the wctype
1968           wrappers to take wint_t instead of wchar_t to match the
1969           functions they wrap; rename some functions for consistency;
1970           add functions to detect blank characters in a string, for use
1971           in rcfile option parsing; and don't count matches between
1972           valid and invalid multibyte sequences anymore, as it causes
1973           problems when doing a replace.  New functions
1974           is_valid_mbstring(), has_blank_chars(), and
1975           has_blank_mbchars(); changes to is_alnum_mbchar(),
1976           is_blank_char() (renamed nisblank()), is_blank_mbchar(),
1977           is_blank_wchar() (renamed niswblank()), is_cntrl_wchar(),
1978           control_rep(), control_mbrep(), make_mbstring() (renamed
1979           make_valid_mbstring()), mbstrncasecmp(), mbstrcasestr(),
1980           mbrevstrcasestr(), etc.; removal of is_alnum_char() and
1981           is_alnum_wchar(). (DLR)
1982         - Implement word count via Meta-D at the main window.  Note that
1983           this is disabled when NANO_SMALL is defined.  Also, convert
1984           all word detection functions to use the same wrapper function
1985           for ease of maintenance, and make them return more
1986           information.  New functions is_punct_mbchar(),
1987           is_word_mbchar(), do_next_word_void(), do_prev_word_void(),
1988           and do_word_count(); changes to shortcut_init(),
1989           do_next_word(), do_prev_word(), is_whole_word(),
1990           do_statusbar_next_word(), and do_statusbar_prev_word(). (DLR)
1991         - Fix #ifdefs so that nano compiles with NANO_SMALL defined and
1992           DISABLE_TABCOMP undefined.  Changes to revstrstr() and
1993           free_charptrarray() (renamed free_chararray()). (DLR)
1994         - Change the wctype wrappers to take wchar_t's again, as they
1995           still work the same way with them.  This also fixes
1996           compilation on Mac OS X 10.4.1, which doesn't seem to define a
1997           wint_t type. (DLR, found by Emily Jackson)
1998         - Add the ability to convert typed tabs to spaces using
1999           the -E/--tabstospaces command line options, the "tabstospaces"
2000           rcfile option, and the toggle Meta-Q (since QBasic did this by
2001           default :)).  Note that this doesn't affect tabs entered using
2002           verbatim input, and that it's disabled when NANO_SMALL is
2003           defined.  Also, change the short command line option for
2004           --backupdir from -E to -C.  Changes to toggle_init(), usage(),
2005           do_tab(), main(), nanorc.sample, nano.1, nanorc.5, and
2006           nano.texi. (DLR, suggested by many people)
2007         - Change the CONSTUPDATE, REVERSE_SEARCH, and SMOOTHSCROLL flags
2008           to the CONST_UPDATE, BACKWARDS_SEARCH, and SMOOTH_SCROLL
2009           flags, respectively. (DLR)
2010         - Change the SMOOTHSCROLL flag to the SMOOTH_SCROLL flag. (DLR)
2011         - Change the NO_UTF8 flag to the USE_UTF8 flag, and reverse its
2012           meaning. (DLR)
2013         - Add rcfile options "casesensitive" and "backwards", to do
2014           case sensitive and backwards searches by default.  Changes to
2015           nanorc.sample and nanorc.5. (DLR)
2016         - Since the DISABLE_CURPOS flag is only used in winio.c, reduce
2017           it to a static bool there.  Changes to statusbar() and
2018           disable_cursorpos(). (DLR)
2019         - Add -U/--quickblank option and a "quickblank" rcfile option to
2020           blank the statusbar after 1 keystroke instead of 25.  Note
2021           that this obviously has no effect when constant cursor
2022           position display is turned on, and that this is disabled when
2023           NANO_SMALL is defined.  Changes to usage(), main(),
2024           statusbar(), nanorc.sample, nano.1, and nanorc.5. (DLR,
2025           suggested by CHAO Wei-Lun)
2026         - Add support for case insensitive expression matching when
2027           using color syntax highlighting, via the "icolor" directive,
2028           and add it to those regexes that can use it.  Changes to
2029           parse_colors(), parse_rcfile(), nanorc.sample, and nanorc.5.
2030           (Brand Huntsman, minor tweaks by DLR)
2031         - Add various type changes to avoid problems on systems where
2032           int and ssize_t are different sizes.  Make filestruct->lineno
2033           a ssize_t (so that we can avoid negative line numbers at the
2034           "Go To Line" prompt), current_y a ssize_t (in order to hold
2035           the maximum difference between two filestruct->lineno's),
2036           totlines a size_t, and change related variables to match.
2037           (DLR, initial problem with parse_line_column() found by Mike
2038           Frysinger)
2039         - Rework the credits handling to display Florian König's name
2040           properly whether we're in a UTF-8 locale or not, and without
2041           requiring a massive function that we only use once.  Changes
2042           to do_credits(); removal of make_valid_mbstring(). (DLR)
2043 - chars.c:
2044   make_mbstring()
2045         - Change erroneous ENABLE_EXTRA #ifdef to NANO_EXTRA to fix a
2046           compilation problem when --enable-nanorc isn't used and
2047           --enable-extra is. (DLR)
2048 - color.c:
2049   update_color()
2050         - Use mbstrcasecmp() instead of strcasecmp(), so that UTF-8
2051           color syntax names are properly detected. (DLR)
2052 - cut.c:
2053   cut_line()
2054         - Set placewewant properly after cutting a line, to avoid a
2055           problem where the screen won't be updated if (a) we're not on
2056           the first page when we cut the line, and (b) immediately after
2057           we cut the line, we hit End to move to the end of the line
2058           after it. (DLR)
2059 - files.c:
2060   read_line()
2061         - Rename variable prev to prevnode to avoid confusion. (DLR)
2062         - Rename variable len to buf_len, for consistency. (DLR)
2063   load_open_file()
2064         - Remove an unneeded clearok(FALSE). (DLR)
2065   get_next_filename()
2066         - Use an unsigned long instead of an int for the number
2067           prepended to the filename. (DLR)
2068   do_insertfile()
2069         - Set i to 0 when we get a filename via the file browser, so
2070           that it's read in properly when we exit the file browser.
2071           (DLR)
2072   open_prevnext_file()
2073         - Move up a misplaced assert. (DLR)
2074         - Rename variable next to next_file, to avoid confusion. (DLR)
2075   write_file()
2076         - Since lineswritten is a size_t, print its value as an unsigned
2077           long instead of an unsigned int. (DLR)
2078         - Declare the size_t i only in the loop where it's used. (DLR)
2079   diralphasort()
2080         - Use mbstrcasecmp() instead of strcasecmp(), so that UTF-8
2081           filenames are sorted properly. (DLR)
2082   cwd_tab_completion(), browser_init()
2083         - Rename variable next to nextdir to avoid confusion. (DLR)
2084   input_tab()
2085         - Since list is a bool, set it to FALSE instead of 0. (DLR)
2086         - Add multibyte/wide character support, so that we don't end up
2087           with a string that contains only part of a multibyte
2088           character during tab completion. (DLR)
2089         - Rename variable buflen to buf_len, for consistency. (DLR)
2090   do_browser()
2091         - Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
2092           consistency. (DLR)
2093         - When displaying "(dir)" in the available screen space, make
2094           sure that the string it's stored in is always null-terminated.
2095           (DLR)
2096         - Rename variable selectedbackup to old_selected, for
2097           consistency. (DLR)
2098         - Make mouse clicks in the browser window work properly when the
2099           MORE_SPACE flag is set. (DLR)
2100         - Make foo_len a size_t instead of an int. (DLR)
2101   save_history()
2102         - Properly save history when we're in view mode. (DLR)
2103 - global.c:
2104   shortcut_init()
2105         - Move the "Refresh" and "Exit" shortcuts to the beginning of
2106           the help browser shortcut list, for consistency. (DLR)
2107         - Remove unnecessary "Refresh" placeholder in the file browser
2108           shortcut list. (DLR)
2109         - Allow the mark to be used in view mode, as Pico does. (DLR)
2110         - Clarify the description of ^X when --enable-multibuffer is
2111           used. (DLR)
2112         - Change the description of the Meta-B toggle at the search
2113           prompt from "Direction" to "Backwards", for consistency. (DLR)
2114   toggle_init()
2115         - Clarify the descriptions of M-C and M-L. (DLR)
2116         - Reorder the toggles to put more toggles with similar functions
2117           together. (DLR)
2118   thanks_for_all_the_fish()
2119         - Remove free_toggles() and move its code here verbatim, as it's
2120           only called here anyway. (David Benbennick)
2121         - Fix the code to free all open file buffers to work properly
2122           with the previous overhaul of the multibuffer code instead of
2123           going into an infinite loop. (David Benbennick)
2124         - Add additional checks for variables' not being NULL before we
2125           try to free them, to avoid assertion failures. (DLR)
2126 - nano.c:
2127   die()
2128         - Rename variable ret to retval for consistency. (DLR)
2129         - Tweak the message displayed when a backup file can't be
2130           written, so as to not duplicate a translated string. (DLR)
2131         - If the current filestruct's been partitioned, unpartition it
2132           before saving the associated file. (DLR)
2133   resize_variables()
2134         - Use charset() instead of memset() to initialize hblank. (DLR)
2135   copy_filestruct()
2136         - Rename variable prev to copy to avoid confusion. (DLR)
2137   print1opt_full()
2138         - If desc should be empty, allow it to be NULL instead of
2139           "", since the latter is not necessarily translated as "".
2140           (DLR, found by Jordi)
2141   usage()
2142         - Add missing N_() around one message, so that it isn't
2143           erroneously translated twice. (DLR)
2144         - Remove inaccurate default listed for -Q/--quotestr. (DLR)
2145   version()
2146         - Add --enable-utf8 to the displayed compilation options, put
2147           the options in alphabetical order, and handle --enable-tiny
2148           the same way as all the other options. (DLR)
2149   do_tab()
2150         - Remove unneeded variable kbinput. (DLR)
2151   do_int_spell_fix()
2152         - Display highlighted misspelled words using display_string(),
2153           as do_replace_loop() does. (DLR)
2154   do_alt_speller()
2155         - Replace a set_modified() with SET(MODIFIED) to avoid an
2156           unnecessary update, and remove an unneeded clearok(FALSE).
2157           (DLR)
2158         - Move the spell checking error handling block down and refactor
2159           it so that we go back into curses mode, reinitialize the
2160           terminal, turn the cursor back on, and turn the mark back on
2161           if necessary before returning the error message. (DLR)
2162   do_spell()
2163         - If the spell-checker printed any error messages onscreen, call
2164           total_refresh() to make sure they're cleared off. (DLR, found
2165           by CHAO Wei-Lun)
2166   find_paragraph()
2167         - Reset placewewant as well as current_x to 0, in order to avoid
2168           a potential screen update problem. (DLR)
2169   do_justify()
2170         - Save placewewant, and restore it if we unjustify, in order to
2171           avoid a potential screen update problem. (DLR)
2172   do_output()
2173         - Properly allow wrapping when we insert a tab, for consistency.
2174           (DLR)
2175         - Don't set current_len until after it's been asserted that both
2176           current and current->data aren't NULL. (DLR)
2177   do_toggle()
2178         - Properly treat color syntax highlighting as enabled by
2179           default, and only treat wrapping as enabled by default when
2180           DISABLE_WRAPPING isn't defined. (DLR)
2181   disable_extended_input()
2182         - Disable extended output processing as well as extended input
2183           processing, and rename to disable_extended_io(). (DLR)
2184   disable_flow_control(), enable_flow_control()
2185         - Only turn off flow control on output, as it might be needed
2186           for input on slow terminals. (DLR)
2187 - nano.h:
2188         - Add macro charset(), a wrapper that calls memset(). (DLR)
2189         - Readd #defines for the isblank() and iswblank() equivalents.
2190           (DLR)
2191         - In the colortype struct, make bright a bool instead of an int,
2192           for consistency. (DLR)
2193 - proto.h:
2194         - Add missing NANO_SMALL and HAVE_REGEX_H #ifdefs around the
2195           do_find_bracket() prototype. (DLR)
2196 - rcfile.c:
2197   color_to_int()
2198         - Since colorname's being NULL is handled elsewhere now, assert
2199           that it isn't NULL at the beginning of the function. (DLR)
2200   parse_colors()
2201         - Properly parse a background color without a foreground color.
2202           (DLR)
2203         - Properly generate an error if we get a color directive without
2204           a regex string. (DLR)
2205   parse_rcfile()
2206         - Properly generate an error if we get an invalid multibyte
2207           string for an option, instead of working around it. (DLR)
2208         - Use has_blank_mbchars() to check for blank characters in the
2209           "punct" and "brackets" options, and clarify the error message
2210           displayed when we find blank characters. (DLR)
2211 - search.c:
2212   do_gotoline()
2213         - Properly show an error message if we try to go to line 0,
2214           since the first line in the file is 1. (DLR)
2215         - Start the search for a line from fileage instead of current
2216           (again). (DLR)
2217   replace_regexp()
2218         - Rename variables create_flag and new_size to create and
2219           new_line_size, for consistency. (DLR)
2220         - Make new_line_size, search_match_count, and i size_t's, for
2221           consistency. (DLR)
2222   replace_line()
2223         - Make new_line_size and search_match_count size_t's, for
2224           consistency. (DLR)
2225   do_replace_loop()
2226         - When moving to the next match, update the screen using
2227           edit_refresh() instead of edit_redraw(), as the latter won't
2228           work properly when we've replaced one or more instances of a
2229           string in copy and haven't yet updated current->data to match
2230           copy. (DLR)
2231   do_find_bracket()
2232         - Miscellaneous cleanups: rename variables for consistency, and
2233           save the search direction and regexp setting in two bools
2234           instead of one flags variable. (DLR)
2235 - utils.c:
2236   num_of_digits()
2237         - Use a size_t instead of an int, and rename to digits(). (DLR)
2238   align()
2239         - Rename variable strp to str for consistency. (DLR)
2240 - winio.c:
2241   do_statusbar_output()
2242         - Don't set answer_len until after it's been asserted that
2243           answer isn't NULL. (DLR)
2244   display_string()
2245         - Avoid a memory corruption problem by allocating enough space
2246           for len plus a trailing multibyte character and/or tab. (DLR)
2247         - Don't check for multicolumn characters if the NO_UTF8 flag
2248           isn't set. (DLR)
2249         - Free buf_mb when we're done using it. (DLR)
2250   nanogetstr()
2251         - Rename variable def to curranswer to avoid confusion. (DLR)
2252         - Only declare and use the tabbed variable if DISABLE_TABCOMP
2253           isn't defined. (DLR)
2254         - Refactor to replace unnecessary variable answer_len with
2255           curranswer_len, and hence avoid an assertion failure involving
2256           the former. (DLR)
2257   statusq()
2258         - Rename variable which_history to history_list, for
2259           consistency. (DLR)
2260         - Rename variables def and ret to curranswer and retval to avoid
2261           confusion. (DLR)
2262         - Call wnoutrefresh(bottomwin) after getting an answer and
2263           blanking out the statusbar, to make sure that the blanking is
2264           done.  This fixes a problem where the statusbar is not
2265           properly blanked after using the "Go To Line" prompt with the
2266           NO_HELP flag set. (DLR)
2267   titlebar()
2268         - Use actual_x() to calculate the number of characters VERMSG
2269           takes up, in case it's UTF-8. (DLR)
2270   do_cursorpos()
2271         - Properly display the value of totsize as unsigned. (DLR)
2272         - If constant is TRUE, only display the cursor position when
2273           disable_cursorpos is FALSE.  Don't refuse to display it when
2274           the cursor position hasn't changed, as that doesn't always
2275           keep it properly updated. (DLR, found by Mike Frysinger)
2276   do_help()
2277         - Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
2278           consistency. (DLR)
2279   statusbar()
2280         - Set statusblank to 25 instead of 26, to match current Pico.
2281           (DLR)
2282   edit_redraw()
2283         - Make do_refresh a bool instead of an int. (DLR)
2284   do_yesno()
2285         - Allow refreshing the screen via Ctrl-L, as Pico does. (DLR)
2286         - Add a missing assert, and use actual_x() to calculate the
2287           number of characters buf takes up, in case it's UTF-8. (DLR)
2288         - Get input from bottomwin instead of edit, so that the cursor
2289           isn't erroneously put in the edit window while we wait for an
2290           answer. (DLR)
2291         - Call wnoutrefresh(edit) to make sure that the edit window is
2292           refreshed before we get input, as statusq() does. (DLR)
2293   total_redraw()
2294         - Simplify to just call wrefresh() on curscr, which updates the
2295           entire screen in one function call without moving the cursor
2296           from the window it's currently in. (DLR)
2297         - When using slang, use SLsmg_touch_screen() and SLsmg_refresh()
2298           to update the screen, as slang doesn't define curscr. (DLR)
2299   do_replace_highlight()
2300         - Use waddch() instead of waddstr() to display a space when we
2301           have a zero-length regex. (DLR)
2302         - Rename variable highlight_flag to highlight, for consistency.
2303           (DLR)
2304   do_credits()
2305         - Save the keystroke that breaks us out of the credits (if any)
2306           and put it back so that it isn't lost.  This is especially
2307           needed if the keystroke is part of a multibyte character.
2308           (DLR)
2309 - nano.1:
2310         - Clarify and consolidate the descriptions of --fill and
2311           --tabsize. (DLR)
2312 - nanorc.5:
2313         - Update the description of how the "color" regex works. (DLR)
2314         - Clarify descriptions of the characters that aren't allowed
2315           in the "punct" or "brackets" options. (DLR)
2316         - Use .B instead of \fB ... \fP where possible, as nano.1 does.
2317           (DLR)
2318         - Clarify and consolidate the descriptions of "fill" and
2319           "tabsize". (DLR)
2320 - nano.texi:
2321         - Update the "Feature Toggles" section to match current nano.
2322           (DLR)
2323         - Clarify and consolidate the descriptions of --fill and
2324           --tabsize. (DLR)
2325 - configure.ac:
2326         - Minor tweaks to some of the test blocks to avoid XSI:isms.
2327           (DLR, adapted from a Debian patch for GNU ed by David
2328           Weinehall)
2329         - Don't refer to the built-in file browser as crappy anymore.
2330           (DLR)
2331         - Check for iswpunct() and mbstowcs(). (DLR)
2332         - Change the behavior of --enable-extra to only define
2333           NANO_EXTRA, instead of defining both it and
2334           ENABLE_MULTIBUFFER. (DLR)
2335         - Check for get_wch() instead of wget_wch() to determine if
2336           there's a wide curses library, as it's a more generic
2337           function. (DLR)
2338         - Check for possibly unavailable functions in alphabetical
2339           order. (DLR)
2340 - doc/faq.html:
2341         - Update section 1.1 to mention the current maintainer. (DLR)
2342         - Minor capitalization and wording fixes. (DLR)
2343         - Update description of --enable-extra, and add missing line
2344           breaks. (DLR)
2345 - doc/nanorc.sample:
2346         - In the "nanorc" regexes, tweak the "color" regex to properly
2347           color a line that specifies a background color without a
2348           foreground color, and update the associated comments. (DLR)
2349         - Clarify descriptions of the characters that aren't allowed
2350           in the "punct" or "brackets" options. (DLR)
2351         - Update comment referring to --enable-extra. (DLR)
2352         - Add "cxx" and "hxx" to the list of extensions that the
2353           "c-file" regexes apply to, and add "warning" and "error" to
2354           them as well. (Mike Frysinger)
2355         - Add regexes for assembler files. (Mike Frysinger)
2356         - In the preprocessor directives regex string in the "c-file"
2357           regexes, cover more whitespace characters than just " " by
2358           using "[[:space:]]" instead. (Mike Frysinger)  DLR: Extend
2359           this to other regex strings whenever possible.
2360         - Move some overly long split-up regex strings that cover
2361           similar areas onto the same line. (DLR)
2362         - Add GCC builtins to the "c-file" regexes. (Mike Frysinger)
2363         - Simplify the file extension regex for groff. (DLR)
2364         - Clarify and consolidate the descriptions of "fill" and
2365           "tabsize". (DLR)
2366 - Makefile.am, m4/Makefile.am:
2367         - Make sure that the files in EXTRA_DIST are in alphabetical
2368           order, and that the lines are wrapped at 72 characters. (DLR)
2369 - doc/man/fr/Makefile.am:
2370         - Set mandir to @mandir@/fr, so French manpages get installed
2371           where they belong (Jordi).
2372 - THANKS:
2373         - Add new translators to the credits.
2375 GNU nano 1.3.7 - 2005.04.10
2376 - General:
2377         - Miscellaneous comment fixes. (DLR)
2378         - After (re)initializing the terminal, make sure the cursor is
2379           always turned on.  Changes to do_alt_speller(),
2380           handle_sigwinch(), and main(). (DLR)
2381         - Make sure that all references to cut-to-end are left out when
2382           NANO_SMALL is defined.  Changes to cut_to_eol(),
2383           do_cut_text(), and do_statusbar_cut_text(). (DLR)
2384 - chars.c:
2385   make_mbchar()
2386         - Remove unneeded assert. (DLR)
2387   move_mbleft()
2388         - Fix assert to reference the proper variable, so that nano
2389           builds with DEBUG defined again. (Mike Frysinger, found by
2390           Dmitri Vassilenko)
2391 - files.c:
2392   do_insertfile()
2393         - Fix problem where going into the help browser at the "Insert
2394           File" prompt would always result in the current answer's being
2395           used as the filename afterward. (DLR)
2396   get_full_path()
2397         - Rework handling of the results of getcwd() in order to avoid
2398           segfaults if they fail, and to remove uses of the nonportable
2399           GNU extension where passing a size of 0 will get a string as
2400           long as we need. (DLR)
2401   do_browser()
2402         - Rename variable lineno to fileline to avoid confusion. (DLR)
2403   do_browse_from()
2404         - Rework handling of the results of getcwd() in order to avoid
2405           segfaults if they fail, and to remove uses of the nonportable
2406           GNU extension where passing a size of 0 will get a string as
2407           long as we need. (DLR)
2408 - nano.c:
2409   help_init()
2410         - When calculating allocsize, take multibyte characters into
2411           account, and keep the column number limits consistent. (DLR)
2412         - Break htx up into three chunks, in case the string is too long
2413           for the compiler to handle (e.g. an ISO C89 compiler that can
2414           only handle up to 509 characters). (DLR)
2415         - Minor wording fixes. (DLR)
2416   print1opt()
2417         - Don't include longflag if HAVE_GETOPT_LONG isn't defined.
2418           Rename this function to print1opt_full(), leave out the
2419           longflag parameter if HAVE_GETOPT_LONG isn't defined, and make
2420           print1opt() a macro for print1opt_full() that does that
2421           without the need for a lot of extra #ifdefs. (David
2422           Benbennick)  DLR: Rename print1opt_f() to print1opt_full().
2423         - Rework the special case of options that are ignored for Pico
2424           compatibility so that they display more neatly when
2425           HAVE_GETOPT_LONG isn't defined. (DLR)
2426   usage()
2427         - Fix erroneous #ifdef that resulted in the -d/--rebinddelete
2428           option's not being printed when NANO_SMALL was defined. (DLR)
2429   find_paragraph()
2430         - Fix problem where a search for the next paragraph would skip
2431           over certain cases of one-line paragraphs. (DLR)
2432   do_justify()
2433         - Instead of breaking a line at a space and readding the space
2434           afterwards, just break the line after the space, as it's more
2435           efficient. (DLR)
2436   main()
2437         - Change 0 to NULL in the option struct where needed. (David
2438           Benbennick)
2439 - nano.h:
2440         - Define PATH_MAX as 4096 if it isn't defined, as passing a size
2441           of 0 to get a string as long as we need is a nonportable GNU
2442           extension, and hence it won't work on non-GNU systems that
2443           don't define PATH_MAX. (DLR)
2444 - rcfile.c:
2445   parse_rcfile()
2446         - Fix debugging message to display the long value of a flag
2447           properly. (DLR)
2448 - utils.c:
2449   regexec_safe()
2450         - Rename to safe_regexec() for consistency. (DLR)
2451 - winio.c:
2452   nanogetstr()
2453         - Fix misplaced break. (DLR)
2454   statusq()
2455         - Make sure that the vsnprintf(foo) call and foo's subsequent
2456           null termination both take the proper number of bytes when
2457           using multibyte characters, so that multibyte prompt strings
2458           aren't prematurely cut off. (DLR)
2459   titlebar()
2460         - Make sure that the (mv)?waddnstr() calls take the proper
2461           number of bytes when using multibyte characters, so that
2462           multibyte strings aren't prematurely cut off. (DLR, found by
2463           Jordi)
2464         - Allow the "View" state to be displayed when a filename is
2465           passed in, in case we're in multibuffer mode and inside the
2466           file browser. (DLR)
2467   help_line_len()
2468         - Make the text display more flexible, and closer to what nano
2469           1.2.x does. (DLR)
2470 - configure.ac:
2471         - Allow more flexible handling of UTF-8 support by allowing
2472           the --enable-utf8 and --disable-utf8 options. (Mike
2473           Frysinger)  DLR: Extend these options to work with slang as
2474           well as curses, consolidate the warning and error messages
2475           dealing with UTF-8 support as much as possible, and add a few
2476           minor consistency fixes.
2477         - Mention explicitly that the check for the broken regexec() is
2478           needed for glibc 2.2.3. (DLR)
2479 - nanorc.sample:
2480         - Fix the description for the whitespace option to mention that
2481           only single-column characters are allowed. (DLR)
2482         - Add C++ regexes. (Neil Brown, merged into c-file regexes by
2483           DLR)
2484         - Break up overly long perl and nanorc regexes into separate
2485           regexes of no more than 256 bytes, as POSIX-compliant regexp
2486           implementations can reject regexes of over 256 bytes. (DLR)
2487 - nano.1, nano.texi:
2488         - Mention the -? alias for -h/--help, and add various
2489           consistency fixes. (DLR)
2490 - nanorc.5:
2491         - Fix the description for the whitespace option to mention that
2492           only single-column characters are allowed. (DLR)
2494 GNU nano 1.3.6 - 2005.03.20
2495 - General:
2496         - More int -> bool conversions. (DLR and David Benbennick)
2497         - Overhaul the cutting and uncutting routines to use the
2498           partitioning code, as it greatly simplifies how they work.
2499           New functions move_to_filestruct(), copy_from_filestruct(),
2500           cut_line(), cut_marked(), and cut_to_eol(); changes to
2501           add_to_cutbuffer(), do_cut_text(), do_uncut_text(), etc.;
2502           removal of functions get_cutbottom(), add_to_cutbuffer(), and
2503           cut_marked_segment(). (DLR)
2504         - Overhaul the justify-related routines to back up and restore
2505           unjustified text to use the partitioning code, as it greatly
2506           simplifies how they work, and to store such text in its own
2507           buffer rather than the cutbuffer.  Changes to backup_lines(),
2508           do_justify(), etc. (DLR)
2509         - Overhaul the multibuffer routines to increase efficiency, most
2510           importantly making them use a doubly linked list for the open
2511           files so that switching between them is no longer O(N), and
2512           only including free_openfilestruct() when --enable-debug is
2513           used.  Also use some of the same efficiency tweaks when
2514           dealing with filestruct nodes.  New function
2515           open_prevnext_file(); changes to make_new_opennode(),
2516           splice_opennode(), unlink_opennode(), delete_opennode(),
2517           free_openfilestruct(), add_open_file(), load_open_file(),
2518           close_open_file(), shortcut_init(), die(), make_new_node(),
2519           copy_node(), splice_node(), delete_node(), and
2520           free_filestruct(); removal of open_prevfile() and
2521           open_nextfile(). (David Benbennick, minor tweaks and additions
2522           by DLR)
2523         - Change references to "open files" to "open file buffers", for
2524           consistency. (DLR)
2525         - Add flag to disable UTF-8 sequence interpretation, so that
2526           people using single-byte encodings such as KOI8-R can type
2527           properly again. (DLR, found by Arthur Ivanov)
2528         - Massively overhaul the input and output routines to support
2529           buffered input and output, the first steps toward
2530           wide/multibyte character input and output, and verbatim input
2531           of double-byte Unicode characters instead of single-byte ASCII
2532           characters.  New functions is_byte(), get_buffer(),
2533           get_buffer_len(), buffer_to_keys(), unget_input(),
2534           get_input(), parse_kbinput(), and parse_verbatim_kbinput();
2535           new macro charcpy(); changes to do_char() (renamed to
2536           do_output()), get_edit_input() (renamed to do_input() and
2537           moved to nano.c), get_edit_mouse() (renamed do_mouse() and
2538           moved to nano.c), do_verbatim_input(), do_tab(), main(), and
2539           get_ascii_kbinput() (renamed to get_byte_kbinput()).  The wide
2540           version of ncurses is required in order for wide/multibyte
2541           input and output to work properly. (DLR; buffered input/output
2542           based on ideas from mutt 1.4.2.1; input of Unicode characters
2543           in hexadecimal suggested by Michael Piefel)
2544         - More steps toward wide character/multibyte character support.
2545           New functions control_rep(), parse_char(), move_left(), and
2546           move_right(); changes to do_left(), do_right(), do_delete(),
2547           breakable(), break_line(), do_output(), get_buffer(),
2548           unget_input(), actual_x(), strnlenpt(), display_string(),
2549           titlebar(), statusbar(), onekey(), edit_add(),
2550           do_replace_highlight(), and do_credits(). (David Benbennick
2551           and DLR)
2552         - Overhaul the high-level input routines for the statusbar to
2553           make them read the shortcut lists for functions instead of
2554           manually running them, to make nanogetstr() less complex, and
2555           to increase flexibility.  Note that currshortcut is now used
2556           regardless of #ifdefs, and that cutting text at the statusbar
2557           now respects the CUT_TO_END flag.  Changes to shortcut_init()
2558           and nanogetstr(); new functions do_statusbar_input(),
2559           do_statusbar_mouse(), do_statusbar_home(), do_statusbar_end(),
2560           do_statusbar_right(), do_statusbar_left(),
2561           do_statusbar_backspace(), do_statusbar_delete(),
2562           do_statusbar_cut_text(), and do_statusbar_output(). (DLR)
2563         - Even more steps toward wide character/multibyte character
2564           support.  Movement and cursor display at the statusbar prompt
2565           should now (mostly) work properly with a string containing
2566           multibyte characters, and text display of such strings should
2567           now (mostly) work properly as well.  Changes to search_init(),
2568           nanoget_repaint(), do_statusbar_right(), do_statusbar_left(),
2569           do_statusbar_backspace(), and do_statusbar_delete(). (David
2570           Benbennick and DLR)
2571         - Implement cutting from the current position to the end of the
2572           file, using Ctrl-X from the search prompt and Meta-T from the
2573           edit window.  New function do_cut_till_end().  Note that this
2574           is disabled when NANO_SMALL is defined. (DLR, based on ideas
2575           from a patch for Pico by Eduardo Chappa, suggested by Ryan
2576           Dlugosz and Paul Adams)
2577         - Implement verbatim input for the statusbar prompt.  Changes to
2578           do_statusbar_input() and do_statusbar_output(); new functions
2579           keys_to_buffer(), unparse_kbinput(), and
2580           do_statusbar_verbatim_input(). (DLR)
2581         - Yet more steps toward full wide character/multibyte character
2582           support.  Overhaul the functions that already have support for
2583           them to work with multibyte strings as much as possible, add
2584           support to a few more functions as well, and move multibyte
2585           character-specific functions to their own source file.  New
2586           file chars.c; new functions is_alnum_char(),
2587           is_alnum_mbchar(), is_alnum_wchar(), is_blank_mbchar(),
2588           is_blank_wchar(), is_cntrl_mbchar(), is_cntrl_wchar(),
2589           control_mbrep(), control_wrep(), mbwidth(), mb_cur_max(),
2590           make_mbchar(), mbstrlen(), mbstrnlen(), mbstrcasecmp(),
2591           mbstrncasecmp(), mbstrcasestr(), and mbrevstrcasestr();
2592           changes to help_init(), do_wrap(), break_line(), is_byte()
2593           (moved to chars.c), is_blank_char() (moved to chars.c),
2594           is_cntrl_char() (moved to chars.c), nstricmp() (renamed
2595           nstrcasecmp() and moved to chars.c), nstrnicmp() (renamed
2596           nstrncasecmp() and moved to chars.c), nstristr() (renamed
2597           nstrcasestr() and moved to chars.c), revstrstr() (moved to
2598           chars.c), revstristr() (renamed revstrcasestr() and moved to
2599           chars.c), nstrnlen() (moved to chars.c), parse_char() (renamed
2600           parse_mbchar() and moved to chars.c), move_left() (renamed
2601           move_mbleft() and moved to chars.c), move_right() (renamed
2602           move_mbright() and moved to chars.c), do_home(),
2603           do_verbatim_input(), do_delete(), do_tab(), do_enter(),
2604           indent_length(), do_next_word(), do_prev_word(), do_wrap(),
2605           do_input(), do_output(), is_whole_word(), strstrwrapper(),
2606           get_buffer(), unget_input(), unget_kbinput(), get_input(),
2607           parse_kbinput(), unparse_kbinput(), parse_verbatim_kbinput(),
2608           do_statusbar_input(), do_statusbar_home(),
2609           do_statusbar_verbatim_kbinput(), do_statusbar_output(),
2610           do_help(), help_line_len(), and display_string(); removal of
2611           buffer_to_keys() and keys_to_buffer(). (DLR)
2612         - Add -O/--morespace command line option, plus a corresponding
2613           Meta-O toggle and a "morespace" rcfile option.  When these are
2614           used, the normally-unused blank line below the titlebar will
2615           be treated as part of the edit window.  New functions
2616           no_more_space() and blank_topbar(); changes to global_init(),
2617           window_init(), handle_sigwinch(), do_toggle(), do_mouse(),
2618           get_mouseinput(), etc. (DLR; suggested by Mike Frysinger,
2619           Rocco, and Robert Schultz)
2620         - Add support for moving to the next or previous word at the
2621           statusbar prompt.  New functions do_statusbar_next_word() and
2622           do_statusbar_prev_word(); changes to do_statusbar_input().
2623           (DLR)
2624         - Make resizing more flexible.  We now can work with as few as
2625           one row, and with no limit on the number of columns (except of
2626           course the curses-imposed limit that it be greater than zero).
2627           New function resize_variables(); changes to die_too_small()
2628           (renamed check_die_too_small()), global_init(), window_init(),
2629           and handle_sigwinch(). (David Benbennick)
2630         - Use void instead of RETSIGTYPE, as signal handlers are
2631           supposed to return void anyway.  Also, the value of RETSIGTYPE
2632           is sometimes misdetected as int, leading to compilation
2633           warnings or errors.  Changes to cancel_fork(),
2634           handle_hupterm(), do_suspend(), and do_cont(). (David
2635           Benbennick)
2636         - Change flags to an unsigned long, and totsize to a size_t.
2637           (DLR)
2638         - Store the number of multibyte characters instead of the number
2639           of single-byte characters in totsize, and use get_totals() to
2640           get the value of totsize in a few more places.  Changes to
2641           read_line(), read_file(), do_delete(), do_input(),
2642           get_totals(), and do_cursorpos(). (DLR)
2643         - Overhaul the tab completion code, the file browser code, and
2644           related functions to increase efficiency and support multibyte
2645           characters.  New function is_dir(); changes to
2646           get_full_path(), check_writable_directory(), safe_tempnam(),
2647           diralphasort(), username_tab_completion(),
2648           cwd_tab_completion(), input_tab(), tail(), striponedir(),
2649           browser_init(), do_browser(), and do_browse_from(); removal of
2650           append_slash_if_dir(), readable_dir(), and
2651           check_wildcard_match(). (David Benbennick)  DLR: Move the
2652           routine to get the current user's home directory into the new
2653           function get_homedir(), and use it where necessary.  Also add
2654           a few miscellaneous tweaks.
2655         - Overhaul the rcfile parsing code to make it simpler and more
2656           accurate, remove now-redundant checks from the color code,
2657           change the COLOR_SYNTAX toggle to the NO_COLOR_SYMTAX toggle,
2658           and improve various debugging messsages.  Changes to
2659           set_colorpairs(), do_colorinit(), parse_next_word(),
2660           parse_argument(), colortoint(), parse_next_regex(),
2661           parse_syntax(), parse_colors(), parse_rcfile(), do_rcfile(),
2662           etc. (David Benbennick)  DLR: Rename colortoint() to
2663           color_to_int(), and add a few miscellaneous tweaks.
2664         - Overhaul the paragraph-searching code to make it use the
2665           paragraph-searching utility functions when possible instead of
2666           duplicating code.  Also overhaul the justify code to make it
2667           leave the right number of spaces at the ends of the lines of a
2668           paragraph, to make it support multibyte characters, and to
2669           make it simpler.  Also, don't remove a space after a duplicate
2670           character in punct anymore, as it doesn't really make us more
2671           compatible with Pico.  New functions mbstrchr(),
2672           do_para_begin_void(), and do_para_end_void(); changes to
2673           justify_format(), do_para_begin(), inpar(), do_para_end(),
2674           break_line(), do_para_search() (renamed find_paragraph()), and
2675           do_justify(); removal of breakable(). (DLR)
2676         - Still more steps toward full wide/multibyte character support.
2677           Make sure all rcfile arguments are valid multibyte strings,
2678           make whitespace display mode work with multibyte characters,
2679           and add a few related documentation updates.  New function
2680           make_mbstring(); changes to make_mbchar(), make_mbstring(),
2681           main(), parse_rcfile(), display_string(), and do_help(). (DLR)
2682 - cut.c:
2683   do_cut_text()
2684         - If keep_cutbuffer is FALSE, only blow away the text in the
2685           cutbuffer if the cutbuffer isn't empty. (DLR)
2686   do_uncut_text()
2687         - No longer duplicate Pico's adding an extra magicline to the
2688           file if uncutting leaves the cursor on the current one.  This
2689           behavior appears to be a bug, as inserting a file in the same
2690           manner doesn't add an extra magicline. (DLR)
2691 - files.c:
2692   get_full_path()
2693         - Remove unneeded NANO_SMALL #ifdef, so that it's included
2694           whenever its prototype is, and so it can compile when
2695           DISABLE_OPERATINGDIR isn't defined and NANO_SMALL is. (DLR)
2696   do_browser()
2697         - Refresh the screen when Ctrl-L is pressed in the file browser,
2698           as Pico does. (DLR)
2699 - global.c:
2700   shortcut_init()
2701         - Fix misplaced #endif keeping the "Full Justify" shortcut in
2702           the search shortcut list from being included when NANO_SMALL
2703           is defined but DISABLE_JUSTIFY isn't. (DLR)
2704         - Use NULL instead of 0 when a shortcut has no associated
2705           function. (DLR)
2706   thanks_for_all_the_fish()
2707         - Free the justify buffer if it isn't empty. (DLR)
2708 - nano.c:
2709   help_init()
2710         - Clarify the text describing double-escape character input.
2711           Since ASCII is technically only seven bits wide, characters
2712           128-255 aren't ASCII. (DLR, suggested by Michael Piefel)
2713   do_toggle()
2714         - When we get the whitespace display toggle, update the titlebar
2715           as well as the edit window, in case the filename displayed on
2716           the titlebar contains spaces or tabs. (DLR)
2717   handle_sigwinch()
2718         - If the justify buffer isn't empty, blow it away and don't
2719           display "UnJustify" in the shortcut list anymore. (DLR)
2720   usage()
2721         - Typo fix. (DLR)
2722   do_wrap()
2723         - Make wrap_loc and word_back ssize_t's, to match fill. (DLR)
2724   break_line()
2725         - Fix compilation problem caused by its returning int when it
2726           should return ssize_t according to its prototype. (Jeremy
2727           Huddleston)
2728   indent_length()
2729         - Make the #ifdef around it match that of its prototype to avoid
2730           compilation problems when compiling with --enable-tiny and
2731           without DISABLE_JUSTIFY's being defined. (DLR)
2732   do_justify()
2733         - For consistency, preserve placewewant if we didn't unjustify
2734           instead of setting it to 0. (DLR)
2735         - When justifying the entire file, properly break out of the
2736           loop if we've found at least one paragraph, there are no more
2737           paragraphs after the current one, and the paragraph search
2738           left us on the magicline.  This avoids a segfault. (DLR)
2739   do_input()
2740         - Add finished parameter, used to indicate when we run or try to
2741           run a function associated with a shortcut. (DLR)
2742   main()
2743         - Try to automatically detect whether UTF-8 support is needed by
2744           setting the NO_UTF8 flag if setlocale() returns a string that
2745           doesn't contain "UTF8" or "UTF-8", case insensitively.  When
2746           using slang 2.x, enable UTF-8 support with SLutf8_enable().
2747           (DLR, string checks beyond case-sensitive "UTF-8" adapted from
2748           Debian's UTF-8 patch for slang)
2749 - nano.h:
2750         - Remove now-unneeded #defines for functions that now have
2751           multibyte equivalents. (DLR)
2752         - Remove now-unneeded MIN_EDITOR_COLS. (David Benbennick)
2753 - utils.c:
2754   regexec_safe()
2755         - Remove redundant regexec #define, and move the regexec #undef
2756           to nano.h. (DLR)
2757   is_blank_char()
2758         - Rewrite to use ctype functions instead of checking directly
2759           for spaces and tabs. (DLR)
2760   revstrstr(), revstristr()
2761         - Add asserts. (DLR)
2762 - winio.c:
2763   get_buffer()
2764         - If we get ERR when using blocking input, it means that the
2765           input source that we were using is gone.  In this case, call
2766           handle_hupterm(), so that nano dies gracefully instead of
2767           going into an infinite loop. (DLR, found by Jim Uhl)
2768   titlebar()
2769         - Rename some variables for consistency, make space an int
2770           instead of a size_t, properly handle the case where the prefix
2771           length plus the path length is greater than the amount of
2772           space available, and fix a typo in an assert. (DLR)
2773   unget_kbinput()
2774         - Remove the wide character handling, as it didn't work properly
2775           with respect to function keys. (DLR)
2776   get_kbinput(), get_translated_kbinput(), get_ascii_kbinput(),
2777   get_untranslated_kbinput()
2778         - Make the ascii_digits variables ints instead of size_t's,
2779           since they will only hold very small values. (DLR)
2780   get_kbinput()
2781         - Remove the wide character handling, as it didn't work properly
2782           with respect to adding multiple wide characters at once, and
2783           ungetting them just caused other problems elsewhere. (DLR)
2784   get_translated_kbinput()
2785         - Remove the wide character handling, as it didn't work properly
2786           with respect to adding multiple wide characters at once, and
2787           ungetting them just caused other problems elsewhere. (DLR)
2788         - Use if statements instead of switch/case statements to handle
2789           ASCII character sequence mode, as they take up less room.
2790   get_ascii_kbinput()
2791         - Use if statements instead of switch/case statements to handle
2792           ASCII character sequence mode, as they take up less room.
2793   get_verbatim_kbinput()
2794         - Don't pass v_kbinput in as a parameter, since we're
2795           dynamically allocating it and then returning it. (DLR)
2796         - Remove v_first parameter, and go back to the old behavior of
2797           putting back the first character of the escape sequence, as it
2798           worked just as well and was less complicated. (DLR)
2799   get_mouseinput()
2800         - Return TRUE instead of FALSE only when we have a control key,
2801           a prinary meta key sequence, or both. (DLR)
2802   get_shortcut()
2803         - Add a debug message. (DLR)
2804         - Take kbinput as a reference instead of a value, so that it's
2805           translated when the key is translated to its equivalent
2806           control key or meta key shortcut. (DLR)
2807         - Return s instead of NULL only when we have a control key, a
2808           prinary meta key sequence, or both. (DLR)
2809   get_toggle()
2810         - Add a debug message. (DLR)
2811   bottombars()
2812         - Initialize foo, in case a keystroke meets none of the handled
2813           cases. (DLR)
2814   total_refresh()
2815         - Refresh bottomwin using the value of currshortcut, and change
2816           the code around do_refresh() calls to accommodate this. (DLR)
2817         - Split out the code that updates the screen before refreshing
2818           it into the new function total_redraw().
2819   do_help()
2820         - Refresh the screen when Ctrl-L is pressed in the help browser,
2821           as Pico does. (DLR)
2822 - configure.ac:
2823         - Remove specific references to control key shortcuts. (DLR)
2824         - Check for the wide versions of ncurses or slang, without which
2825           multibyte strings don't seem to be displayed properly, and
2826           associated multibyte/wide character functions. (DLR)
2827         - Check for wchar.h, for those systems that need it for the
2828           wcwidth() prototype. (DLR)
2829         - Remove checks for all include files that we include
2830           unconditionally. (DLR)
2831         - Remove references to termio.h here and elsewhere, since it's
2832           obsolete and it defines a struct termio that we don't use
2833           anywhere. (DLR)
2834         - Typo fixes. (DLR)
2835         - Add checks for isascii(), iswalnum(), iswblank() or
2836           iswspace(), mblen(), and wctype.h. (DLR)
2837 - README:
2838         - Updated for the 1.3 branch. (DLR)
2839 - README.CVS:
2840         - Updated to mention the need for a wide character-supporting
2841           version of curses or slang if UTF-8 support is desired. (DLR)
2842 - doc/faq.html:
2843         - Remove now-inaccurate note about verbatim input's not working
2844           at prompts, and update its description to mention that it
2845           handles hexadecimal values now. (DLR)
2846         - Add question about opening files with names beginning with
2847           '+'s, and add a few more miscellaneous cosmetic fixes.
2848 - nanorc.sample:
2849         - Add return to the "c-file" regexes. (DLR)
2850         - Clarify the text describing good values for whitespace
2851           display.  Since ASCII is technically only seven bits wide,
2852           characters 128-255 aren't ASCII. (DLR, suggested by Michael
2853           Piefel)
2854         - Add the "morespace" option. (DLR)
2855         - Add support for characters to the "c-file" regexes. (DLR)
2856         - Add the hexadecimal equivalents of the decimal values
2857           suggested for whitespace display, now that it can handle
2858           multibyte characters. (DLR)
2859         - Add "manpage" regex. (Mike Frysinger, minor tweaks by DLR)
2860 - nano.1. nanorc.5, nano.texi:
2861         - Add the "morespace" option, and sync with the descriptions in
2862           nanorc.sample in a few places. (DLR)
2863         - Miscellaneous wording tweaks. (DLR)
2864 - src/Makefile.am:
2865         - Add chars.c to nano_SOURCES. (DLR)
2866         - If we're installing and the "rnano" symlink already exists,
2867           remove it so that we can create it again without an error.
2868           (DLR)
2869 - AUTHORS:
2870         - Updated to mention UTF-8 support.
2872 GNU nano 1.3.5 - 2004.11.22
2873 - General:
2874         - Convert more ints that hold only TRUE and FALSE values to
2875           bools. (DLR)
2876         - Consolidate the code for finding and running a shortcut in a
2877           shortcut list, the code for finding and toggling a toggle in a
2878           toggle list, and the code for doing both of those and
2879           interpreting mouse clicks in the edit window.  Also move the
2880           code for do_mouse() to get_edit_mouse() and tweak it to
2881           properly handle cases where a shortcut isn't clicked.  New
2882           functions get_shortcut(), get_toggle(), get_edit_input(), and
2883           get_edit_mouse(); changes to do_browser(), do_justify(),
2884           do_help(), and main(). (DLR)
2885         - Simplify a few more translated messages. (DLR)
2886         - Translation updates (see po/ChangeLog for details).
2887         - Remove reference to @includedir@ in src/Makefile.am, as it's
2888           unneeded and can break cross-compilation. (DLR, found by Mike
2889           Frysinger)
2890         - Overhaul the file opening, reading, and loading operations to
2891           increase efficiency, avoid problems on invalid filenames
2892           specified on the command line, and eliminate corner cases that
2893           erroneously leave edittop or current NULL when they shouldn't
2894           be.  Also split out the code to execute a command into a
2895           separate function, eliminate a workaround for one of the
2896           aforementioned corner cases, handle files with a mix of DOS
2897           and Mac format lines, and remove the code to turn on the
2898           NO_CONVERT flag when opening a binary file, as it's not always
2899           reliable and will cause problems with UTF-8 text files.  New
2900           functions open_file(), execute_command(), and mallocstrassn();
2901           changes to read_line(), load_file(), read_file(), open_file(),
2902           get_next_filename(), do_insertfile(), do_insertfile_void(),
2903           do_alt_speller(), and edit_refresh(). (David Benbennick)  DLR:
2904           Add a few minor fixes to make sure that current is set
2905           properly in all cases, indicate on the statusbar when the file
2906           has a mix of DOS and Mac format lines, move the test for DOS
2907           line endings from read_line() to read_file() to avoid
2908           inaccurate statusbar messages and to reduce fileformat to a
2909           local variable in read_file(), eliminate another workaround in
2910           edit_update(), rename open_the_file() to open_file() since the
2911           latter has been removed, and rename load_a_file() to
2912           load_buffer().
2913         - Add alternative shortcuts to the main and search shortcut
2914           lists for moving to the beginning and end of a paragraph and
2915           justifying the entire file: Meta-( (Meta-9), Meta-) (Meta-0),
2916           and Meta-J, respectively.  Do this because Pico's practice of
2917           putting these shortcuts only in the search shortcut list is
2918           rather odd. (DLR)
2919         - Turn off extended input processing (the IEXTEN termios flag)
2920           as nano 1.2.x does.  New function disable_extended_input();
2921           changes to terminal_init(). (DLR)
2922         - Remove redundant include of limits.h from nano.c.  nano.c
2923           includes nano.h and nano.h includes limits.h. (DLR)
2924         - Add a func_key flag to the low-level input functions and the
2925           currently existing high-level input functions, to indicate
2926           extended keypad values.  This is needed for UTF-8 support.
2927           Changes to unget_kbinput(), get_kbinput(),
2928           get_translated_kbinput(), get_shortcut(), get_edit_input(),
2929           etc. (DLR)
2930         - Add a multibuffer mode toggle to the "Execute Command" prompt,
2931           for consistency with the "Read File" prompt.  Changes to
2932           do_insertfile() and shortcut_init(). (DLR)
2933         - Add an ^X toggle to the "Execute Command" prompt to go back to
2934           the "Insert File" prompt, and add a ^T toggle to the "Go To
2935           Line" prompt to go back to the "Where Is" prompt.  Changes to
2936           do_insertfile(), shortcut_init(), do_gotoline(), etc.
2937         - Make sure a few uninitialized static variables are initialized
2938           to sane values. (DLR)
2939         - After reading in a file and detecting the format it's in, set
2940           the file format flags (DOS_FILE and MAC_FILE) to match, and
2941           preserve them across multiple file buffers.  Changes to
2942           read_file(), add_open_file(), and load_open_file(). (DLR,
2943           suggested by Bill Soudan)
2944         - Remove the -D/--dos and -M/--mac command line options, as they
2945           aren't much use with the new file format autodetection.  Also
2946           remove the global versions of the toggles, so that they can
2947           only be used at the "Write File" prompt as similar options
2948           can.  Finally, change the Mac format toggle to Meta-M, since
2949           that no longer conflicts with the global -m/--mouse toggle.
2950           (DLR)
2951         - Add support for reading in UTF-8 sequences to the low-level
2952           input routines.  Changes to get_kbinput() and
2953           get_translated_kbinput(). (DLR)
2954         - Reduce search_last_line to a static variable in search.c, and
2955           allow it to be set to FALSE via a function.  New function
2956           findnextstr_wrap_reset(); changes to do_int_spell_fix(),
2957           findnextstr(), do_search(), do_research(), do_replace_loop(),
2958           do_replace(), and do_find_bracket(). (DLR, problem with making
2959           search_last_line local to findnextstr() found by Rocco)
2960         - When saving or changing file positions, be sure not to ignore
2961           placewewant.  Changes to do_int_spell_fix(), findnextstr(),
2962           do_replace_loop(), and do_replace(). (DLR)
2963         - Convert current_x and mark_beginx to size_t's, and convert
2964           some functions that use them as a parameter to use size_t as
2965           well.  Also change some related assertions to handle them.
2966           (David Benbennick and DLR)
2967         - Add code to partition a filestruct between a set of arbitrary
2968           coordinates.  Given the coordinates of the beginning and end
2969           of the mark, this allows proper and easier handling of saving
2970           marked selections, replacing text only in marked selections
2971           (suggested by Joseph Birthisel), and spell-checking marked
2972           selections using either the internal or alternate spell
2973           checker.  Do all these using a global partition structure.
2974           New functions partition_filestruct(),
2975           unpartition_filestruct(), remove_magicline(), and
2976           get_totals(); changes to write_marked(), do_int_spell_fix(),
2977           do_alt_speller(), handle_sigwinch(), and do_replace_loop().
2978           (DLR)
2979         - Remove most redundant includes of sys/stat.h.  It's included
2980           in nano.h, so it doesn't need to be included in files that
2981           include nano.h. (DLR)
2982         - Remove the DOS_FILE and MAC_FILE flags, as they're only used
2983           in files.c, and replace them with a static file_format enum.
2984           Change the openfilestruct structure accordingly in order to
2985           handle this. (DLR)
2986         - Convert some ints with predefined boundaries to enums. (DLR)
2987         - Include config.h only if HAVE_CONFIG_H. (Jordi)
2988 - cut.c:
2989   cut_marked_segment()
2990         - Respect concatenate_cut, as we need to use it if we do a
2991           marked cut and immediately follow it with a cut-to-end (which
2992           uses this function). (DLR)
2993   do_cut_text()
2994         - Set concatenate_cut to TRUE unconditionally when doing a
2995           marked cut.  This fixes an incompatibility with Pico where an
2996           extra line is uncut if we do a marked cut that includes the
2997           magicline and immediately follow it with an unmarked cut.
2998           (DLR)
2999   do_uncut_text()
3000         - Maintain current_y's value when uncutting blocks so that
3001           smooth scrolling works correctly. (DLR)
3002 - files.c:
3003   read_file()
3004         - Rename variable fileformat to format, to avoid confusion with
3005           the file_format enum type. (DLR)
3006   load_buffer()
3007         - Don't change the file format when we insert another file into
3008           the current one. (DLR)
3009   do_insertfile()
3010         - Simplify by reusing variables whereever possible, and add a
3011           parameter execute to indicate whether or not to be in "Execute
3012           Command" mode. (DLR)
3013         - Rework so that goto is no longer needed, using do_writeout()
3014           as a model. (DLR)
3015         - If file browsing succeeds, call statusq_abort() so that the
3016           cursor position at the statusbar is reset. (DLR)
3017         - Add missing #ifdefs around the wrap_reset() call so that nano
3018           compiles with wrapping disabled again. (DLR)
3019         - If we're not inserting a file into a new buffer, partition the
3020           current buffer so that it's effectively a new buffer just
3021           before inserting the file, and only restore placewewant
3022           afterwards.  This is the same behavior we would get if we
3023           opened the file, added all of it to the cutbuffer, closed the
3024           file, and uncut at the current cursor position. (DLR)
3025         - Maintain current_y's value when inserting so that smooth
3026           scrolling works correctly. (DLR)
3027   do_writeout()
3028         - Restructure if blocks for greater efficiency, using
3029           do_insertfile() as a model. (DLR)
3030         - Simplify where possible, and use an int retval to hold the
3031           return value instead of i. (DLR)
3032         - If file browsing succeeds, call statusq_abort() so that the
3033           cursor position at the statusbar is reset. (DLR)
3034         - Remove unneeded calls to display_main_list(). (DLR)
3035   do_writeout_void()
3036         - Call display_main_list(), for consistency with
3037           do_insertfile_void(). (DLR)
3038   write_file()
3039         - If we've tried to write to an unwritable file and we're not
3040           prepending, tempname is NULL when it's passed to unlink().
3041           This can cause problems if unlink() can't handle NULL, so
3042           don't call it in that case. (David Benbennick)
3043   write_marked()
3044         - Remove check for MARK_ISSET's not being set. (DLR)
3045   open_prevfile(), open_nextfile()
3046         - Translate the "New Buffer" string when displaying "Switched
3047           to" messages on the statusbar. (DLR)
3048   input_tab()
3049         - Fix snprintf() call so that we don't segfault when trying to
3050           complete a filename containing %'s. (Ulf Härnhammar)
3051 - global.c:
3052   shortcut_init()
3053         - Remove redundant NANO_SMALL #ifdef. (DLR)
3054         - Change an erroneous _() around the "New Buffer" string to
3055           N_(). (DLR)
3056         - Add new key aliases: F15 for "Mark Text" (DLR) and F16 for
3057           "Where Is Next" (Chris).
3058         - Leave "Mark Text" and "Where Is Next" out entirely when
3059           NANO_SMALL is defined.  Since they aren't in the visible main
3060           list, there's no point in having them in but disabled. (DLR)
3061         - In the search prompt shortcut list, move "Full Justify" to
3062           after "History", so that the latter is visible onscreen
3063           again. (DLR)
3064 - nano.c:
3065   die_save_file()
3066         - Clarify the error message when there are too many backup files
3067           and the current one can't be written. (DLR)
3068   help_init()
3069         - Rework to be a bit more flexible.  Only add tabs for shortcut
3070           key entries if those entries exist, and if there's only one
3071           entry left but there's room for more than one, add enough tabs
3072           to put that entry at the end.  Also, make sure a function key
3073           is displayed in the middle if it's the first entry.  These
3074           changes allow e.g. the miscellaneous meta key sequence to be
3075           displayed in a shortcut that has a control key, a primary meta
3076           key sequence, and a miscellaneous meta key sequence, but no
3077           function key. (DLR)
3078         - Update the help text to mention replacing and spell checking
3079           only selected text, and also add a few cosmetic fixes to it.
3080           (DLR)
3081         - Update the help text to mention how to get a blank buffer at
3082           the "Execute Command" prompt. (DLR)
3083   do_prev_word()
3084         - Tweak to avoid an infinite loop, since current_x is now a
3085           size_t and hence is unsigned. (DLR)
3086   do_int_spell_fix()
3087         - Move the REVERSE_SEARCH flag toggling into the NANO_SMALL
3088           #ifdef, since the tiny version of nano doesn't support reverse
3089           searching.  Move the CASE_SENSITIVE flag toggling out in order
3090           to allow the internal spell checker to work properly when
3091           NANO_SMALL is defined and DISABLE_SPELLER isn't.  Also, turn
3092           the USE_REGEXP flag off during spell checking in order to
3093           avoid a potential segfault. (DLR)
3094         - Fix a problem where if the cursor is in the middle of a file,
3095           the spell checker will sometimes only correct the misspelled
3096           word instances that appear before the cursor position and then
3097           stop. (Rocco)
3098         - Use do_replace_loop()'s canceled parameter in order to ensure
3099           that the spell checking stops if we canceled at the replace
3100           prompt. (DLR)
3101   do_alt_speller()
3102         - Call terminal_init() unconditionally after running the
3103           alternate spell checker, so that the terminal state is
3104           properly restored in all cases. (DLR)
3105   justify_format()
3106         - For more compatibility with Pico, remove extra space after a
3107           character in punct if that character is the same as the one
3108           before it.  For example, with the default values of punct and
3109           brackets, only one space will be left after "...". (DLR)
3110   do_para_begin(), do_para_end()
3111         - Maintain current_y's value when moving up or down lines so
3112           that smooth scrolling works correctly. (DLR)
3113   breakable(), break_line()
3114         - Make goal a ssize_t instead of an int, since fill is now a
3115           ssize_t, and the position at which a line is broken can be
3116           greater than COLS. (DLR)
3117   main()
3118         - Tweak the command line parsing routine so that multiple +LINE
3119           flags are properly interpreted in multibuffer mode. (DLR)
3120 - nano.h:
3121         - Add WIDTH_OF_TAB #define, containing the default width of a
3122           tab. (DLR)
3123         - Move the PATH_MAX #define here from files.c.
3124         - Remove unused COPYFILEBLOCKSIZE #define. (DLR)
3125 - proto.h:
3126         - Add missing NANO_SMALL #ifdef around the cut_marked_segment()
3127           prototype. (DLR)
3128 - rcfile.c:
3129   parse_rcfile()
3130         - Add missing brackets around an if statement block so that
3131           parsing the numeric argument after "tabsize" works properly
3132           again. (DLR, found by Mike Frysinger)
3133         - Since flag values are longs, use "%ld" instead of "%d" in the
3134           debugging messages indicating when a flag is set or unset.
3135           (DLR)
3136 - search.c:
3137   regexp_init()
3138         - If NANO_SMALL is defined, don't bother checking the
3139           CASE_SENSITIVE flag or using its value when compiling a list
3140           of matching regular expressions. (DLR)
3141   search_init()
3142         - Add parameter use_answer.  When it's TRUE, only set
3143           backupstring to answer.  This is needed to preserve the text
3144           of the statusbar when switching to the search prompt from
3145           the "Go To Line" prompt.  Also, set backupstring before doing
3146           anything else, add one minor efficiency tweak, and preserve
3147           the text of the statusbar no matter what when switching from
3148           the search prompt to the "Go To Line" prompt, since the
3149           toggling works both ways now and non-numeric text shouldn't be
3150           lost when going only one of those ways. (DLR)
3151         - When we're replacing and the mark is on, display a prompt
3152           indicating that we're replacing text only in the selection
3153           instead of the usual prompt. (DLR)
3154   findnextstr()
3155         - Take the no_sameline parameter after can_display_wrap and
3156           wholewords, not after all other parameters. (DLR)
3157         - Maintain current_y's value when moving up or down lines so
3158           that smooth scrolling works correctly. (DLR)
3159         - Fix handling of the wholewords flag so that it works with
3160           regular expressions and in conjunction with the no_sameline
3161           flag, and add new parameter needle_len (used to return the
3162           length of the match). (DLR)
3163   do_replace_loop()
3164         - Miscellaneous cleanups: treat real_current as current and
3165           real_current_x as current_x, only turn the mark off and call
3166           edit_refresh() if the mark was originally on, and make
3167           length_change a ssize_t. (DLR)
3168         - Return ssize_t instead of int. (DLR)
3169         - Add new parameter canceled, set to TRUE if we canceled at the
3170           prompt and FALSE otherwise. (DLR)
3171 - utils.c:
3172   regexp_bol_or_eol()
3173         - Don't assume any longer that string will be found if
3174           REG_NOTBOL and REG_NOTEOL are not set. (DLR)
3175   mallocstrncpy()
3176         - New function, used as a malloc()ing equivalent of strncpy().
3177           (DLR)
3178   mallocstrcpy()
3179         - Refactor to be a wrapper for mallocstrncpy(). (DLR)
3180   mark_order()
3181         - Add new parameter right_side_up.  Set it to TRUE If the mark
3182           begins with (mark_beginbuf, mark_beginx) and ends with
3183           (current, current_x), or FALSE otherwise. (DLR)
3184 - winio.c:
3185   unget_kbinput()
3186         - New function used as a wrapper for ungetch(). (DLR)
3187   get_kbinput()
3188         - When reading an escape sequence, set get_verbatim_kbinput()'s
3189           new first parameter to the first character of the sequence
3190           instead of putting that character back and reading the entire
3191           sequence afterwards. (DLR)
3192   get_escape_seq_kbinput()
3193         - Make the escape_seq parameter a const int*, since it's never
3194           modified. (DLR)
3195         - Support the escape sequences for F15 and F16. (DLR)
3196   get_verbatim_kbinput()
3197         - Add new parameter first.  If first isn't ERR, make it the
3198           first character in the returned sequence instead of reading
3199           the first character in via blocking input. (DLR)
3200   get_mouseinput()
3201         - Consolidate two if statements to increase efficiency. (DLR)
3202         - Check kbinput against metaval instead of (erroneously) ctrlval
3203           when putting back a meta sequence. (DLR)
3204         - If there are more than MAIN_VISIBLE shortcuts available, only
3205           register clicks on the first MAIN_VISIBLE shortcuts, since
3206           bottombars() only shows that many shortcuts. (DLR)
3207   check_statblank()
3208         - Rename to check_statusblank(), and rename its associated
3209           global int statusblank too. (DLR)
3210   nanogetstr()
3211         - Refresh the screen when Ctrl-L is pressed at the statusbar
3212           prompt, as Pico does. (DLR)
3213         - Always return the key pressed by the user. (DLR)
3214   statusq()
3215         - Rework slightly to reset the cursor position when the user
3216           hits Enter as well as Cancel.  This means that resetstatuspos
3217           no longer needs to be global. (DLR)
3218   statusq_abort()
3219         - New function to set resetstatuspos to FALSE when we don't
3220           properly exit the statusbar prompt, e.g. when we get a file
3221           from the file browser). (DLR)
3222   bottombars()
3223         - For efficiency, no longer dynamically allocate space for each
3224           visible shortcut, as they're all of a constant short length.
3225           (David Benbennick)
3226   reset_cursor()
3227         - If this is called before any files have been opened, as it can
3228           be by statusbar(), put the cursor at the top left corner of
3229           the edit window before getting out. (DLR)
3230   edit_refresh()
3231         - Call edit_update() with NONE instead of CENTER when smooth
3232           scrolling is on, for consistency with the movement routines.
3233           (DLR)
3234   edit_update()
3235         - Simplify so as not to require the fileptr parameter anymore,
3236           since it's set to current in all calls. (DLR)
3237         - Add comments better explaining what the update actually does,
3238           and avoid an infinite loop when location is NONE and current_y
3239           is greater than (editwinrows - 1). (DLR)
3240   do_yesno()
3241         - Don't bother assigning the value of get_mouseinput() to
3242           anything.  Since allow_shortcuts is FALSE, its return value
3243           will always be FALSE. (DLR)
3244 - configure.ac:
3245         - When calling AC_TRY_RUN() to test for a broken regexec()
3246           function, set the fourth parameter to default to "no" (since
3247           it apparently only occurs on glibc 2.2.3-based systems) so
3248           that cross-compiling will work. (DLR, found by Mike Frysinger)
3249         - Simplify the curses library tests by only checking for
3250           initscr(), which ncurses, curses, and pdcurses should all
3251           have, and not tgetent(), which is a termcap-specific function.
3252           (DLR)
3253         - Check only for glib 2.x, as it's much more common than
3254           glib 1.2.x now, and it has a better v?snprintf()
3255           implementation. (DLR, suggested by Jordi)
3256 - nanorc.sample:
3257         - Remove specific references to control key shortcuts other than
3258           XON and XOFF. (DLR)
3259         - Add continue and goto to the "c-file" regexes. (DLR)
3260         - Change the included speller value to "aspell -x -c".  The -x
3261           option makes aspell not create backup files, and this is
3262           consistent with the internal spell checker's behavior. (DLR)
3263 - doc/man/fr/nano.1, doc/man/fr/nanorc.1:
3264         - Updated manpage translations by Jean-Philippe GuĂ©rard.
3265 - README.CVS:
3266         - Mention the requirement for glib 2.x on systems lacking
3267           v?snprintf(), and add minor formatting changes.
3268         - Mention the requirement for groff in order to create html
3269           versions of the manpages. (DLR)
3270         - Update the given cvs commands so that they work again, and
3271           mention the need for ssh to do cvs checkouts. (DLR)
3272         - List sh as an example of a Bourne shell. (DLR)
3273 - faq.html:
3274         - Fixed inaccuracy: Pico compatibility mode was made the default
3275           in nano 1.1.99pre1, not 1.2.2. (DLR)
3276         - Added question about how to type F13-F16 on terminals lacking
3277           keys past F12 (suggested by Chris), question about how to
3278           select text for the clipboard in X terminals with nano's mouse
3279           support turned on (answer found by Joseph Birthisel), and
3280           miscellaneous fixes and link updates. (DLR)
3281 - nano.1:
3282         - Eliminate references to the now removed -D/--dos and -M/--mac
3283           command line options. (DLR)
3284 - nano.texi:
3285         - Eliminate references to the now removed -D/--dos and -M/--mac
3286           command line options, and their corresponding toggles. (DLR)
3287 - m4/Makefile.am:
3288         - Add glib-2.0.m4 to EXTRA_DIST, so that nano builds from CVS
3289           with automake 1.7.x again.  For some reason, automake 1.9.x
3290           didn't have a problem with its (erroneously) being left out.
3291           (DLR, problem found by Chris)
3292 - m4/glib-2.0.m4:
3293         - New file imported from glib 2.4.7.  This is needed to detect
3294           glib 2.x on systems that may not have it installed. (DLR,
3295           suggested by Jordi)
3296 - src/Makefile.am:
3297         - Don't use DEFS to define things.  Use INCLUDES instead.
3298           (Jordi)
3300 GNU nano 1.3.4 - 2004.08.17
3301 - General:
3302         - More minor comment cleanups. (DLR)
3303         - Convert more ints and functions using 0 and 1 to bools using
3304           TRUE and FALSE. (David Benbennick and DLR)
3305         - Change more instances of ints that have large enough upper
3306           bounds and which can never be negative to size_t's, and
3307           convert nano to handle them properly. (DLR)
3308         - Convert the shortcut list functions and most related functions
3309           to return void instead of int, as the return values of all
3310           those functions are essentially unused.  Changes to
3311           sc_init_one(), shortcut_init(), etc. (David Benbennick and
3312           DLR)
3313         - Make flags and all variables meant to store the value of flags
3314           longs for consistency. (David Benbennick)
3315         - Rename the TEMP_OPT flags to TEMP_FILE, as it's more
3316           descriptive. (DLR)
3317         - Remove unused global variable search_offscreen. (David
3318           Benbennick)
3319         - Add new N_() macro to mark strings that aren't translated
3320           immediately, and convert nano to use it in cases where the
3321           translated string is stored in a const char*.  Changes
3322           to sc_init_one(), print1opt(), help_init(), rcfile_error(),
3323           do_credits(), etc. (David Benbennick)  DLR: Do this for
3324           toggle_init_one() too.
3325         - Minor tweaks and clarifications to some option descriptions.
3326           (DLR)
3327         - Overhaul the shortcut list and toggle list initialization
3328           code for efficiency.  Changes to shortcut_init() and
3329           toggle_init(). (David Benbennick)  DLR: Move "Cancel" to just
3330           after "Get Help" in the file browser list, for consistency
3331           with all the other lists, have the replace list accept all the
3332           same function keys as the search list, and clarify a few
3333           shortcut descriptions.
3334         - Convert nano to use the new parse_num() function to read in
3335           numeric values at the command line and in the rcfile, and
3336           duplicate the messages used in the rcfile in the command line
3337           for consistency. (David Benbennick)  DLR: Tweak parse_num() to
3338           parse ssize_t values instead of ints and to return a bool
3339           indicating whether parsing succeeded.  Convert tabsize,
3340           wrap_at, and fill to ssize_t in order to work with
3341           parse_num() properly and also to increase their capacity
3342           while keeping the ability to hold negative numbers in case of
3343           errors.  Also exit instead of calling usage() in the event of
3344           an invalid fill value, for consistency with how an invalid
3345           tabsize value is handled.  Finally, handle invalid tabsize
3346           entries in the rcfile the same way as on the command line,
3347           and reset tabsize and wrap_at to their default values if
3348           invalid rcfile entries are specified for them.
3349         - Remove several unnecessary reset_cursor() calls. (David
3350           Benbennick)
3351         - Include <sys/types.h> in proto.h. (David Benbennick)  DLR:
3352           Remove some redundant inclusions of <sys/types.h> elsewhere.
3353         - Move the main terminal initialization functions, aside from
3354           initscr(), into a new terminal_init() function, and convert
3355           nano to use it. (DLR)
3356         - Convert placewewant to a size_t, and convert some functions
3357           that use it as a parameter to use size_t as well. (David
3358           Benbennick and DLR)
3359         - Overhaul the paragraph searching code and some of the justify
3360           code to clarify it and fix a bug where searches from the
3361           previous paragraph would move up too far.  Also make
3362           quotestr-related variables global so that they only have to be
3363           compiled once, and remove the no-longer-needed IFREG() macro.
3364           New functions begpar() and inpar(); changes to quote_length(),
3365           quotes_match(), do_para_search(), do_para_begin(),
3366           do_para_end(), and do_justify(). (David Benbennick)
3367         - Readded the errors flag and moved the ending prompt from
3368           rcfile_error() to parse_rcfile() so that we only get prompted
3369           once for all errors instead of separately for each error.
3370           (DLR)  David Benbennick: Make sure that no rcfile error
3371           messages end in newlines, and show the ending prompt if we
3372           can't read the .nano_history file while starting nano.
3373         - Don't treat the return value of strn?(case)?cmp() as boolean.
3374           (DLR and David Benbennick)
3375         - Automatically install a symlink "rnano" pointing to nano.
3376           Changes to src/Marefile.am. (DLR)
3377         - Move the static int pid to the beginning of nano.c with all
3378           the other static variables. (DLR)
3379         - Consolidate some if blocks to remove some redundant code.
3380           (David Benbennick)
3381         - Fix warnings when compiling with ENABLE_NLS undefined and with
3382           the fwritable-strings option. (David Benbennick)
3383         - Add various #ifdefs to fix warnings and compilation problems
3384           when compiling with every option manually turned on, including
3385           NANO_SMALL. (David Benbennick)
3386         - Simplify some of the rcfile and statusbar error messages, and
3387           make some of them more consistent. (David Benbennick and DLR)
3388         - Change some functions to take const char*'s instead of char*'s
3389           where possible. (David Benbennick)
3390         - Tweak some #ifdefs around indent_length() and references to
3391           fill_flag_used to avoid warnings when compiling with
3392           --disable-wrapping, --disable-justify, or a combination of the
3393           two. (DLR)
3394         - Overhaul the routines used to read the rcfiles and history
3395           files for efficiency, make them work properly on lines over
3396           1023 characters long and on lines containing nulls, and make
3397           them properly handle the case where the user's home directory
3398           changes in the middle of a session.  New functions
3399           histfilename() and writehist(); changes to
3400           thanks_for_all_the_fish(), load_history(), save_history(), and
3401           do_rcfile(). (David Benbennick)
3402 - files.c:
3403   get_next_filename()
3404         - Tweak for efficiency, and add the ".save" suffix to the file
3405           here. (David Benbennick)
3406   close_open_file()
3407         - Tweak to no longer rely on the return values of
3408           open_(prev|next)file(). (DLR)
3409   write_file()
3410         - For consistency with nano 1.2.x and with other editors, make
3411           the mode of newly created files 666 instead of 600 before
3412           it's modified by the umask. (DLR, found by Toni Suokas)
3413   do_writeout()
3414         - If we're in restricted mode and the current filename isn't
3415           blank, we can't change it, so disable tab completion in that
3416           case. (DLR)
3417         - Fix spacing problem in the "Save Under Different Name"
3418           prompt. (DLR)
3419 - global.c:
3420   shortcut_init()
3421         - Fix erroneous #ifdef so that nano compiles with
3422           --disable-justify again. (DLR, found by Mike Frysinger)
3423         - Change the Cancel shortcut in the file browser to an Exit
3424           shortcut, to be more compatible with the current version of
3425           Pico. (DLR)
3426   thanks_for_all_the_fish()
3427         - Delete topwin, edit, and bottomwin. (David Benbennick)
3428 - nano.c:
3429   die()
3430         - Don't add the ".save" suffix to a saved file here anymore,
3431           since get_next_filename() does that now. (David Benbennick)
3432   die_save_file()
3433         - Tweak for efficiency. (David Benbennick)
3434   help_init()
3435         - Fix the display of the translated key descriptions "Up" and
3436           "Space" under all circumstances, and make the help browser
3437           work properly when there are fewer than 24 columns available.
3438           (David Benbennick)
3439   usage()
3440         - Don't translate the option strings for -Z/--restricted.
3441           (David Benbennick)
3442   do_enter()
3443         - Don't treat it as a special case when the user presses Enter
3444           on the last line of the screen and smooth scrolling is on, for
3445           consistency. (DLR)
3446   do_alt_speller()
3447         - When reloading the newly spell-checked temporary file, call
3448           terminal_init() to make sure that all the original terminal
3449           settings are restored, as a curses-based alternative spell
3450           checker (e.g. aspell) can change them. (DLR)
3451   quote_length()
3452         - Fix problem where quoted justify wouldn't work if HAVE_REGEX_H
3453           wasn't set. (David Benbennick)
3454   do_justify()
3455         - Add allow_respacing flag, used to indicate when we've moved to
3456           the next line after justifying the current line, and only run
3457           the respacing routine when it's true.  This keeps the
3458           respacing routine from erroneously being run more than once on
3459           the same line. (DLR)
3460         - Check for first_par_line's not being NULL and only run the
3461           renumbering and cutbuffer-splicing routines depending on that
3462           if that's the case.  This fixes a segfault occurring when
3463           trying to do full justification on a file with no paragraphs
3464           (in which case there are no normal lines to renumber and no
3465           backed-up lines to be stored in the cutbuffer or spliced back
3466           in during unjustify). (DLR)
3467   do_exit()
3468         - Tweak for efficiency. (David Benbennick)
3469   main()
3470         - Move the reset_cursor() call to the beginning of the main
3471           input loop, and remove the apparently unnecessary wrefresh()
3472           call. (David Benbennick)
3473         - Call setlocale() outside the ENABLE_NLS #ifdef, since UTF-8
3474           support won't work properly if the locale isn't set, whether
3475           NLS is enabled or not. (Junichi Uekawa)
3476         - Add titlebar() calls before all open_file() calls and remove
3477           the titlebar() call after them, so that the titlebar is
3478           displayed properly for all file(s) loaded.  Also call
3479           display_main_list() after adding the first file to open_files,
3480           so that "Close" is properly displayed then instead of "Exit".
3481           (DLR)
3482 - nano.h:
3483         - Reassign the key for full justification to Ctrl-U, for
3484           compatibility with the current version of Pico. (DLR)
3485         - Remove justbegend enum, as it's no longer needed. (DLR)
3486 - proto.h:
3487         - Change the variables in the prototypes for do_justify(),
3488           get_verbatim_kbinput(), and get_mouseinput() to match the ones
3489           used in the actual functions. (DLR)
3490         - Remove unused declaration of temp_opt. (David Benbennick)
3491         - Add missing copy_file() prototype. (David Benbennick)
3492         - Move the load_history() and save_history() prototypes up to
3493           match their corresponding location in files.c. (DLR)
3494 - rcfile.c:
3495   rcfile_msg()
3496         - Removed and replaced with calls to rcfile_error(). (David
3497           Benbennick)
3498         - Removed the reference to "starting nano" in the statusbar
3499           message, as it may be called when we exit if the history file
3500           can't be saved. (DLR)
3501   parse_rcfile()
3502         - Have whitespace display default to off instead of on. (Mike
3503           Frysinger)
3504   nregcomp()
3505         - Rename the variable flags to eflags so as not to conflict with
3506           the global flags. (DLR)
3507 - search.c:
3508   do_replace_loop()
3509         - Make sure old_pww is updated to the current value of
3510           placewewant when a new match is found, so that edit_redraw()
3511           will redraw the screen properly when only placewewant changes.
3512           (DLR, found by Mike Frysinger)
3513   do_replace()
3514         - Instead of using edit_update() to redraw the screen with
3515           edittop at the top, set edittop beforehand and call
3516           edit_refresh(). (DLR)
3517   do_gotoline()
3518         - Use parse_num() to interpret a line entered by the user, and
3519           start the search for a line from current instead of fileage.
3520           (DLR)
3521   do_gotopos(), find_node(), free_history()
3522         - Tweak for efficiency. (David Benbennick)
3523   free_history()
3524         - Only include when DEBUG is defined. (David Benbennick)
3525 - utils.c:
3526   parse_num()
3527         - New function to parse numeric values, so that we don't have to
3528           duplicate code that calls strtol() all over the place. (David
3529           Benbennick)  DLR: Renamed from parse_int() to parse_num() and
3530           converted to use ssize_t instead of int.
3531   nstrnicmp()
3532         - Remove code chacking for n's being less than 0 that will never
3533           be run, since n is a size_t and is hence unsigned. (David
3534           Benbennick)
3535   ngetdelim(), ngetline()
3536         - New functions equivalent to getdelim() and getline(), which
3537           are both GNU extensions. (DLR, adapted from GNU mailutils
3538           0.5 with minor changes to better integrate with nano and
3539           increase efficiency)
3540 - winio.c:
3541   get_kbinput()
3542         - Since the only valid values for escapes are 0, 1, and 2,
3543           convert it to an int. (DLR)
3544   get_control_kbinput()
3545         - Fix erroneous debugging statement so that nano compiles with
3546           --enable-debug again. (Jon Oberheide)
3547   nanogetstr()
3548         - Tweak the code to update the edit window just before getting
3549           statusbar input for efficiency, and update bottomwin just
3550           before then too. (David Benbennick)
3551         - Don't delete the statusbar line on UnCut, since the current
3552           version of Pico doesn't. (DLR)
3553   do_cursorpos()
3554         - Add assert to check whether totsize is correct. (David
3555           Benbennick)
3556   line_len()
3557         - Rename to help_line_len() so as not to conflict with the
3558           line_len variable used elsewhere, and move inside the
3559           DISABLE_HELP #ifdef surrounding do_help() since it's only
3560           called in do_help(). (DLR)
3561   do_help()
3562         - Have help_line_len() properly return an int again, since its
3563           value can't be larger than COLS. (DLR)
3564         - Allow the user to exit the help browser via Ctrl-C as well as
3565           Ctrl-X, for consistency with the file browser. (DLR)
3566 - configure.ac:
3567         - Add AC_PROG_LN_S, so that we can portably create symlinks.
3568           (DLR)
3569         - Check for getdelim() and getline(), which are both GNU
3570           extensions. (DLR)
3571 - nanorc.sample:
3572         - Add sample regexes for patch files. (Mike Frysinger)
3573         - Various improvements to the "c-file" regexes.  Add double,
3574           typedef, extern, union, unsigned, inline, and long to the
3575           green list. (Mike Frysinger)  DLR: Also add signed, short, and
3576           enum to the green list.
3577 - nano.spec.in:
3578         - Tweak to include all files in %{_bindir} instead of just nano,
3579           so that the "rnano" symlink will be properly packaged. (DLR)
3581 GNU nano 1.3.3 - 2004.06.28
3582 - General:
3583         - Minor comment cleanups. (DLR)
3584         - Convert more ints used as boolean values to use TRUE and
3585           FALSE. (David Benbennick)
3586         - Make sure the special control keys are handled the same way
3587           after the window is resized or we come out of suspend mode.
3588           Changes to do_cont() and handle_sigwinch(). (DLR)
3589         - Change some instances of ints that can never be negative to
3590           size_t's. (DLR)
3591         - Add better explanations for and in the "Terminal breakage"
3592           comments, and handle missing key #ifdefs inside the functions
3593           that use those keys. (DLR)
3594         - Add restricted mode, accessible via the -Z/--restricted
3595           command line option or by invoking nano with any name
3596           beginning with 'r' (e.g. "rnano").  In restricted mode, nano
3597           will not read or write to any file not specified on the
3598           command line, read any nanorc files, allow suspending, or
3599           allow a file to be appended to, prepended to, or saved under a
3600           different name if it already has one. (IO ERROR)  DLR: Also
3601           disable backup files and spell checking (since the latter can
3602           leave a pre-spell-checked version of the file in a temporary
3603           directory), use tail() to get the program name so that the
3604           check for its beginning with 'r' will work when a path is
3605           specified, disable toggles that are only useful with options
3606           that are disabled in restricted mode, call nano_disabled_msg()
3607           when trying to read or spell check a file instead of leaving
3608           the shortcuts out of the main list, and instead of acting as
3609           though TEMP_OPT is enabled when exiting with a modified file
3610           (which caused problems if the filename was blank), only allow
3611           a filename to be modified at the writeout prompt if it's blank
3612           beforehand.  Changes to do_writeout(), toggle_init(),
3613           shortcut_init(), die_save_file(), and nanogetstr().
3614         - Call nano_disabled_msg() directly from the shortcut list
3615           instead of inside the disabled functions. (David Benbennick)
3616         - Clarifications to comments explaining exactly what control
3617           characters and escape sequences are supported. (DLR)
3618         - Disable "Where Is Next" in tiny mode. (DLR)
3619         - Added the ability to justify the entire file at once, which
3620           Pico has via ^W^J.  Changes to backup_lines() and
3621           do_justify(); new functions do_justify_void() and
3622           do_full_justify(). (DLR)
3623         - Modify the justification algorithm to work the same way as in
3624           the current version of Pico, i.e. add a space at the end of
3625           each line of the justified paragraph except for the last one,
3626           and if there was a space at the end of the last one, remove
3627           it.  Changes to justify_format() and do_justify().  Note that
3628           we can no longer reliably detect the first modified line in a
3629           paragraph, since a line unmodified by justify_format() may get
3630           a space tacked onto the end of it or removed from the end of
3631           it later.  The entire original paragraph is now always backed
3632           up, and justify_format() no longer has a non-modifying mode,
3633           so it's now only called in backup_lines(). (DLR)
3634         - Wrap the long jump code in NANO_SMALL #ifdefs, since we only
3635           use it if we're resizing the window, which is disabled when
3636           NANO_SMALL is defined. (DLR)
3637         - Add smart home key option, accessible via -A/--smarthome on
3638           the command line, "set smarthome" in the rcfile, and the
3639           Meta-H toggle in the edit window.  Smart home works as
3640           follows: When Home is pressed anywhere but at the very
3641           beginning of non-whitespace characters on a line, the cursor
3642           will jump to that beginning (either forwards or backwards).
3643           If the cursor is already at that position, it will jump to the
3644           true beginning of the line.  This option is disabled in tiny
3645           mode.  Changes to do_home(), nanogetstr(), etc. (DLR;
3646           suggested by Stephan T. Lavavej)
3647         - Minor tweaks to the punctuation in some statusbar messages.
3648           (DLR)
3649         - Overhaul the low-level input routines into main routines that
3650           actually get the input and state machines that interpret the
3651           input.  This allows better handling of the input (e.g. ignored
3652           keys are now always ignored instead of just being ignored when
3653           there are no escapes prefixing them) and will make it easier
3654           to port to interfaces that don't have blocking input.  New
3655           functions reset_kbinput(), get_translated_kbinput(),
3656           get_control_kbinput(), and get_untranslated_kbinput(); changes
3657           to do_verbatim_input(), handle_sigwinch(), get_kbinput(),
3658           get_ascii_kbinput(), get_escape_seq_kbinput(), and
3659           get_verbatim_kbinput(); removal of get_ignored_kbinput() and
3660           get_accepted_kbinput(). (DLR)
3661         - Overhaul all the movement functions in order to avoid
3662           redundant screen redraws (and regexec()s when color support is
3663           available) whenever possible during ordinary cursor movement
3664           when the text doesn't change.  Do the same for moving in
3665           do_char(), do_delete(), do_next_word(), do_prev_word(),
3666           do_search(), do_research(), and do_replace_loop.  Changes to
3667           do_first_line(), do_last_line(), do_home(), do_end(),
3668           do_page_up(), do_page_down(), do_up(), do_down(), do_left(),
3669           do_right(), do_delete(), do_backspace(), do_search(),
3670           do_research(), do_replace_loop(), do_find_bracket(), and
3671           edit_refresh().  New functions do_left_void(),
3672           do_right_void(), need_horizontal_update(),
3673           need_vertical_update(), edit_scroll(), and edit_redraw().  All
3674           of these functions but the first two require the previous
3675           versions of current and/or placewewant as parameters, so that
3676           they can redraw properly when the location has changed.  Also
3677           rename the int refresh in do_delete() and do_backspace() to
3678           do_refresh so as not to conflict with refresh(). (DLR)
3679         - Add some comments better explaining what is disabled in
3680           restricted mode and why. (DLR)
3681         - Since KEEP_CUTBUFFER is only used in cut.c, make it a static
3682           variable in cut.c instead of a flag, and unset it in other
3683           files via the new function cutbuffer_reset(). (DLR)
3684         - Add the ability to change the characters used to display the
3685           beginning characters of tabs and spaces via the rcfile entry
3686           "whitespace".  This is disabled if nanorc support is disabled
3687           or if we're in tiny mode.  Displaying the new characters is
3688           toggled on and off by Meta-P; the default is on. (Mike
3689           Frysinger; minor changes and adaptations by DLR)
3690         - Add the ability to change the closing punctuation and closing
3691           brackets used to control justification, via the rcfile
3692           entries "punct" and "brackets". (DLR)
3693         - Translation updates (see po/ChangeLog for details).
3694         - Make the former flag same_line_wrap use TRUE and FALSE
3695           instead of 1 and 0. (DLR)
3696 - files.c:
3697   add_open_file()
3698         - Rearrange the NANO_SMALL #ifdef so that the code to set the
3699           MODIFIED flag in open_files->flags is included only once.
3700           (DLR)
3701   write_marked()
3702         - Call write_file() with nonamechange set to TRUE so that we
3703           don't erroneously change the current filename when writing a
3704           selection, and don't take a nonamechange parameter anymore
3705           since we don't use it. (DLR)
3706   do_writeout()
3707         - Refactor so that no recursion is needed if we try to exit with
3708           a modified file that has no name when TEMP_OPT is set. (DLR)
3709         - Add spaces to the ends of the "Overwrite" and "Different Name"
3710           prompts, for consistency. (DLR)
3711   do_browser()
3712         - Call check_statblank() instead of blanking the statusbar
3713           unconditionally, for consistency. (David Benbennick)
3714 - global.c:
3715   shortcut_init()
3716         - Don't assign any handler functions to the help browser keys,
3717           as the help browser handles them all internally. (David
3718           Benbennick)
3719 - move.c:
3720   do_first_line(), do_last_line()
3721         - Move these functions here from winio.c. (DLR)
3722 - nano.c:
3723   finish()
3724         - Call blank_statusbar() and blank_bottombars() to blank out
3725           the statusbar and shortcut list in bottomwin. (DLR)
3726         - Since all of the calls to finish() use 0 for the value of
3727           sigage, and the return value of finish() is never used, make
3728           it accept and return void. (David Benbennick)
3729   die_save_file()
3730         - Call write_file() with nonamechange set to TRUE since we don't
3731           need to change the current filename if we're writing emergency
3732           backup files. (DLR)
3733   do_early_abort()
3734         - Removed, as it's no longer called anywhere. (David Benbennick)
3735   usage()
3736         - Add missing "[dir]" and two missing _()'s around the strings
3737           describing the -E [dir]/--backupdir=[dir]" option. (CHAO
3738           Wei-Lun)
3739   open_pipe()
3740         - Call enable_signals() at the beginning and disable_signals()
3741           at the end, so that we get a SIGINT when Ctrl-C is pressed
3742           during wait() and can then call cancel_fork() properly. (DLR)
3743   do_delete(), do_enter()
3744         - Tweak for efficiency. (David Benbennick)
3745   do_prev_word()
3746         - Switch the last test (current != NULL or not) around to match
3747           the order of the same test in do_next_word() (current ==
3748           NULL).  The results are the same either way. (DLR)
3749   do_wrap()
3750         - Tweak for efficiency. (David Benbennick)
3751   do_spell()
3752         - Tweak for efficiency. (David Benbennick)
3753         - Change the statusbar entries used in cases of failure so that
3754           they all display the actual error that occurred. (David
3755           Benbennick and DLR)
3756   do_int_speller(), do_alt_speller()
3757         - Make these functions return const char*'s instead of char*'s.
3758           (David Benbennick)
3759   justify_format()
3760         - Remove redundant assignment. (DLR)
3761   do_para_search()
3762         - Remove unneeded edit_update() calls. (David Benbennick)
3763         - Convert to use an enum to specify the search type: JUSTIFY,
3764           BEGIN, or END. (DLR)
3765         - Refactor to properly do searches for beginnings of paragraphs
3766           in the same way as searches for endings of paragraphs, without
3767           needing the old (and somewhat inaccurate) recursive approach.
3768           (DLR)
3769   do_justify()
3770         - Remove unneeded edit_update() calls, and add a few minor
3771           efficiency tweaks. (David Benbennick)
3772         - Simplify an if statement. (DLR)
3773   do_exit()
3774         - Refactor so that no recursion is needed if we try to exit with
3775           a modified file that has no name when TEMP_OPT is set. (DLR)
3776   print_numlock_warning()
3777         - Removed, as it's no longer needed and was never called
3778           anywhere after the input overhaul. (DLR)
3779   signal_init()
3780         - Don't use termios and _POSIX_VDISABLE to disable keys anymore,
3781           as there's no real equivalent of it when the latter isn't
3782           defined. (DLR)
3783   handle_sigwinch()
3784         - Call resetty() to get the original terminal settings back.
3785           (DLR)
3786         - Rework so that nano properly redraws the screen on systems
3787           that don't have resizeterm() and/or wresize().  In curses, we
3788           now leave and immediately reenter curses mode via endwin() and
3789           refresh(), and then reinitialize all windows via
3790           window_init().  In slang, the above routine will only work if
3791           the resize made the window smaller, so we now leave and
3792           immediately reenter screen management mode via
3793           SLsmg_reset_smg() and SLsmg_init_smg(), and then reinitialize
3794           all windows via window_init().  (DLR, adapted from code in
3795           Minimum Profit 3.3.0 and mutt 1.4.2.1, respectively)
3796   do_toggle()
3797         - Call blank_statusbar() and blank_bottombars() to blank out
3798           the statusbar and shortcut list in bottomwin. (DLR)
3799   do_verbatim_input()
3800         - If PRESERVE is set, disable flow control characters before
3801           getting input and reenable them after getting input. (DLR)
3802   disable_signals(), enable_signals(), disable_flow_control(),
3803   enable_flow_control()
3804         - New functions that allow more fine-grained control of the
3805           terminal: disabling and enabling signals without having to use
3806           _POSIX_VDISABLE and disabling and enabling flow control
3807           characters. (DLR)
3808   main()
3809         - Don't open the first file in quiet mode, since if we do, an
3810           error message won't be shown if it's unreadable. (DLR; found
3811           by Jaap Eldering)
3812         - If we've specified multiple files on the command line and
3813           multibuffer support is compiled in, turn multibuffer mode on
3814           when reading those files and turn it off afterward if it was
3815           off before.  This allows us to open multiple files without
3816           having to turn multibuffer mode on at the command line or in
3817           the nanorc first, both of which are unintuitive.  Multibuffer
3818           mode should only affect how the "Read File" command behaves
3819           anyway. (DLR)
3820         - Remove the disabling of implementation-defined input
3821           processing, as cbreak mode appears to turn it off anyway.
3822           (DLR)
3823         - After noecho(), call disable_signals() and
3824           disable_flow_control(), the latter only if PRESERVE is not
3825           set. (DLR)
3826         - Move the savetty() call down from just after initscr() to just
3827           after the terminal is properly set up, so that we can restore
3828           it easily after a resize. (DLR)
3829         - Add missing cast to char when calling do_char(). (DLR)
3830         - Don't initialize the backup directory if we're in restricted
3831           mode, since backups are disabled then. (DLR)
3832         - Check $SPELL for an alternative spell checker if we didn't get
3833           one from the command line and/or rcfile, as Pico does.  Don't
3834           do this if we're in restricted mode, since spell checking is
3835           disabled then. (DLR)
3836         - Add some cleanups for greater readability, and remove a few
3837           bits of redundant code. (DLR and David Benbennick)
3838 - nano.h:
3839         - Since REGEXP_COMPILED is only used in search.c, convert it
3840           from a flag to a static int there. (DLR)
3841         - Add justbegend enum, used in do_para_search(). (DLR)
3842         - Add updown enum, used in edit_scroll(). (DLR)
3843 - proto.h:
3844         - Remove unused xpt() and add_marked_sameline() prototypes.
3845           (DLR)
3846         - Add missing #ifdefs around the nstristr() and get_mouseinput()
3847           prototypes. (DLR)
3848 - rcfile.c:
3849         - Move "rebinddelete" up in the list of options so that the list
3850           is in alphabetical order. (DLR)
3851         - Cosmetic reorganization of the order in which some options are
3852           interpreted. (DLR)
3853         - Explicitly check for rcopts[i].name's being "tabsize" to avoid
3854           a spurious error under some circumstances about tabsize's
3855           being 0 when there's no tabsize entry in the rcfile. (DLR)
3856 - search.c:
3857   regexp_init()
3858         - Overhaul for efficiency.  Also check if regcomp() failed, and
3859           if so, display "Bad regex" message on the statusbar, so that
3860           we don't have to display it separately after every call to
3861           this function. (David Benbennick)
3862   search_init()
3863         - Only check whether USE_REGEXP is set, and hence whether or not
3864           to display "[Regexp]" on the search prompt, if HAVE_REGEX_H is
3865           defined. (DLR)
3866   not_found_msg()
3867         - Convert to properly handle strings generated by
3868           display_string() that have been used in the search prompt
3869           since 1.3.0. (David Benbennick)
3870         - Use display_string() directly to display the text that we
3871           didn't find instead of relying on statusbar() to do it
3872           indirectly, since the latter won't display its text with the
3873           user-specified whitespace characters and the former will.
3874           (DLR)
3875 - utils.c:
3876   is_blank_char()
3877         - New function used as an isblank() equivalent, since isblank()
3878           is a GNU extension. (DLR)
3879   nstricmp(), nstrnicmp()
3880         - Add extra blank lines for greater readability, and remove
3881           unneeded test for n's being less than zero (since it's already
3882           been tested for being greater than zero or equal to zero at
3883           that point) from nstrnicmp(). (DLR)
3884   stristr()
3885         - Rename to nstristr() to avoid a potential conflict with an
3886           existing stristr() function, and move up to just after
3887           nstrnicmp(). (DLR)  David Benbennick: Tweak for efficiency.
3888         - Include and use only when strcasestr() is unavailable, since
3889           strcasestr() is a GNU extension. (DLR)
3890   nstrnlen()
3891         - New function used as a strnlen() equivalent, since strnlen()
3892           is a GNU extension. (DLR)
3893 - winio.c:
3894   get_verbatim_kbinput()
3895         - Refactor the output in the DEBUG #ifdef.  It didn't work
3896           properly ever since this function was changed to use an int*
3897           instead of a char*. (DLR)
3898         - When reading characters from input, properly reallocate
3899           verbatim_kbinput via (int*)nrealloc() instead of an uncast
3900           realloc(). (DLR)
3901   get_accepted_kbinput()
3902         - Add proper support for the keypad values and escape sequences
3903           generated by the NumLock glitch and by certain keys on the
3904           numeric keypad. (DLR)
3905         - Add an extra break and move an #endif down to fix a potential
3906           problem when NANO_SMALL is defined or KEY_RESIZE isn't, and
3907           when PDCURSES isn't defined. (DLR)
3908   get_escape_seq_kbinput()
3909         - Add proper support for the keypad values and escape sequences
3910           generated by the NumLock glitch. (DLR)
3911         - Add ignore_seq parameter.  If a sequence is recognized but
3912           ignored, we will now return ERR and set ignore_seq to TRUE, and
3913           if a sequence is unrecognized, we will now return ERR and set
3914           ignore_seq to FALSE.  Also, here and elsewhere, don't bother
3915           assigning ERR to retval when that's its initial value. (DLR)
3916         - Fix problem where the escape sequence for F3 on the FreeBSD
3917           console would not be interpreted properly. (DLR)
3918   get_mouseinput()
3919         - Don't ungetch() anything if there's no control key and no meta
3920           key defined in the shortcut we clicked. (DLR)
3921   bottombars()
3922         - Don't display any more than MAIN_VISIBLE shortcuts.  Adding
3923           justification of the entire file above made the search
3924           shortcut list longer than this and hence made the shortcuts in
3925           it so short as to be almost incomprehensible. (DLR)
3926         - Tweak for efficiency and to better handle shorter screen
3927           widths. (David Benbennick)
3928         - Restructure the if block used for the sentinel key values,
3929           dynamically allocate keystr based on the number of columns
3930           available, and make sure we can display shortcuts even when
3931           the number of available columns is too short for any complete
3932           one. (DLR)
3933   onekey()
3934         - Don't bother padding the displayed shortcuts with spaces.
3935           (David Benbennick)
3936         - Convert len to a size_t. (DLR)
3937   edit_add()
3938         - Minor cosmetic reformatting.  Also remove unused int
3939           searched_later_lines. (DLR)
3940   blank_bottomwin()
3941         - Removed, as it does the same thing as blank_bottombars().
3942           (David Benbennick)
3943   blank_titlebar()
3944         - New function used to blank the titlebar in topwin. (DLR)
3945   blank_statusbar_refresh()
3946         - Removed, as it's now unnecessary. (David Benbennick)
3947   titlebar()
3948         - Overhaul to use display_string() to display the filename, and
3949           to better handle shorter screen widths.  Also remove
3950           now-unneeded wrefresh(topwin) calls. (David Benbennick)
3951           DLR: Tweak to reserve enough space for "Modified", plus
3952           padding, in all cases, to make sure that the version message
3953           takes up no more more than 1/3 of the available width, minus
3954           padding, and to include a reset_cursor() call so that the
3955           cursor is always in the right place.
3956   bottombars()
3957         - Call blank_bottombars() instead of blank_bottomwin(). (David
3958           Benbennick)
3959   check_statblank()
3960         - Overhaul for efficiency, (David Benbennick)  DLR: Add
3961           reset_cursor() call to ensure that the cursor is always in the
3962           right place.
3963   update_cursor()
3964         - Removed, as it's no longer called anywhere. (David Benbennick)
3965   edit_refresh()
3966         - Remove apparently unneeded leaveok() calls. (David Benbennick)
3967   edit_refresh_clearok(), center_cursor()
3968         - Removed, as they are now unnecessary. (David Benbennick)
3969   statusq()
3970         - Don't allow "Full Justify" when in view mode. (DLR)
3971   statusbar()
3972         - Call reset_cursor() just before refreshing the edit window, so
3973           that slang and other non-ncurses versions of curses will
3974           properly place the cursor back in the edit window instead of
3975           leaving it at the end of the statusbar. (DLR)
3976   do_help()
3977         - Overhaul for efficiency, and allow scrolling through the help
3978           via the arrow keys as well as the paging keys. (David
3979           Benbennick)  DLR: Revert the use of the return value of
3980           curs_set() to restore the previous state of the cursor, as
3981           some curses implementations (including slang) get it wrong,
3982           and explicitly turn the cursor off where needed instead.
3983   do_credits()
3984         - Use napms() instead of nanosleep(), as it does the same thing
3985           (aside from taking an argument in milliseconds instead of
3986           microseconds) and curses includes it. (DLR)
3987         - Overhaul for efficiency, and make sure the xlcredits
3988           translations are done after initialization in order to avoid
3989           an error when compiling with -pedantic. (David Benbennick)
3990   do_yesno()
3991         - Add a comment to encourage translators to use both native and
3992           English shortcuts, if possible. (Jordi)
3993 - configure.ac:
3994         - Add tests for isblank(), strcasestr(), and strnlen(), and
3995           define _GNU_SOURCE so that the tests work properly.  Increase
3996           the minimum required autoconf version to 2.54. (DLR)
3997         - Reformat the test programs so that they aren't packed into
3998           fewer lines than usual, so as to make them easier to read, and
3999           remove unnecessary inclusion of stdio.h in the slang test
4000           programs. (DLR)
4001         - Remove the checks for resizeterm() and wresize(), as they're
4002           no longer needed. (DLR)
4003 - config.rpath:
4004         - Replace usage of egrep with grep -E, avoiding a XSI:ism (David
4005           Weinehall)
4006 - faq.html:
4007         - Removed question about the NumLock glitch, as it's no longer
4008           needed. (DLR)
4009 - nano.1:
4010         - Document restricted mode. (IO ERROR)  DLR: Add minor
4011           modifications to account for the above changes.
4012         - Document the smart home key option. (DLR)
4013         - Document the use of the SPELL environment variable. (DLR)
4014 - nanorc.5:
4015         - Document the smart home key option. (DLR)
4016         - Document the whitespace option. (DLR, adapted from
4017           documentation by Mike Frysinger)
4018         - Document the punct and brackets options. (DLR)
4019 - nano.texi:
4020         - Fix toggle inaccuracies: Meta-L now toggles line wrapping, and
4021           Meta-< and Meta-> aren't toggles. (DLR)
4022         - Document restricted mode. (IO ERROR)  DLR: Add minor
4023           modifications to account for the above changes.
4024         - Fix version number inaccuracies: Search/replace history and
4025           sorting/uniqueness filtering for the internal spell checker
4026           were added in nano 1.1.99pre1. (DLR)
4027         - Document the smart home key option. (DLR)
4028         - Document the use of the SPELL environment variable. (DLR)
4029 - nanorc.sample:
4030         - Add missing mouse entry, and update the nanorc sample regexes
4031           to account for the backupdir and mouse options. (DLR)
4032         - Add smarthome description. (DLR)
4033         - Document the whitespace option. (DLR, adapted from
4034           documentation by Mike Frysinger)
4035 - README.CVS:
4036         - Increase the minimum required autoconf version to 2.54, and
4037           change the recommended automake version 1.7 to the minimum
4038           required automake version.  Note that autoconf 2.54 will
4039           technically also work with automake 1.6c, but that is a CVS
4040           version as opposed to a stable release version, and automake
4041           1.7 requires at least autoconf 2.54 in any case. (DLR)
4042 - TODO:
4043         - Added entry for justifying the entire file at once, since Pico
4044           can do it, and with "[DONE]" since it's already been
4045           implemented. (DLR)
4047 GNU nano 1.3.2 - 2004.03.31
4048 - General:
4049         - Change instances in the code that refresh the entire edit
4050           window when color support is enabled (in order to properly
4051           handle multi-line color regexes) to only do so when
4052           it's necessary, i.e. when COLOR_SYNTAX is set. (DLR)
4053         - Minor cosmetic tweaks to the code involving direction keys.
4054           NANO_UP_KEY and NANO_DOWN_KEY are now NANO_PREVLINE_KEY and
4055           NANO_NEXTLINE_KEY, and the help messages for them have been
4056           changed accordingly.  Also remove extraneous references to
4057           NANO_DOWN_KEY in the search history shortcut entries. (DLR)
4058         - Add NANO_UNJUSTIFY_FKEY (the same as NANO_UNCUT_FKEY) to the
4059           shortcut list, and tweak the unjustify routine to use it.
4060           Also add NANO_FIRSTLINE_FKEY and NANO_LASTLINE_FKEY, and tweak
4061           the statusbar input routines to handle them and NANO_HELP_FKEY
4062           properly. (DLR)
4063         - Block SIGWINCH after setting up its handler, and only unblock
4064           and handle it when we're in a stable state, i.e. when we're
4065           waiting for input from the user.  New function
4066           allow_pending_sigwinch(); changes to signal_init(),
4067           get_kbinput(), and get_verbatim_kbinput(). (DLR)
4068         - Decouple the paragraph searching code and the justifying code.
4069           Removed function do_para_operation(); new function
4070           do_para_search(); changes to do_justify(). (DLR)
4071         - Add -E/--backupdir option.  When used with -B/--backup, backup
4072           files will be saved in the specified directory with their
4073           canonical pathnames encoded in their names (all '/'s replaced
4074           with '!'s).  Changes to write_file(). (Martin Ehmsen)  DLR:
4075           Add function init_backup_dir() to handle relative paths
4076           correctly, use get_full_path() to get the canonical pathname,
4077           and use tail() to get the filename if get_full_path() fails.
4078         - Port to the Tandem NonStop Kernel (nsr-tandem-nsk). (Tom
4079           Bates; minor tweaks by DLR)
4080         - Change some instances of boolean 0 and 1 to TRUE and FALSE.
4081           (David Benbennick)
4082         - Fix memory corruption problem occurring when answer is used as
4083           the value of def; if the realloc() of answer leads to its
4084           pointing to a different memory block, there will be a segfault
4085           when the value of def is copied into it via strcpy().
4086           (bort@alltel.net, Christian Weisgerber, David Benbennick, and
4087           DLR)
4088         - Remove the last editbot references, to avoid any potential
4089           segfaults related to them.  Also remove fix_editbot(), as it's
4090           no longer needed. (David Benbennick)
4091         - Rename several variables to make their use clearer and to
4092           avoid conflicts. (DLR)
4093         - Set the input mode before turning the keypad on. (DLR)
4094 - cut.c:
4095   add_to_cutbuffer()
4096         - Add parameter allow_concat to determine whether we're allowed
4097           to concatenate strings in the cutbuffer. (DLR)
4098 - files.c:
4099   do_insertfile()
4100         - Wrap one reference to NANO_EXTCMD_KEY in a NANO_SMALL #ifdef.
4101           (DLR)
4102         - Save the already-typed answer when switching from "Insert
4103           File" to "Execute Command" mode via Ctrl-X, just in case we
4104           started typing a command before switching. (DLR)
4105   add_open_files()
4106         - Make the saving of marked status in open_files->file_flags
4107           work properly again; a tweak to the ISSET() macro in 1.3.0
4108           to make it only return 0 or 1 broke it. (DLR)
4109   write_marked()
4110         - New function used to write the current marked selection to a
4111           file, split out from do_writeout(). (DLR)
4112   do_writeout()
4113         - Tweak for efficiency. (David Benbennick)  DLR: Modify to have
4114           the current answer preserved between toggles again.
4115   filestat()
4116         - Removed, as it is only called in one place and is
4117           redundant. (DLR)
4118   do_browser()
4119         - Replace the filestat() call with an equivalent stat() call.
4120           (DLR)
4121 - global.c:
4122   shortcut_init()
4123         - Only allow verbatim input when we're not in view mode. (DLR)
4124         - Set the associated function for unjustify to 0 instead of
4125           do_uncut_text(), since it's currently unused. (DLR)
4126 - nano.c:
4127   usage()
4128         - Clarify the description for -T/--tabsize a bit. (DLR)
4129   do_verbatim_input()
4130         - Remove the now-unneeded code to disable XON, XOFF, and
4131           suspend, since we now go into raw mode in
4132           get_verbatim_kbinput() and bypass them. (DLR)
4133   do_next_word()
4134         - Simplify and remove references to editbot so as to avoid a
4135           segfault. (David Benbennick)
4136   do_prev_word()
4137         - Simplify and remove references to edittop. (David Benbennick)
4138   do_int_speller(), do_alt_speller(), do_spell()
4139         - Modify to write only the current selection from a file to the
4140           temporary file used for spell checking when the mark is on,
4141           and add a few miscellaneous cosmetic cleanups. (DLR)
4142   do_int_spell_fix()
4143         - Store the value of current_x in a size_t instead of an int,
4144           and add a few minor efficiency tweaks. (David Benbennick)
4145         - Remove comment explaining why findnextstr() is called with
4146           bracket_mode set to TRUE even though we aren't doing a bracket
4147           search, since after the above efficiency tweaks, it's now more
4148           accurately called can_display_wrap. (DLR)
4149   indent_length()
4150         - Remove unneeded #ifdef. (David Benbennick)
4151   do_justify()
4152         - Remove references to the now-unneeded JUSTIFY_MODE flag. (DLR)
4153   signal_init()
4154         - Trap SIGQUIT in addition to turning it off via termios in
4155           main().  This is consistent with SIGINT, which we trap here
4156           and turn off via termios in main(), as well as with the
4157           associated comment. (DLR)
4158   handle_sigwinch()
4159         - Set keypad() to TRUE and switch to cbreak mode just before
4160           calling siglongjmp(), in case we resized during verbatim
4161           input. (DLR)
4162   main()
4163         - Move the call to raw() on systems that don't define
4164           _POSIX_VDISABLE outside the main input/output loop, as it
4165           doesn't need to be called every time through the loop.  Call it
4166           instead of cbreak() on such systems, as it overrides cbreak()
4167           anyway. (DLR)
4168         - Add more descriptive comments explaining the termios and
4169           curses setup routines, and turn the keypad on before setting
4170           the input mode. (DLR)
4171         - Remove stray HAVE_GETOPT_LONG #ifdefs. (DLR)
4172         - Don't call keypad() before initializing the windows it needs
4173           via window_init(). (DLR)
4174 - nano.h:
4175         - Move the NANO_H include guard up before the first #include.
4176           (DLR)
4177         - Remove the now-unneeded JUSTIFY_MODE flag. (DLR)
4178 - search.c:
4179   regexp_cleanup()
4180         - Only do anything if REGEXP_COMPILED is set. (David Benbennick)
4181   search_abort()
4182         - Only test if the mark is set when NANO_SMALL isn't defined.
4183           (David Benbennick)
4184   search_init()
4185         - Add some more comments and comment tweaks, don't indicate that
4186           the search has been canceled when we enter a blank string in
4187           replace mode, only call regexp_init() when USE_REGEXP is set,
4188           and return -1 instead of -3 since a canceled search and a
4189           canceled replace should be mostly equivalent. (David
4190           Benbennick)  DLR: Tweak to use the old behavior if we try to
4191           search for invalid regexes.
4192   findnextstr()
4193         - Refactor to use a loop invariant, and tweak for greater
4194           efficiency and simplicity.  Also modify so that all searches
4195           start one character after (or before, if we're doing a
4196           backwards search) the current one, as opposed to all searches
4197           except for regex searches for "^" and the like, for
4198           consistency with other searches. (David Benbennick)
4199   do_search()
4200         - Handle search_init()'s no longer returning -3 above. (David
4201           Benbennick)
4202         - Port the code from do_replace_loop() to skip the current line
4203           if we're searching for a regex with "^" and/or "$" in it and
4204           end up on the same line to this function.  This fixes a
4205           problem where doing a forward search for "^" on a file with
4206           more than one line would erroneously stop at the magicline and
4207           indicate that that was the only occurrence. (DLR)
4208   do_research()
4209         - Port David Benbennick's efficiency tweaks and the
4210           aforementioned code ported from do_replace_loop() to this
4211           function. (DLR)
4212   replace_regexp()
4213         - Completely refactor for increased efficiency. (David
4214           Benbennick)
4215   replace_line()
4216         - Use a char* parameter for the replacement string instead of
4217           last_search, and add minor efficiency tweaks. (David
4218           Benbennick)
4219   do_replace_loop()
4220         - Fix segfault when doing a regex replace of a string that
4221           matches inside a line (e.g. replace the "b" in "abc" with
4222           anything). (David Benbennick)
4223         - If the mark is on at the beginning of the function, turn it
4224           off and turn it back on just before returning.  Also overhaul
4225           to rely on the return value of findnextstr() instead of a loop
4226           invariant, to not need to take an int* parameter, and store
4227           the beginning x-coordinate in a size_t instead of an int.
4228           (David Benbennick)
4229   do_replace()
4230         - Handle search_init()'s no longer returning -3 above, and add
4231           efficiency tweaks. (David Benbennick)  DLR: Tweak to follow
4232           the old behavior of adding non-blank strings entered at the
4233           "Replace: " prompt to the search history. (DLR)
4234   do_gotoline()
4235         - Simplify the edit_update() call depending on the value of
4236           save_pos. (David Benbennick)
4237   do_bracket()
4238         - Add efficiency tweaks. (David Benbennick)  DLR: Remove
4239           reliance on the hardcoded bracket string length; instead, only
4240           require that the bracket string length be even.
4241 - utils.c:
4242   regexec_safe()
4243         - Wrap in HAVE_REGEX_H #ifdefs. (DLR)
4244   regexp_bol_or_eol()
4245         - New function used to check if a regex contains "^" and/or "$",
4246           assuming that the regex would be found if the REG_NOT(BOL|EOL)
4247           flags aren't used in the regexec() call; it replaces the
4248           direct regexec()s used before. (DLR)
4249   strstrwrapper()
4250         - Refactor for increased efficiency, and eliminate the need for
4251           the line_pos parameter. (David Benbennick)
4252   mallocstrcpy()
4253         - Tweak so that when src is "", "" is allocated and returned
4254           instead of NULL. (David Benbennick)
4255 - winio.c:
4256   get_verbatim_kbinput()
4257         - Set keypad() to FALSE and switch to raw mode while reading
4258           input, and set it back to TRUE and go back into cbreak mode
4259           mode afterwards.  (Note that if _POSIX_VDISABLE isn't defined,
4260           we don't need to change to or from raw mode since we're
4261           already in it exclusively.)  This ensures that we don't end up
4262           reading in extended keypad values that are outside the ASCII
4263           range or having to deal with interrupt-generating key values.
4264           Also, with keypad() set to TRUE, xterm generates KEY_BACKSPACE
4265           when the user hits Ctrl-H, which, when cut down to ASCII
4266           range, ends up being Ctrl-G, which can be confusing. (DLR)
4267         - For consistency with get_kbinput(), use an int* to store and
4268           return the input instead of a char*, and tweak the functions
4269           that call it to handle this. (DLR)
4270   get_accepted_kbinput()
4271         - Don't use "kbinput = wgetch(win)" as a switch value. (DLR)
4272   get_escape_seq_kbinput()
4273         - Add support for the escape sequences for F1-F14 whenever
4274           possible (i.e. whenever a conflict doesn't occur), some
4275           additional comments, and a few cosmetic cleanups. (DLR)
4276         - Use switch statements instead of strncmp() to read in the long
4277           xterm sequences for Ctrl-[arrow key] and Shift-[arrow key].
4278           (DLR)
4279   get_escape_seq_abcd()
4280         - A resurrected version of the old abcd() function, readded in
4281           order to simplify get_escape_seq_kbinput(). (DLR)
4282   get_mouseinput()
4283         - Interpret shortcut key values slightly more stringently when
4284           ungetch()ing them. (DLR)
4285   strlenpt()
4286         - Properly cast the second parameter of the strnlenpt() call to
4287           size_t. (DLR)
4288   get_page_start()
4289         - For consistency, tweak so that scrolling always occurs when we
4290           try to move onto the "$" at the end of the line, as opposed to
4291           (a) when we move onto the "$" at the end of the line on the
4292           first page and (b) when we move onto the character just before
4293           the "$" on subsequent pages. (DLR)
4294   reset_cursor()
4295         - Tweak for efficiency. (David Benbennick)
4296   edit_refresh()
4297         - Tweak for efficiency. (David Benbennick)
4298   statusq()
4299         - Rename "tabs" to "allowtabs". (David Benbennick)
4300   do_credits()
4301         - Use nanosleep() instead of usleep().  The latter is only
4302           standard under BSD, whereas the former is POSIX compliant.
4303           Accordingly, only include time.h if we use this function, i.e.
4304           if NANO_EXTRA is defined. (DLR)
4305         - Add explanatory comment. (DLR)
4306 - configure.ac:
4307         - Change instances of "int main ()" to "int main(void)". (DLR)
4308 - faq.html:
4309         - Fixed inaccuracy: multibuffer mode was first in nano 1.1.0,
4310           not 1.1.12. (DLR)
4311 - nano.1, nanorc.5, nano.texi
4312         - Clarify the description for -T/--tabsize a bit. (DLR)
4313         - Add -E/--backupdir description. (Martin Ehmsen; minor cosmetic
4314           fixes by DLR)
4315 - nanorc.sample:
4316         - Add backupdir description. (Martin Ehmsen; minor cosmetic
4317           fixes by DLR)
4318 - README:
4319         - Reformat to 72 characters per line, fix wording in one spot,
4320           and fix spacing and capitalization in several spots. (DLR)
4321 - NEWS:
4322         - Capitalization fix. (DLR)
4323 - TODO:
4324         - Clarify the paragraph searching item, and add item for
4325           filename searches in the file browser. (DLR)
4327 GNU nano 1.3.1 - 2004.01.09
4328 - General:
4329         - Minor overhaul and abstraction of the lowest level of mouse
4330           input, mostly adapted from the code in do_mouse() that handles
4331           clicking on the shortcut list.  New function do_mouseinput();
4332           changes to do_mouse(). (DLR)  David Benbennick: Add a few
4333           efficiency/extensibility tweaks.
4334         - Modify the shortcut structure so that instead of having two
4335           miscellaneous key values (misc1 and misc2), there is one key
4336           value reserved for function keys (func_key) and one
4337           miscellaneous key value (misc), and tweak the
4338           shortcut-handling code to deal with this.  These changes allow
4339           NANO_OPEN(PREV|NEXT)_ALTKEY to work properly when added to the
4340           shortcut entries for NANO_OPEN(PREV|NEXT)_KEY.  Also remove
4341           the values in the shortcut list and elsewhere that were made
4342           redundant by the low-level input overhaul, use toupper()
4343           instead of subtracting 32 from values for greater code
4344           readability, and eliminate use of adding 32 to values when
4345           testing for toggles, as get_kbinput_accepted() converts toggle
4346           values to lowercase before returning them. (DLR)
4347         - Remove the workarounds for missing KEY_UP and KEY_DOWN, as
4348           they appear to be holdovers of the old way of denoting the
4349           search history shortcuts; if they aren't defined, KEY_LEFT and
4350           KEY_RIGHT probably shouldn't work either, and all four appear
4351           to be standard keys in termcap/terminfo in any case.  Add new
4352           special sentinel key values NANO_NO_KEY (for no shortcut key)
4353           and NANO_HISTORY_KEY (for search history keys, both Up and
4354           Down), modify the shortcut list to use them, and modify the
4355           shortcut display routines to handle them.  Also modify the
4356           shortcut list code to not treat non-control character values
4357           of val as Meta-sequences, and fix dependencies on that
4358           behavior.  Also rename several variables: "alt" -> "meta",
4359           "altval" -> "metaval". (DLR)
4360         - Hook up the verbatim input functions so that verbatim input
4361           can be used in the edit window.  New function
4362           do_verbatim_input(); changes to do_char(). (DLR)  Additional
4363           minor tweaks to do_char() by David Benbennick.
4364         - Clarify the description of the --rebinddelete option. (DLR)
4365         - Miscellaneous comment tweaks, and copyright year updates in
4366           the comments and in do_credits(). (DLR)
4367 - cut.c:
4368         - Overhaul to increase efficiency and add various cleanups.
4369           Changes to add_to_cutbuffer(), cut_marked_segment(), and
4370           do_uncut_text(). (David Benbennick)
4371 - files.c:
4372   check_operating_dir()
4373         - Add an assert to ensure that full_operatingdir isn't NULL,
4374           a fix for reporting nonexistent (incomplete) directory names
4375           as being outside the operating directory when tab completion
4376           is being used, and cosmetic cleanups. (David Benbennick)
4377   copy_file()
4378         - New function used to create a copy of a file, split out from
4379           do_writeout(). (David Benbennick)
4380   write_file()
4381         - Completely overhauled to properly ignore appending/prepending
4382           to symlinks when NOFOLLOW_SYMLINKS is defined, to properly
4383           support writing a selection to a file under the changed
4384           cutting code, to have more concise error messages, to add
4385           various cleanups, and so on. (David Benbennick)
4386   do_writeout()
4387         - Prompt the user if we're trying to save an existing file (and
4388           not just a selection of it) under a different name. (DLR;
4389           suggested by Jean-Philippe GuĂ©rard)
4390         - Overhaul the code used to write a selection of a file to
4391           temporarily set fileage and filebot to the top and bottom of
4392           the selection and then call write_file(), instead of following
4393           the old hackish behavior with cut_marked_segment() (which
4394           won't work after the cutting code changes anyway). (David
4395           Benbennick)  DLR: Tweak to not add an extra blank line to the
4396           end of the written selection if the cursor is at the beginning
4397           of the last line of the selection.
4398   open_prevfile(), open_nextfile()
4399         - For consistency with the rest of the multibuffer code, change
4400           "No more open files" to "No more open file buffers". (DLR)
4401   do_browser()
4402         - Allow '?' to open the help browser, and readd the ability of
4403           'G'/'g' to open the "Go to Directory" prompt (which was
4404           erroneously removed before), for compatibility with Pico.
4405           (DLR)
4406 - global.c:
4407   shortcut_init()
4408         - Allow WHEREIS_NEXT_KEY to be used in view mode. (DLR)
4409 - nano.c:
4410   do_int_spell_fix()
4411         - Add comment explaining why findnextstr() is called with
4412           bracket_mode set to TRUE even though we aren't doing a bracket
4413           search. (DLR)
4414   do_para_operation()
4415         - Convert to use the new low-level input functions. (DLR)
4416   main()
4417         - Remove unused variable option_index. (DLR)
4418         - Fix omission of NANO_NO_KEY in the shortcut list scanning
4419           code. (DLR)
4420         - Remove now-unnecessary initialization of kbinput. (DLR)
4421 - nano.h:
4422         - Comment additions and cosmetic tweaks. (DLR)
4423 - search.c:
4424   findnextstr(), do_replace_loop()
4425         - Fix potential infinite loops and other misbehavior when doing
4426           beginning-of-line or end-of-line regex replacements ("^", "$",
4427           and "^$").  Add a no_sameline parameter to findnextstr(), and
4428           set it in the calls in do_replace_loop() when such regexes are
4429           found, so that such regexes are only found once per line.
4430           Also change length_change from a long to an int; size_t is
4431           unsuitable due to its being unsigned. (DLR; found by Mike
4432           Frysinger and DLR)  David Benbennick: Add a few minor cleanups
4433           to do_replace_loop().
4434 - winio.c:
4435   get_kbinput(), get_accepted_kbinput()
4436         - Don't pass in the value of the REBIND_DELETE flag anymore.
4437           Instead, handle it directly inside the functions. (DLR)
4438   get_accepted_kbinput()
4439         - Translate Ctrl-8 into NANO_DELETE_KEY (or NANO_BACKSPACE_KEY
4440           if REBIND_DELETE is set), since it apparently is generated
4441           sometimes even when keypad() is TRUE. (DLR)
4442         - Translate KEY_SLEFT into NANO_BACK_KEY and KEY_SRIGHT into
4443           NANO_FORWARD_KEY, since they are sometimes generated by
4444           Shift-Left and Shift-Right. (DLR)
4445   get_ascii_kbinput()
4446         - Tweak to make it slightly more readable. (DLR)
4447   get_verbatim_kbinput()
4448         - Modify to take an extra parameter indicating if we should
4449           interpret ASCII codes or not. (DLR)
4450   get_escape_seq_kbinput()
4451         - Expand to deal with more broken terminals that don't generate
4452           keypad values.  Support the escape sequences for Insert,
4453           Delete, Home, End, PageUp, and PageDown, [arrow key],
4454           Ctrl-[arrow key], and Shift-[arrow key] when needed in the
4455           Linux console, the FreeBSD console, the Hurd console, xterm,
4456           rxvt, and Eterm.  Also, use get_verbatim_kbinput(), with ASCII
4457           interpretation disabled, to read in the sequences. (DLR)
4458   get_skip_tilde_kbinput()
4459         - Removed, as it is unneeded due to the expansion of
4460           get_escape_seq_kbinput(). (DLR)
4461   get_mouseinput()
4462         - Modify to take an extra parameter indicating if we should
4463           ungetch() the key equivalents of shortcuts we click on or not.
4464           (DLR)
4465   nanogetstr()
4466         - Properly interpret the Meta key value in misc if we hit it at
4467           the statusbar prompt. (DLR)
4468   do_yesno()
4469         - Add a few efficiency/extensibility tweaks. (David Benbennick)
4470         - Convert to use the new low-level input functions, and remove
4471           two last hardcoded widths left after the above tweaks. (DLR)
4472   do_replace_highlight()
4473         - Display a highlighted space if the word length is zero, so
4474           that we can see zero-length regexes we're replacing. (DLR;
4475           suggested by Mike Frysinger)
4476 - configure.ac:
4477         - Check for glib 2.x and then 1.2.x if we need glib. (DLR)
4478 - faq.html:
4479         - Add question explaining how verbatim input works, as well as a
4480           few minor fixes. (DLR)
4481 - nano.1, nanorc.5:
4482         - Add nano version numbers (minus any "-cvs" suffixes). (DLR)
4483 - nano.spec.in:
4484         - Update for the 1.3 branch of nano. (DLR)
4485 - NEWS:
4486         - Reformat so all lines are limited to 72 columns, add a few
4487           typo fixes, and make a few minor cosmetic cleanups. (DLR)
4488 - THANKS:
4489         - Add Danilo Segan, for the Serbian translation.
4491 GNU nano 1.3.0 - 2003.10.22
4492 - General:
4493         - Complete overhaul and abstraction of the lowest level of
4494           keyboard input, mostly rewritten but incorporating a few bits
4495           from the old functions and adding support for Pico's Esc Esc
4496           [three-digit decimal ASCII code] input method.  New functions
4497           get_kbinput(), get_verbatim_kbinput(), get_ignored_kbinput(),
4498           get_accepted_kbinput(), get_ascii_kbinput(),
4499           get_escape_seq_kbinput(), and get_skip_tilde_kbinput().  These
4500           should work properly on FreeBSD (due to code and input
4501           provided by Lee Nelson and Wouter van Hemel, respectively).
4502           (DLR)
4503         - The -K/--keypad command line/rcfile option has been removed,
4504           and keypad() is now always TRUE.  keypad_on() in winio.c and
4505           the check for _use_keypad in configure.ac have both been
4506           removed. (DLR)
4507         - The -d/--rebinddelete command line/rcfile option, equivalent
4508           to Pico's -d, has been added.  It is intended to work around
4509           the problem with Backspace/Delete confusion on some terminals,
4510           notably FreeBSD; if your Backspace key acts like Delete, this
4511           option will fix that. (DLR)
4512         - Remove unneeded breaks at the ends of default: clauses. (DLR)
4513         - Add the ability to repeat the last search without prompting
4514           via Meta-W, and move the line wrapping toggle to Meta-L.  New
4515           function do_research(). (Wouter van Hemel)
4516         - Added the ability to move to the beginning or end of the
4517           paragraph, which Pico has via ^W^W (previous paragraph)
4518           and ^W^O (next paragraph).  Changes to do_justify(); new
4519           functions do_para_operation(), do_para_begin(), and
4520           do_para_end().  Note that the last three functions are
4521           disabled if justification is disabled. (DLR)
4522         - Make sure the "historylog" option isn't included at all if
4523           NANO_SMALL is defined. (DLR)
4524         - Source reorganization: move code to src/, docs to doc/.
4525           (Jordi)
4526         - Translation updates (see po/ChangeLog for details).
4527         - Since SAMELINEWRAP is only used in nano.c, make it a static
4528           variable in nano.c instead of a flag, and surround all
4529           wrap_reset() calls with DISABLE_WRAPPING #ifdefs. (DLR)
4530         - Change enum "topmidbotnone" to "topmidnone", as there's no
4531           BOTTOM option anymore. (DLR)
4532         - Split out the string-displaying routine from update_line()
4533           into a separate function; convert the edit window, statusbar
4534           display, and statusbar prompt to use it, so that they can all
4535           properly display control characters and tabs; free and NULL
4536           the backup search string in one place in the search code
4537           instead of several; and do some other minor refactoring of
4538           related display functions to simplify them.  New functions
4539           mark_order() and display_string(); new macro charmove();
4540           changes to actual_x(), strnlenpt(), blank_bottombars(),
4541           blank_edit(), get_page_start(), edit_add(), update_line(),
4542           statusbar(), and do_replace_highlight(). (David Benbennick)
4543           DLR: Add minor cosmetic tweaks, add missing NANO_SMALL #ifdef
4544           around the text for a backwards search in the refactored code,
4545           and enclose dump_buffer() and dump_buffer_reverse() in one
4546           ENABLE_DEBUG #ifdef instead of two.
4547         - Convert memmove() function calls to charmove() macro calls, as
4548           the former all work on char*'s. (DLR)
4549         - Miscellaneous #define cleanups: only include the prototype for
4550           and definition of wrap_at if wrapping and/or justification are
4551           enabled, remove duplicate wrap_at prototype, and define
4552           DISABLE_MOUSE if NCURSES_MOUSE_VERSION isn't defined in nano.h
4553           instead of all over the code. (DLR)
4554         - Autogenerate the html versions of the manpages in the
4555           Makefile.am's in doc/man/, make sure that they're properly
4556           installed via "make dist", and make sure that "make distcheck"
4557           works too.  Also be sure to set EXTRA_DIST properly. (Jordi,
4558           DLR and Jeff Bailey)
4559 - files.c:
4560   read_file()
4561         - After we've read in a file and possibly converted it from
4562           DOS/Mac format, set fileformat back to 0 to prevent erroneous
4563           conversion messages when we read other files in. (DLR)
4564   do_browser()
4565         - Some of the Pico compatibility options in the file browser
4566           that don't work properly for current Pico have been removed.
4567           Backspace, 'g', 'l', 'q', and 'u' are invalid.  'd' deletes
4568           the highlighted file, and 'r' renames the highlighted file;
4569           neither of these are implemented. (DLR)
4570 - global.c:
4571   toggle_init()
4572         - Change the message for the line wrapping toggle from "Auto
4573           wrap" to "Auto line wrap", to more clearly associate it with
4574           Meta-L. (DLR)
4575   shortcut_init()
4576         - Change multibuffer-enabled references to
4577           opening/closing/toggling the previous/next loaded file to
4578           toggling/switching to/closing the previous/next file buffer,
4579           for consistency with other references. (DLR)
4580 - nano.c:
4581   window_init()
4582         - Set keypad() to TRUE regardless of whether PDCurses is being
4583           used, as Meta-X apparently turns it off even under ncurses.
4584           (DLR)
4585   do_backspace()
4586         - Vastly simplify, and remove dependency on page_up(). (David
4587           Benbennick)
4588   help_init()
4589         - Document the support for Esc Esc [character]'s being
4590           interpreted as Ctrl-[character], and the support for Pico's
4591           Esc Esc [three-digit decimal ASCII code] input method. (DLR)
4592   do_mark()
4593         - Toggle MARK_ISSET at the beginning of the function instead of
4594           setting it in one place and unsetting it in another place.
4595           (David Benbennick)
4596   do_suspend()
4597         - Use handle_hupterm() to handle SIGHUP and SIGTERM so we can
4598           properly deal with them while nano is suspended. (DLR; problem
4599           found by David Benbennick)
4600   abcd()
4601         - Removed, as it's unneeded due to the low-level input overhaul.
4602           (DLR)
4603 - nano.h:
4604         - Define KEY_RESIZE and KEY_SUSPEND as -1 when slang is used, as
4605           slang has no equivalent of either.  When nano is compiled with
4606           slang support, resizing the window doesn't generate
4607           KEY_RESIZE, and pressing Ctrl-Z to suspend nano at the Linux
4608           console with keypad(TRUE) generates Ctrl-Z instead of
4609           KEY_SUSPEND, both unlike ncurses. (DLR)
4610         - Define KEY_RESIZE as -1 if it isn't defined, as it isn't in
4611           the curses library included with SunOS 5.7-5.9.  Also define
4612           KEY_SUSPEND as -1 if it isn't defined, in case it isn't in
4613           more than just Slang. (DLR)
4614         - Define all potentially missing keys as different negative
4615           values (ERR is -1, so use -2, -3, etc.) so as to avoid having
4616           duplicate case values when keys are missing. (DLR)
4617 - move.c:
4618         - Remove unneeded inclusion of stdio.h, make various cleanups,
4619           and preserve the cursor's coordinates when paging up and down.
4620           (David Benbennick)  DLR: Readd the ability to behave the old
4621           way while paging, make it so the new behavior is only used in
4622           smooth-scrolling mode, and modify page_down() to always go
4623           down a full page (even when there's less than one page of text
4624           left) for consistency.
4625   page_up()
4626         - Removed due to rewrite of movement functions. (David
4627           Benbennick)
4628 - proto.h:
4629         - Surround the do_prev_word() and do_next_word() prototypes with
4630           NANO_SMALL #ifdefs, since the actual functions aren't included
4631           in tiny mode. (DLR)
4632 - rcfile.c:
4633   parse_colors()
4634         - Generate an error if we try to use a bright background color
4635           in a nanorc file. (DLR; found by Brand Huntsman)
4636         - Make sure all rcfile error messages are capitalized, for
4637           consistency. (DLR)
4638 - winio.c:
4639   get_verbatim_kbinput()
4640         - Fix a silly memory corruption bug that would occur when trying
4641           to read a sequence of more than one key verbatim. (DLR)
4642   get_accepted_kbinput()
4643           Handle Ctrl-{ to Ctrl-~ correctly, and drop support for
4644           converting Esc ` to Esc Space, since making Meta-[key]
4645           correspond to Ctrl-[key] in all cases is inconsistent due to
4646           the different natures of Contol and Meta key sequences. (DLR)
4647   do_first_line()
4648         - Call edit_update() with TOP instead of CENTER; both do the
4649           same thing, but it works faster with TOP. (DLR)
4650   nanogetstr()
4651         - Don't let the user type in ASCII 127 at the statusbar prompt.
4652           (DLR)
4653   titlebar()
4654         - Fix problem with the available space for a filename on the
4655           titlebar's being short by one. (DLR)
4656   edit_add()
4657         - Fix problems with the marking highlight's being drawn
4658           improperly in some cases. (DLR)
4659   edit_update()
4660         - Tweak for efficiency and remove the fix_editbot() call. (David
4661           Benbennick)
4662   do_credits()
4663         - Update the copyright years to "1999-2003", to match those
4664           given in the rest of the code. (DLR)
4665 - configure.ac:
4666         - Change instances of "GNU Nano" to "GNU nano" for consistency.
4667           (DLR)
4668 - nano.1, nanorc.5, nano.texi:
4669         - Change all instances of $SYSCONFDIR to SYSCONFDIR, since
4670           SYSCONFDIR is set at compile time and can't be overridden by
4671           setting SYSCONFDIR in the environment. (David Benbennick)
4672         - Remove -K/--keypad, and document -d/--rebinddelete. (DLR)
4673         - Document the support for Esc Esc [character]'s being
4674           interpreted as Ctrl-[character], and the support for Pico's
4675           Esc Esc [three-digit decimal ASCII code] input method, if
4676           applicable. (DLR)
4677         - French translation by Jean-Philippe GuĂ©rard.
4678 - nano.1.html, nanorc.5.html:
4679         - Regenerated. (DLR)
4680 - nanorc.sample:
4681         - Remove duplicate "historylog" entry, remove "keypad" entry,
4682           and add "rebinddelete" entry. (DLR)
4683         - Update and add comments to the regexes for nanorc files.
4684           (Brand Huntsman)
4685         - Fix an attempt at a bright background color in the sample Java
4686           source regexes. (DLR)
4687         - Since tabs are shown as groups of spaces, they are interpreted
4688           as such when parsed by color regexes.  Accordingly, simplify
4689           regexes that handle both spaces and tabs to just handle
4690           spaces, as the results are the same. (DLR)
4691 - AUTHORS:
4692         - Updated to show 1.2/1.3 maintainers.
4694 - 1.3 tree forks here
4696 GNU nano 1.2.2 - 2003.08.11
4697 - General:
4698         - Translation updates (see po/ChangeLog for details).
4699         - Change uncast nrealloc()s assigned to char pointers/arrays to
4700           charealloc()s, and cast all other nrealloc()s and all
4701           nmalloc()s. (David Benbennick and DLR)
4702         - Remove gettext marks from all debug messages. Good for developers,
4703           better for translators. (Jordi)
4704         - Add translator comments on strings that should be short, like in
4705           status bar strings, etc. (Jordi)
4706 - utils.c:
4707   align()
4708         - Tweak to avoid a potential problem when strp is non-NULL but
4709           *strp is NULL. (David Benbennick)
4710   nstricmp(), nstrnicmp()
4711         - Add these functions, equivalent to strcasecmp() and
4712           strncasecmp(), and convert nano to use them when strcasecmp()
4713           and/or strncasecmp() are unavailable. (DLR)
4714 - winio.c:
4715   do_help()
4716         - Get rid of keypad_on() call for bottomwin, which should not be
4717           needed (DLR).
4718   nanogetstr()
4719         - Fix problem with search history where a temporary string
4720           added at the bottom of the history (but which was not in the
4721           history) would not be preserved after scrolling down to the
4722           blank bottom entry and then scrolling back up. (DLR)
4723         - Fix problem where pressing down,up,down does not blank the
4724           search prompt but keeps the previous search (DLR).
4725         - Handle Alt-[-F and H (DLR, fixed home and end not working with
4726           -K in statusbar).
4727 - configure.ac:
4728         - Change the program used to detect a broken regexec() function
4729           so that it works properly, using information found at
4730           http://sources.redhat.com/ml/libc-hacker/2001-06/msg00015.html.
4731           (DLR)
4732 - nanorc.sample:
4733         - Revised comment explaining the non-escaping of quotes to cover
4734           non-escaping of all shell-interpreted characters. (DLR)
4735         - Fixes to the descriptions and examples in the comments, and
4736           changes to some default values. (David Benbennick and DLR)
4737         - Add regexes for Perl syntax. (Richard Smith, tweaked for
4738           greater efficiency by David Benbennick)
4739         - Add regexes for Java source syntax. (David Benbennick)
4740           Regex for C++-style comments (colored the same way as C-style
4741           comments) added by DLR.
4742 - THANKS:
4743         - Added Laurentiu Buzdugan, for Romanian.
4744         - Added Geir Helland, for Norwegian BokmĂĄl.
4745 - TODO:
4746         - Move the items for nano 1.2 to the "Old Requests" section,
4747           and mark color syntax highlighting as done. (David Benbennick)
4748 - faq.html:
4749         - Added question about nano's not showing color when it's
4750           compiled with color support. (DLR; suggested by Jordi)
4751 - nano.1, nanorc.5:
4752         - Formatting improvements by Jean-Philippe GuĂ©rard.
4753         - Minor fixes by DLR.
4754 - nano.1.html, nanorc.5.html:
4755         - Regenerated from nano.1 and nanorc.5. (DLR)
4757 GNU nano 1.2.1 - 2003.04.19
4758 - General:
4759         - Translation updates (see po/ChangeLog for details).
4760         - Work around broken regexec() on some systems that segfaults
4761           when passed an empty string.  This is known to be in glibc
4762           2.2.3.  New function regexec_safe(). (David Benbennick)
4763         - Fix various bugs with search string history logging: don't
4764           print a broken error message and freeze if ~/.nano_history is
4765           unreadable, actually show an error message in save_history()
4766           if ~/.nano_history is unwritable, and prevent ~/.nano_history
4767           from being completely overwritten by save_history() if it's
4768           unreadable but writable. (David Benbennick)
4769         - Only unset KEEP_CUTBUFFER in main() when we do something other
4770           than cut text in the main input loop, instead of unsetting it
4771           all over the place (which, as written, didn't handle cases
4772           like a cut followed by M-Space properly).  Also, instead of
4773           checking for keyhandled's not being set inside the for loops,
4774           do it in if blocks surrounding the for loops to increase
4775           efficiency. (David Benbennick)  DLR: Also unset KEEP_CUTBUFFER
4776           if we hit a shortcut key other than the one for cutting text.
4777         - Make it so a marked cut immediately followed by an unmarked
4778           cut tacks the latter's text onto the end of the former's text
4779           instead of putting it on a new line, as Pico does. (DLR)
4780         - Convert instances of "(char *)nrealloc()" to the macro
4781           charealloc(), which does the same thing. (DLR)
4782         - Change justify_mode from a boolean int to a flag (DLR).
4783 - cut.c:
4784   do_cut_text()
4785         - Tweak where KEEP_CUTBUFFER is set so that a marked cut
4786           immediately followed by an unmarked cut preserves the
4787           cutbuffer between the two. (David Benbennick)  DLR: Also
4788           properly set KEEP_CUTBUFFER in tiny mode.
4789   do_uncut_text()
4790         - If we're about to uncut on the magicline, always make a new
4791           magicline in advance, as Pico does. (DLR)
4792 - global.c:
4793   shortcut_init()
4794         - Simplify the #ifdef used to enable file insertion in view mode
4795           if multibuffer support has been compiled in. (DLR)
4796 - nano.c:
4797   justify_format()
4798         - If we shave spaces off the end of the line, make sure totsize
4799           is properly updated. (DLR; much simplified by David
4800           Benbennick)
4801 - nano.h:
4802         - Simplify #ifdefs relating to HAVE_STRCASECMP and
4803           HAVE_STRNCASECMP. (David Benbennick)
4804 - search.c:
4805   goto_abort()
4806         - Removed, with all instances replaced with display_main_list(),
4807           since with the removal of all the scattered calls to
4808           SET(KEEP_CUTBUFFER), that function was all that was left of
4809           it. (DLR)
4810   do_find_bracket()
4811         - If a matching bracket wasn't found, call update_line() after
4812           setting current and current_x back to their original values,
4813           in case current_x's original value is greater than the width
4814           of the screen. (DLR)
4815 - winio.c:
4816   nanogetstr()
4817         - Remove a few unnecessary breaks occurring immediately after
4818           gotos, and properly interpret the up and down arrow keys when
4819           ALT_KEYPAD is set. (DLR)
4820 - configure.ac:
4821         - Enable autodetection of broken regexec(). (DLR) Re-added
4822           regex.h check to ensure compile under Debian w/autoconf 1.6.
4823 - README:
4824         - Update obsolete 1.1.x information.
4825 - TODO:
4826         - Fix typo. (David Benbennick)
4827 - faq.html:
4828         - Update RPM links for nano 1.2.x. (DLR)
4830 GNU nano 1.2.0 - 2003.02.19
4831 - General:
4832         - Translation updates (see po/ChangeLog for details).
4833 - files.c:
4834   read_file()
4835         - If the file we're loading has already been detected as a DOS
4836           or Mac formatted file, don't turn on NOCONVERT if we find
4837           binary chars in it.  This is because if it's detected as
4838           DOS/Mac format, at least one line has already been converted,
4839           so setting NOCONVERT (which is supposed to signal that none
4840           of the file should be converted) makes no sense. (DLR)
4841 - nano.c:
4842   justify_format()
4843         - Fix ugly behavior when wrapping spaces at the end of long
4844           words (David Benbennick).
4845 - nanorc.5:
4846         - Fix formatting error and update copyright year (Jordi).
4847         - Several enhancements (David Benbennick).
4849 GNU nano 1.1.99pre3 - 2003.02.13
4850 - General:
4851         - Translation updates (see po/ChangeLog for details).
4852         - Fix globals and externs such that nano will compile with
4853           DISABLE_SPELLER (David Benbennick).
4854         - Fix unreasonable fill values by wrapping at length 0 instead
4855           of erroring out, and don't start up if the window size is too
4856           small but fill is set reasonably.  Changes to
4857           nano.c:global_init(), window_init(), and handle_sigwinch().
4858           New macro MIN_EDITOR_COLS replaces MIN_FILL_LENGTH
4859           (David Benbennick).
4860         - Change ngettext macro to P_(), to avoid a clash with the
4861           reserved C __ identifier (Jordi).
4862         - Memory leak fixes for files.c:do_insertfile(),do_browser(),
4863           nano.c:do_spell(), and search.c:do_replace() (David
4864           Benbennick).
4865         - Remove do_preserve_msg, as using -p still gives Pico-style
4866           string behavior, so an annoying message every invocation is
4867           probably unneeded (all cheer).
4868         - Change resetpos function to be global (now called
4869           resetstatuspos.  Fixes annoying but small odd problem with
4870           cursor placement when inserting a file.  This needs to be done
4871           better in 1.3 (originally by David Lawrence Ramsey).  Added
4872           this issue to TODO.
4873 - files.c:
4874   cwd_tab_completion()
4875         - Memory leak fix (David Benbennick).
4876   input_tab()
4877         - Fix assumption that matches is null terminated (David
4878           Benbennick).
4879   load_history()
4880         - Fix segfault on loading huge strings from history file
4881           (David Benbennick).
4882   load_history(), save_history()
4883         - Changed to look at $HOME before getpwuid(geteuid()), see
4884           details in comment for rcfile.c:do_rcfile().
4885   real_dir_from_tilde()
4886         - Change check for the running user's home dir to use
4887           getpwuid(geteuid()) rather than a getpwent() loop
4888           (suggested by Jordi).
4889 - nano.c:
4890   breakable()
4891         - Fix incorrect return value on short lines (David Benbennick).
4892   do_help()
4893         - Fix line lengths not being computed properly, causes display
4894           glitches most noticeable with < 20 rows.  New function
4895           nano.c:line_len(). (David Benbennick).
4896   do_justify()
4897         - Add regfree() to quote regex (David Benbennick).
4898         - Only copy previous indent if AUTOINDENT is set (David
4899           Benbennick).
4900   do_suspend()
4901         - Fix untranslated message (David Benbennick).
4902   do_wrap()
4903         - Fix isspace() call to operate on int.
4904   help_init()
4905         - Fix crashing in do_help when COLS < 23 (David Benbennick).
4906   main()
4907         - Fix nano not compiling with ENABLE_RCFILE and DISABLE_TABCOMP
4908           (David Benbennick).
4909         - Silence annoying compiler messages about clobbering and
4910           uninitialized variables by moving variable inits to the top
4911           of main() and re-initializing them after the sigsetjmp().
4912 - rcfile.c:
4913   colortoint()
4914         - Don't bomb after invalid color and print bad color name
4915           (David Benbennick).
4916   colortoint, parse_colors()
4917         - Don't add strings with invalid fg colors at all.
4918   do_rcfile()
4919         - Revert (somewhat) previous behavior of looking at
4920           $HOME, and only run getpw* if it is NULL.  Most *nix programs
4921           seem to only care about $HOME, and at the user-level
4922           getpw* may not be reliable (and its slower).
4923 - search.c:
4924   do_gotoline()
4925         - Only goto_abort() if we *didnt* abort the command, making
4926           the function seem horribly misnamed ;-) (David Benbennick).
4927 - winio.c:
4928   browser_init(), striponedir(), do_browse_from()
4929         - Various memory leak fixes (David Benbennick).
4930   do_yesno(), do_help()
4931         - Add defined(NCURSES_MOUSE_VERSION) to macro so systems that
4932           don't understand MEVENT will compile.
4933   nanogetstr()
4934         - Remove unnecessary reset of x since it is now handled
4935           elsewhere (David Lawrence Ramsey).
4936   statusq()
4937         - Always blank the statusbar on exit (David Benbennick).
4938 - nano.1, nano.1.html:
4939         - Add initialization file comments, change some options from
4940           bracketed to underlined to emphasize that they are not
4941           optional.
4942         - Add SEE ALSO section (Jordi).
4943         - Moved nano.1 color and syntax sections to nanorc, pointed
4944           nano.1 to nanorc.5 for initialization file.  Changed
4945           nanorc.5 variables to be italics to match nano.1.  Added
4946           nanorc.5.html to CVS tree.
4947 - nanorc.5:
4948         - Add nanorc manpage, with descriptions of all available commands
4949           (Jordi).
4950 - nanorc.sample:
4951         - Make nanorc entry less tolerant of invalid colors.
4952 - nano.spec.in:
4953         - Change default flags to --enable-all.
4954 - THANKS:
4955         - Add Kalle Kivimaa and Kalle Olavi Niemitalo, for Finnish (Jordi).
4956 - UPGRADE:
4957         - Add upgrading information document for 1.0 users (Jordi).
4959 GNU nano 1.1.99pre2 - 2003.02.03
4960 - General:
4961         - Changed some translatable debug messages to use %s
4962           instead of the function name, and removed gettext from
4963           two strings that had no actual words in them that
4964           should be translated.  Suggested originally by
4965           Christian Rose.
4966         - Fix subexpression replacement to work consistently.
4967           Affects search.c:replace_regexp() and
4968           utils.c:strstrwrapper() (David Benbennick).
4969         - Fix cursor position being saved when escaping out
4970           of nanogetstr with keys like ^Y and ^V.  New arg
4971           resetpos to nanogetstr(), added static int
4972           resetpos in statusq() (bug found by DLR).
4973         - Fix constant curos updates from obliterating other
4974           system messages, and fix statusbar message length.
4975           Affects files.c:load_open_file(), nano.c:main(),
4976           search.c:findnextstr(), winio.c:statusbar() and
4977           do_cursorpos() (David Benbennick).
4978         - Fix nano crashing when searching/replacing an invalid
4979           regex (try "^*").  Changed regexp_init() to return
4980           1 or 0 based on regcomp()'s return value and search_init
4981           to exit with an error message (sorry Jordi!).  Added
4982           another check when using last_search instead of answer.
4983         - Move regcomp into rcfile.c rather than each display refresh
4984           of winio.c.  New function rcfile.c:nregcomp().
4985           This fixes much of nano's resource hogging behavior
4986           in syntax higlighting. (David Benbennick).
4987         - Fix justify failing for certain lines, new function
4988           nano.c:breakable() (David Benbennick).
4989         - Fix screen getting trashed on signals nano can catch
4990           (TERM and HUP).  New global variable curses_ended,
4991           changes to winio.c:statusbar() and nano.c:die()
4992           (David Benbennick).
4993 - cut.c:
4994   do_cut_text()
4995         - Fix incorrect cursor location when cutting long lines
4996           (David Benbennick).
4997 - files.c:
4998         - Set a default PATH_MAX for getcwd() etc calls (David
4999           Benbennick).
5000   do_browse_from()
5001         - Fix path checking to fix bad paths, escaping
5002           the operating directory, new function readable_dir() (David
5003           Benbennick).
5004   do_browser()
5005         - Fix incorrect path check for check_operating_dir()
5006           (David Benbennick).
5007         - Fix goto directory operating dir check and tilde expansion
5008           (David Benbennick).
5009         - Even more checks and operating dir fixes (David Benbennick).
5010   do_insertfile()
5011         - Add some more checks and fix recursion when toggling
5012           multibuffer (David Benbennick).
5013   open_file()
5014         - Fix FD leak with file load error (David Benbennick).
5015   add_open_file()
5016         - Revert the fix for the supposed minor logic error from before;
5017           it was keeping some updates from happening when they should,
5018           which was leading to segfaults with both multibuffer and view
5019           mode on. (DLR; found by David Benbennick)
5020   save_history()
5021         - Fix nrealloc return value being ignored (David Benbennick).
5022         - Fix off-by-one bug causing write to unallocated memory
5023           (David Benbennick).
5024 - global.c:
5025   thanks_for_all_the_fish()
5026         - Fix compiling with DEBUG and multibuffer (David Benbennick).
5027 - nano.c:
5028   do_char()
5029         - Remove unneeded check_statblank() (David Benbennick).
5030   do_int_spell_fix(), do_int_speller()
5031         - Fix crashes with mark position, current_x position,
5032           and edit_update args (David Benbennick).
5033   do_justify()
5034         - Unset KEEP_CUTBUFFER so nano won't crash with subsequent
5035           ^K cuts and justifies (David Benbennick).
5036   do_mouse()
5037         - Fix the mouse code to work with lines longer than COLS and
5038           with the proper positioning, including special characters
5039           (David Benbennick).
5040   do_preserve_msg():
5041         - Unsplit error message into a single fprintf call (Jordi).
5042   main()
5043         - Call load_file with arg 0 for insert, as we aren't really
5044           doing an insert, allows new_file() to run if we open a
5045           non-file at startup.
5046   usage()
5047         - Remove gettext markings from -p/--preserve (Jordi).
5048         - Revamp -H option message to fit in 80 column terminal.
5049   window_init()
5050         - Fix leaking *WINDOWs (no pun intended) (David Benbennick).
5051 - search.c:
5052   do_search(), do_replace_loop()
5053         - Fix edit_update call to use CENTER instead of current_x
5054           (related to David Benbennick's fixes for spelling).
5055   do_replace_loop()
5056         - Fix various bugs having to do with replace string length
5057           and positioning (David Benbennick).
5058   edit_refresh()
5059         - Fix cursor being above as well as below the current screen
5060           (David Benbennick).
5061 - winio.c:
5062   bottombars()
5063         - Change strcpy of gettext() "Up" string to strncpy of max
5064           width 8, to stop stupid strcpy crash.
5065   do_yesno()
5066         - Fix mouse interaction bugs with yes/no prompt (David Benbennick).
5067 - nanorc.sample:
5068         - Change comment to say magenta instead of purple.
5070 GNU nano 1.1.99pre1 - 2003.01.17
5071 - General:
5072         - New date format for NEWS and ChangeLog.
5073         - Completely removed PICO_MODE, as with the search/replace
5074           history patch we should have the extended functionality we can
5075           without being incompatible with Pico.  Removed all code for
5076           different search/replace string editing and alternate shortcut
5077           list.  I'm sure I won't even have to ask for feedback on this
5078           one :-)
5079         - Add in Pico's -p flag, (-p, --preserve).  To preserve the XON
5080           and XOFF keys (^Q and ^S).  Add warning if we invoke -p and
5081           add checks for using --preserve (to skip warning) and --pico
5082           (to force showing it).   New flag PRESERVE, function
5083           do_preserve_msg(), changes to main(), signal_init().
5084         - Search history and replace history up/down cursor arrows,
5085           w/history tab completion, not available w/NANO_SMALL.  Changes
5086           to statusq(), others (Ken Tyler).  Added shortcut to
5087           search/replace shortcuts so people will know it's there,
5088           forced KEY_UP and KEY_DOWN defs in nano.h (Chris, in case
5089           blame needs to be placed later).  Minor fixes by DLR: allow ^P
5090           and ^N as alternatives to the up and down arrows, make sure
5091           the "Up" shortcut is displayed properly in the help menu,
5092           remove a few bits of unneeded and/or warning-generating code,
5093           and fix some missing statusq() prompts with --enable-tiny.
5094         - Added search/replace history log.  Flag -H, --historylog.
5095           Flags HISTORY_CHANGED and HISTORYLOG (only room for one more
5096           flag!), added entries in nanorc.sample, new functions
5097           log_history and save_history (Ken Tyler).
5098         - Translation updates (see po/ChangeLog for details).
5099         - Forward-ported Chris' --disable-wrapping-as-root option from
5100           1.0.9.  Per Jordi's suggestions, have it override
5101           $SYSCONFDIR/nanorc but not ~/.nanorc. (DLR)
5102         - Change all references to /etc/nanorc in the documentation to
5103           $SYSCONFDIR/nanorc. (DLR)
5104         - Minor cosmetic tweaks to the ngettext() macro, and fix to
5105           properly detect systems lacking ngettext() and correctly
5106           compile on them; the previous fix didn't work. (DLR)
5107         - Fix problems with some code sections' not being #ifdef'ed out
5108           when they should be, or being #ifdef'ed out improperly. (David
5109           Benbennick and DLR)
5110         - Change FOLLOW_SYMLINKS to NOFOLLOW_SYMLINKS, and rework the
5111           associated logic accordingly, throughout the code. (David
5112           Benbennick)
5113         - Rework #ifdefs to not include mouse_init() at all if
5114           DISABLE_MOUSE is defined or NCURSES_MOUSE_VERSION isn't. (DLR)
5115         - For consistency, change many references of (!x) to (x == NULL)
5116           and (x) to (x != NULL). (DLR)
5117         - Define KEY_IC properly (and KEY_DC more portably) when slang
5118           support is enabled, and remove the hack to work around the
5119           former's not being defined. (David Benbennick and DLR)
5120         - Miscellaneous tweaks to update_color() calls, to make sure
5121           they're called at the right times and that refreshes are done
5122           afterwards only when needed. (David Benbennick)
5123         - Renamed [have_]past_editbuff [have_]search_offscreen. (DLR)
5124         - Add the "preserve" option to the nanorc file, to match
5125           nanorc.sample. (DLR)
5126         - Fixed awful scrolling in do_int_speller.  Problem was
5127           findnextstr() calling edit_update(), though screen updating
5128           is not its business.  Added checks in do_search() and
5129           do_replace_loop() to do the checks.  It really should not be
5130           done here, as some function in winio.c should handle this,
5131           but I can't seem to find a good place to put this check.
5132         - Updated all copyright notices to say 2003 rather than 2002, as
5133           nearly all the source files have been worked on this year
5134           (DLR).
5135 - configure.ac:
5136         - Added tr and eu to ALL_LINGUAS (Jordi).
5137         - Fix now inaccurate description of --enable-tiny's effects; it
5138           no longer disables NLS support. (DLR)
5139         - Fix typo. (David Benbennick)
5140         - Check for strcasecmp() and strncasecmp(), since they are
5141           apparently only standard under BSD. (DLR)
5142         - Small cleanups. Add copyright header, add autopoint support and
5143           define bug report address and full package name in AC_INIT. Move
5144           ALL_LINGUAS to po/LINGUAS, recommended place for gettext 0.11.
5145         - Added --enable-all option to compile in all the extra stuff
5146           we'd normally need extra flags for.
5147 - color.c:
5148   update_color():
5149         - Remove an unneeded edit_refresh() call after do_colorinit().
5150           (David Benbennick)
5151 - cut.c:
5152   do_cut_text()
5153         - Fix a memory corruption problem caused by accessing edittop
5154           after it was freed but before it was reset to a sane value
5155           from current. (David Benbennick)
5156   do_uncut_text()
5157         - If uncutting more than one line of unmarked text at editbot,
5158           don't center the screen, since Pico doesn't. (DLR)
5159         - If uncutting previously unmarked text, uncut to end if we're
5160           not at the beginning of the line, and set placewewant to 0 if
5161           we are.  This matches Pico's behavior. (DLR)
5162 - files.c:
5163   load_file()
5164         - Remove unneeded wmove() call. (David Benbennick)
5165   read_line()
5166         - Miscellaneous cleanups. (David Benbennick)
5167   open_file()
5168         - If we're in multibuffer mode and there's an error opening the
5169           file in read-only mode, display the error message on the
5170           statusbar regardless of the value of quiet. (DLR)
5171   read_file()
5172         - Miscellaneous cleanups. (David Benbennick)
5173         - Fix len's being off by one when reading in Mac-format files,
5174           exposed by one of David Benbennick's cleanups. (DLR)
5175         - If NO_CONVERT isn't set when we first enter, and it gets set
5176           while reading in the file, unset it again afterwards. (DLR)
5177   do_insertfile()
5178         - If we're in multibuffer mode and there's an error opening the
5179           file that we're trying to insert, close the new buffer that we
5180           made to hold it and reload the buffer we had open before.
5181           (DLR)
5182   add_open_file()
5183         - Fix minor logic error when determining when to resave fileage
5184           and filebot. (DLR)
5185   load_open_file()
5186         - If switching between files when CONSTUPDATE is set, only force
5187           a cursor position display update if DISABLE_CURPOS isn't set.
5188           This will ensure that the "Switching to [file]" messages are
5189           shown. (DLR)
5190   write_file()
5191         - Change lineswritten from a long to an int, to match
5192           filestruct->lineno. (DLR; mismatch found by David Benbennick)
5193   real_dir_from_tilde()
5194         - Since this is needed for proper interpretation of paths
5195           containing tildes and not just for tab completion, include and
5196           use it regardless of whether tab completion is disabled.
5197           (David Benbennick and DLR)
5198   input_tab()
5199         - Variable name change: matchBuf -> matchbuf. (DLR)
5200   diralphasort()
5201         - Remove the HAVE_STRCASECMP #ifdef block; see the changes to
5202           configure.ac and nano.h for why. (DLR)
5203 - global.c:
5204   thanks_for_all_the_fish()
5205         - Miscellaneous cleanups. (David Benbennick)
5206 - move.c:
5207   do_page_down()
5208         - If there's a page or less of text, do an edit_update() if the
5209           mark is on; otherwise, the highlight won't be displayed. (DLR)
5210 - nano.c:
5211         - Added free_history() list calls clean up, added init of list
5212           headers, and modified statusq() calls (Ken Tyler).
5213   do_prev_word()
5214         - Make the assert match that in do_next_word(). (DLR)
5215   do_enter()
5216         - If smooth scrolling is on, and Enter is pressed on the
5217           magicline, don't center the screen. (DLR)
5218   do_justify()
5219         - Fix memory corruption problem triggered when edittop and
5220           current->next pointed to the same value and current->next was
5221           destroyed during justification. (DLR)
5222         - Center the screen when justification moves the cursor entirely
5223           off the bottom of the screen, instead of when it moves the
5224           cursor near the bottom of the screen, to more closely match
5225           Pico's behavior. (DLR)
5226   version()
5227         - Remove obsolete reference to --enable-undo. (David Benbennick)
5228         - Move up check for --disable-nls as it's independent of
5229           --enable-tiny now (DLR).
5230   do_int_speller()
5231         - Make internal spell program use sort -f and uniq to create a
5232           less redundant word list.  [The only reason this is going in
5233           during feature freeze is because the int speller is useless as
5234           is and should either be improved or removed.  I chose
5235           improved].
5236         - Change all child error checks to use one goto (gasp!) called
5237           close_pipes_and_exit, so we don't leak FDs.
5238         - Fix FD leaks which occur outside of errors (David Benbennick).
5239   do_int_speller(), do_alt_speller()
5240         - Programs now return char *, NULL for successful completion,
5241           otherwise the error string to display.  This allows us to give
5242           more useful feedback to the user when spell checking fails.
5243   ABCD()
5244         - Renamed abcd(). (DLR)
5245   main()
5246         - Remove an unneeded do_colorinit() call, do major cleanups, and
5247           allow loading of multiple files on the command line when
5248           multibuffers are used. (David Benbennick)
5249 - nano.h:
5250         - Make sure NO_RCFILE and COLOR_SYNTAX aren't set to the same
5251           value. (DLR; discovered by Ken Tyler)
5252         - If strcasecmp() and/or strncasecmp() aren't available, use
5253           strcmp() and/or strncmp() instead. (DLR)
5254 - proto.h:
5255         - Fix the #ifdef block for DISABLE_TABCOMP's being undefined
5256           so that functions only used with tab completion are properly
5257           #ifdef'ed out. (DLR)
5258 - search.c:
5259   do_gotoline()
5260         - Don't call blank_statusbar_refresh() so if there's an error
5261           returned in multibuffer mode, we can actually see it.
5262   do_search()
5263         - Remove erroneously introduced near-duplicate call to
5264           update_history(). (DLR)
5265   print_replaced()
5266         - Remove and replace with an equivalent ngettext() call. (DLR)
5267   do_replace_loop()
5268         - Fix bug where if text on the magicline was replaced (which can
5269           be done via a regexp replace of "^$" with something other than
5270           ""), a new magicline wouldn't be created. (DLR)
5271         - Remove check for answer being a blank string, presumed to be
5272           a PICO_MODE holdover, but it stops us from doing a blank
5273           spelling replacement.
5274   do_replace()
5275         - For greater Pico compatibility, when an attempt to replace a
5276           string results in 0 replacements due to the string's not being
5277           found, display "[string] not found" instead of "Replaced 0
5278           occurrences". (DLR)
5279 - utils.c:
5280   is_cntrl_char()
5281         - Rework to fix a problem with displaying certain high-bit
5282           characters. (David Benbennick; reported by Andrzej Marecki)
5283   align()
5284         - Don't just assert that the string passed in isn't NULL; check
5285           that it isn't and only do the alignment when it isn't. (David
5286           Benbennick)
5287   nmalloc(), nrealloc()
5288         - If the size passed to nmalloc() or nrealloc() is zero, don't
5289           die with an erroneous out-of-memory error.  Also, change
5290           their dying messages to "nano is out of memory!". (David
5291           Benbennick)
5292   charalloc()
5293         - Removed and redefined as a macro that calls nmalloc(). (David
5294           Benbennick)
5295 - winio.c:
5296   nanogetstr()
5297         - Tweak to make the cursor stay in the same place if we hit a
5298           prompt-changing toggle while it's in the middle of the string.
5299           Reset it to -1 (so next time we come here, it'll be set to the
5300           end of the string) if we leave the prompt via Enter or Cancel.
5301           Also fix minor problem with search history where the current
5302           search item could be at the bottom of the history twice in a
5303           row under certain conditions. (DLR)
5304         - Remove parens in NANO_CONTROL_I check so nano won't complain if
5305           just NANO_SMALL is defined (David Benbennick).
5306   edit_refresh()
5307         - Miscellaneous cleanups that fix a bug where the screen
5308           isn't updated after uncutting chunks of upwardly marked cut
5309           text that are over a page in length. (David Benbennick)
5310   do_credits()
5311         - Add David Benbennick to credits. (DLR)
5312 - nanorc.sample:
5313         - Added comment to explain the non-escaping of quotes in
5314           color regexes, based on info provided by David Benbennick.
5315           (DLR)
5316         - Added some examples for groff and the nanorc courtesy of
5317           Robert D. Goulding.
5318         - Added double hash marks to comment lines, so people who
5319           uncomment the beginning of every line won't get syntax errors.
5320 - faq.html:
5321         - Miscellaneous fixes and updates for typos, broken links, and
5322           slashes at the end of directories.  It is now fully compliant
5323           with HTML 4.01 Transitional. (DLR and David Benbennick)
5324         - Added docs about the new unified search string interface and
5325           search histories, and added --enable-all into configure docs.
5326 - nano.texi:
5327         - Typo fixes and updates. (David Benbennick)
5328         - Updates for the most recent and not so recent changes.
5329 - nano.1, nano.1.html
5330         - Updated for the --preserve and --historylog options.
5331 - TODO
5332         - Added some wishlist stuff.
5333 - THANKS:
5334         - Added Doruk Fisek and Peio Ziarsolo (Jordi).
5336 GNU nano 1.1.12 - 10/24/2002
5337 - General:
5338         - Translation updates (see po/ChangeLog for details).
5339         - Remove malloc.h, as it's unneeded and just causes annoyances on
5340           *BSD systems.  Added stdlib.h to global.c.
5341         - Added Meta-Y toggle to disable/enable color syntax highlighting
5342           completely.  This may eventually be per-buffer, but that's too
5343           complicated for a feature freeze.
5344         - Disable VSTOP keystroke.  Stops people accidentally locking up
5345           nano (suggested by David Benbennick).
5346         - Pluralize messages with ngettext() where needed. (David
5347           Benbennick)  Tweaked to compile on systems lacking ngettext()
5348           by DLR (problem found by Ken Tyler).
5349         - Update nano.1 and nano.1.html to show that nano now does an
5350           emergency save on receiving SIGHUP or SIGTERM. (DLR)
5351         - Don't include "nowrap" in the long options if
5352           DISABLE_WRAPPING is defined. (DLR)
5353 - files.c:
5354   read_file()
5355         - Minor efficiency fixes, some of which fit in with the change
5356           to ngettext() usage mentioned above. (David Benbennick)
5357   do_browser()
5358         - Make sure the value of path is mallocstrcpy()ed into retval
5359           and not just assigned to it, to avoid memory corruption
5360           problems. (DLR)
5361 - nano.c:
5362   version()
5363         - If ENABLE_NLS isn't defined, display "--disable-nls"
5364           (suggested by Ken Tyler). (DLR)
5365   justify_format()
5366         - Make sure the double space maintained after sentence-ending
5367           punctuation is done when that punctuation is immediately
5368           followed by a bracket-type character, so justifying e.g.
5369           sentences in parentheses works properly. (David Benbennick)
5370   handle_hup()
5371         - Renamed handle_hupterm() to show that it now handles SIGTERM
5372           as well as SIGHUP. (DLR)
5373   signal_init()
5374         - Do an emergency save on receiving either SIGHUP or SIGTERM,
5375           not just SIGHUP. (David Benbennick)
5376   main()
5377         - Fix a problem where control key commands were printed
5378           literally instead of interpreted after a failed search of a
5379           one-line file. (David Benbennick)
5380 - proto.h:
5381   handle_hup()
5382         - Renamed handle_hupterm(); see above for why. (DLR)
5383 - winio.c:
5384   edit_add()
5385         - Fix a potential infinite loop occurring with certain
5386           zero-length regexes. (David Benbennick)
5388 GNU nano 1.1.11 - 10/01/2002
5389 - General:
5390         - Translation updates (see po/ChangeLog for details).
5391         - Upgraded to gettext 0.11.5 (Jordi).
5392         - Updated nano.1, nano.1.html, and nano.texi to fix an
5393           inaccuracy in the description of -Q/--quotestr. (DLR)
5394         - Set REG_EXTENDED in all regcomp() calls. (DLR)
5395         - Minor cosmetic code cleanups. (DLR)
5396         - Changed do_insertfile to (a) report multibuffer status at the
5397           prompt and allowing it to be toggled, taking into account the
5398           need to keep the translatable strings, and (b) added a
5399           variable inspath to keep track of what the string was before
5400           toggling.  I'm sure there's bugs, have at it.
5401         - Make sure all functions have prototypes in proto.h, and swap
5402           some functions around to put similar functions closer
5403           together (for this, rename clear_bottombars() to
5404           blank_bottombars()). (DLR; suggested by David Benbennick)
5405         - More changes of char *'s to const char *'s when possible.
5406           (David Benbennick)
5407         - Fix various minor memory leaks in files.c. (David Benbennick)
5408         - Fix minor problems with the operating directory code: set the
5409           operating directory properly if it's specified only in a
5410           nanorc file, and handle an operating directory of "/"
5411           properly.  New function init_operating_dir() to handle
5412           setting it both on the command line and in the nanorc file.
5413           (David Benbennick)
5414         - Major rewrite of color and screen update routines to fix
5415           minor bugs and increase efficiency.  New function
5416           set_colorpairs() for the former. (David Benbennick)
5417 - configure.ac:
5418         - Added pt_BR to ALL_LINGUAS (Jordi).
5419         - Changed --enable-color warning to be slightly less severe.
5420         - Put the configure options in more or less alphabetical order,
5421           and remove --enable-undo, since it doesn't do anything. (DLR)
5422 - files.c:
5423   open_file()
5424         - String change: "File "x" is a directory" -> ""x" is a
5425           directory". (Jordi)
5426   do_insertfile()
5427         - Disallow multibuffer toggling at the "Insert File" prompt if
5428           we're in both view and multibuffer mode, so as to keep proper
5429           integration between the two, and make sure the toggle
5430           actually works all the time otherwise.  Also, make sure
5431           TOGGLE_LOAD_KEY isn't referenced when NANO_SMALL and
5432           ENABLE_MULTIBUFFER are both defined. (DLR)
5433   open_prevfile_void(), open_nextfile_void()
5434         - Return the return values of open_prevfile() and
5435           open_nextfile(), respectively, instead of (incorrectly)
5436           calling them and returning 0. (DLR)
5437   real_dir_from_tilde()
5438         - Rework to use getpwent() exclusively and end reliance on
5439           $HOME.  Adapted from equivalent code in do_rcfile(). (DLR)
5440   input_tab()
5441         - Most likely fixed the check marked with FIXME, so that tab
5442           completion works properly when we're trying to tab-complete a
5443           username and the string already contains data. (DLR)
5444 - global.c:
5445   shortcut_init()
5446         - Disable the new multibuffer toggle at the file insertion
5447           prompt when NANO_SMALL and ENABLE_MULTIBUFFER are both
5448           defined. (DLR)
5449   thanks_for_all_the_fish()
5450         - Make sure the reference to help_text is #ifdefed out when
5451           --disable-help is used. (DLR)
5452 - move.c:
5453   page_up()
5454         - Fix bug where current is moved up two lines when the up arrow
5455           is pressed on the top line of the edit window; this causes a
5456           segfault if the top line in the edit window is the second
5457           line of the file, as the line current ends up on doesn't
5458           exist. (Jeff DeFouw)
5459   do_down()
5460         - Fix bug where, if the last line in the edit window is the
5461           line before the magicline, and smooth scrolling is turned
5462           off, pressing the down arrow on that last line centers the
5463           cursor without updating the edit window. (Jeff DeFouw)
5464 - nano.c:
5465   version()
5466         - Put the listed configure options in more or less alphabetical
5467           order. (DLR)
5468   open_pipe()
5469         - If we're in view mode here (in which case we're also in
5470           multibuffer mode), don't set the modification flag. (DLR)
5471   do_next_word(), do_prev_word()
5472         - If we're on the last/first line of the file, don't center the
5473           screen; Pico doesn't in the former case. (DLR)
5474   do_backspace()
5475         - Rework to call edit_refresh() regardless of the value of
5476           current_x if ENABLE_COLOR is defined, so that multiple-line
5477           color regexes are properly updated onscreen as they are in
5478           do_delete(). (DLR)
5479   do_delete()
5480         - Rework to only call edit_refresh() unconditionally if
5481           ENABLE_COLOR is defined; if it isn't, and we're not deleting
5482           the end of the line, only call update_line(). (DLR)
5483   do_wrap()
5484         - Make sure wrapping is done properly when the number of
5485           characters on the line is exactly one over the limit. (David
5486           Benbennick)
5487         - Restore the previous wrapping point behavior (pre 1.1.10)
5488           (David Benbennick).  Minor fix by DLR to prevent spaces from
5489           being added to the ends of lines ending in spaces or lines
5490           ending in tabs (the latter case found by David Benbennick).
5491   do_alt_speller()
5492         - Readd DLR's fix to preserve marking when using the alternate
5493           spell checker; it was accidentally dropped. (David
5494           Benbennick)
5495   do_justify()
5496         - Fix cosmetic problems caused when justifying on the
5497           magicline, and a minor problem where the cursor would
5498           sometimes be moved to the wrong line after justification.
5499           (David Benbennick)
5500   main()
5501         - When searching through the main shortcut list looking for a
5502           shortcut key, stop searching after finding one; this avoids a
5503           rare segfault. (DLR)
5504 - nano.h:
5505         - Change search toggles for case sensitive searching and regexp
5506           searching to M-C and M-R, respectively. (DLR; suggested by
5507           Chris)
5508         - Add support for HP-UX's curses, which doesn't seem to support
5509           KEY_HOME and KEY_END.
5510 - nanorc.sample:
5511         - Fix the c-file regex for all caps words to be extended regex
5512           format ({} instead of \{\}) (found by DLR).
5513         - Add a better string matching sequence that includes escaped
5514           quotes (thanks to Carl E. Lindberg, who doesn't even know he
5515           helped ;-).  Some unneeded \'s in that sequence removed, and
5516           a new sequence to handle multi-line quotes added, by David
5517           Benbennick.
5518         - Add some examples for HTML and TeX files (David Benbennick).
5519 - rcfile.c:
5520   parse_colors()
5521         - Stop infinite loop when syntax doesn't begin with " char.
5522 - utils.c:
5523   charalloc()
5524         - Switch from using calloc() to using malloc(). (David
5525           Benbennick)
5526 - faq.html:
5527         - Typo fix. (DLR)
5528 - AUTHORS:
5529         - Add David Benbennick. (Jordi and Chris)
5530 - TODO:
5531         - Add entry in the 1.4 section for Pico's paragraph searching
5532           ability (at the search prompt, ^W goes to the paragraph's
5533           beginning, and ^O goes to the paragraph's end). (DLR)
5535 GNU nano 1.1.10 - 07/25/2002
5536 - General:
5537         - Translation updates (see po/ChangeLog for details).
5538         - Upgraded to gettext 0.11.2 (Jordi).
5539           Removed intl/ entirely, and a few more tweaks by gettextize.
5540         - i18nized a few strings used in DEBUG mode. (DLR)
5541         - Some chars being assigned 0 are now assigned '\0'. (DLR)
5542         - Put header file #includes in a more consistent order. (DLR)
5543         - Remove some unneeded blank lines and spaces, and make some
5544           spacing more consistent. (DLR)
5545         - When possible, use iscntrl() to determine whether a character
5546           is a control character or not. (DLR)
5547         - Miscellaneous typo fixes. (DLR)
5548         - Many fixes to the help browser and shortcut lists: efficiency
5549           updates, consistency fixes, help text fixes and improvements,
5550           and spacing improvements. (David Benbennick)
5551         - Make some functions use const variables when possible, and
5552           also make them static when necessary. (David Benbennick,
5553           necessary redefined by Chris ;-)
5554         - Add Carl Drinkwater's backup file option (-B or --backup on the
5555           command line, M-B in nano's global shortcuts). If the original
5556           file is unchanged from when it was loaded, it is backed up to
5557           filename~; if the original file has been changed or deleted
5558           since it was originally loaded, it isn't backed up.  The backup
5559           file retains the permissions, owner/group, and
5560           access/modification times of the original file.  This option is
5561           disabled when --enable-tiny is used.  It will not back up
5562           temporary files.  Minor fixes to it by David Benbennick and
5563           DLR.  Changes to open_file(), add_open_file(),
5564           load_open_file(), write_file(), and do_writeout().
5565         - Add \n's to the ends of "filename is %s" debugging strings.
5566           (Carl Drinkwater)
5567         - Add the long option --quotestr as an alternative for -Q, and
5568           --regexp as an alternative for -R; they were listed in nano's
5569           usage information, but weren't actually in nano.  Also, display
5570           "-?" as an alternative for "-h" in nano's usage information,
5571           put the command line options in a more consistent (i.e. mostly
5572           alphabetical) order in nano, put the long options in a more
5573           consistent order in rcfile.c and nanorc.sample, don't include
5574           rcfile options if their equivalent command line options are
5575           disabled, and remove obsolete relative option from
5576           nanorc.sample. (DLR)
5577         - Change "File Name to Append/Prepend" to "File Name to
5578           Append/Prepend to".  The original prompt could confusingly
5579           imply that we are appending/prepending another file to the
5580           current file, when we are actually appending/prepending the
5581           current file to another file. (DLR)
5582         - Put nano.1, nano.1.html, and nano.texi up to date, and fix a
5583           few inconsistencies in them. (DLR)
5584         - Typo fixes for the ChangeLog. (David Benbennick and DLR)
5585         - Complete rewrite of justification code to fix some bugs and
5586           improve its functionality. (David Benbennick)
5587         - If a variable isn't going to be used in tiny mode, #define it
5588           out when possible. (David Benbennick)
5589         - Major reworking of the cutting/screen-updating code in cut.c,
5590           some functions in utils.c, the cursor placement code in
5591           winio.c, and many, many other areas to increase efficiency.
5592           (David Benbennick)
5593         - Rework handling of prompts when there's a list of partial
5594           filename matches on the screen: remove kludgy case-by-case
5595           handling (which didn't even handle every case), and have
5596           statusq() handle it directly for all cases. (David Benbennick
5597           and DLR)
5598         - Fix some warnings and errors that show up when using gcc's
5599           -pedantic option. (DLR)
5600         - Add a comment to nanorc.sample warning that an out-of-range
5601           negative value for fill can make nano die complaining that
5602           the screen is too small (which may not be immediately
5603           obvious). (DLR)
5604         - There were some opendir() calls in files.c without
5605           corresponding closedir() calls; add them. (DLR)
5606         - Move align() and null_at() from nano.c to utils.c, and move
5607           the openfilestruct handling functions from nano.c to files.c.
5608           (DLR)
5609         - In color.c, start the "#ifdef ENABLE_COLOR" block after
5610           including all the header files, as rcfile.c does; this fixes
5611           a warning about ANSI C'S inability to handle blank files.
5612           (DLR)
5613         - Add new function is_cntrl_char() as a wrapper for iscntrl();
5614           this is needed to treat ASCII 0x80-0x9f as control characters
5615           consistently.  (Without this, they will only be treated as
5616           such when gettext is used; when it isn't used, they will be
5617           printed as-is and be interpreted as commands by xterm, which
5618           will corrupt the display.) (DLR)
5619         - Add command line option -I/--ignorercfiles to ignore
5620           $SYSCONFDIR/nanorc and ~/.nanorc. (Carl Drinkwater).   Fix to
5621           parsing getopt args (DLR).
5622         - Fix minor bugs with importing certain text files in Mac
5623           format. (DLR)
5624 - files.c:
5625   append_slash_if_dir(), input_tab()
5626         - Changed variable names: lastWasTab -> lastwastab, matchBuf ->
5627           matchbuf. (DLR)
5628   check_operating_dir()
5629         - Memory leak fix. (David Benbennick)
5630   check_writable_directory()
5631         - Optimizations (David Benbennick).
5632   cwd_tab_completion()
5633         - Changed a variable name: dirName -> dirname. (DLR)
5634   do_browser()
5635         - Optimizations and mouse selection fixes (David Benbennick).
5636   do_writeout()
5637         - Fix problem with formatstr's being defined as NULL when
5638           --enable-tiny is used.  Since formatstr isn't ever used in tiny
5639           mode, don't bother even creating the variable. (David
5640           Benbennick and DLR)
5641   do_insertfile()
5642         - Memory leak fix (accidentally dropped 1st time).
5643           (David Benbennick).
5644   get_full_path()
5645         - Memory leak fix.  Also, make it properly interpret ~/ notation
5646           so, among other things, the option "--operatingdir ~" works.
5647           (David Benbennick)
5648         - More optimizations (David Benbennick).
5649   new_file()
5650         - Make sure current_x is zero; this fixes a problem where the
5651           current cursor position wasn't reset when reading in a file in
5652           multibuffer mode. (David Benbennick)
5653         - Use make_new_node rather than setting up fileage by hand
5654           (David Benbennick).
5655   read_file(), read_line()
5656         - Rework to properly handle nulls in the input file, fix
5657           detection of binary files to properly mark a file as binary if
5658           the only binary characters it contains are ASCII 127's, and
5659           after reading the last line of a file that doesn't end in a
5660           newline, increment totsize.  Remove previous kludge to set
5661           totsize properly. (DLR)
5662   write_file()
5663         - Rework to properly handle nulls in the input file.  When
5664           appending/prepending, don't change the current file's name to
5665           the name of the file it's being appended/prepended to.  When
5666           writing a marked selection to a file, save and restore totsize
5667           so it isn't decreased by the size of the selection afterward.
5668           (DLR)
5669         - Optimizations (David Benbennick).
5670 - global.c:
5671   free_toggles()
5672         - Only include if we're not using tiny mode. (David Benbennick)
5673   toggle_init()
5674         - Remove global entries for search toggles, as they aren't really
5675           global. (DLR)
5676         - Don't reinititialize the toggles if they've already been
5677           initialized; it's unnecessary and even causes a segfault in
5678           do_toggle() if Pico emulation mode is the toggle in question.
5679           Don't free the toggles here, either; it's unnecessary after the
5680           above change. (David Benbennick)
5681         - If wrapping is disabled, don't include the toggle for it.
5682           (DLR)
5683   shortcut_init()
5684         - Rework IFHELP macro (David Benbennick).
5685 - move.c
5686   page_down(), page_up()
5687         - Put sanity checks for current_x back in, to avoid rare
5688           segfaults (oops). Now, however, they are only called when
5689           placewewant is zero instead of being called unconditionally;
5690           see changes to winio.c:actual_x_from_start() below. (DLR)
5691 - nanorc.sample:
5692         - Put in much less crappy example regex rules for c-file.
5693 - nano.c:
5694   clear_filename()
5695         - Remove this function, as it has unneeded functionality, is
5696           short enough to be inlined, and is only called in two spots
5697           anyway. (DLR)
5698   die()
5699         - Rework slightly to remove redundant printing of last message
5700           and print all messages after resetting the terminal. (DLR)
5701   do_backspace()
5702         - Make sure placewewant is set properly, and that the mark is
5703           moved backwards. (David Benbennick)
5704   do_char()
5705         - Fix a problem where, if ENABLE_COLOR wasn't used, typing
5706           characters on a marked line before the beginning of the mark
5707           would make the highlight short by one. (David Benbennick)
5708   do_cont()
5709         - Handle the case where the window was resized while we were
5710           stopped. (David Benbennick)
5711   do_delete()
5712         - Make sure placewewant is set properly, to match Pico's
5713           behavior. (DLR)
5714   do_int_spell(), do_alt_spell()
5715         - Rework to save the marked selection before doing spell checking
5716           and restore it afterward. (DLR)
5717   do_next_word(), do_prev_word()
5718         - Fix a problem where highlighting isn't done properly after
5719           calling either of these, and another problem where the cursor
5720           would move back too far in certain cases with do_prev_word().
5721           (David Benbennick)
5722   do_toggle()
5723         - Since the search mode toggles aren't global anymore, we don't
5724           need to explicitly block them here anymore (which will end up
5725           blocking the global backup mode toggle, which is the same as
5726           the backwards search toggle). (DLR)
5727   do_wrap()
5728         - fill fixes and 'two short word wrap' bug (David Benbennick).
5729   global_init()
5730         - Call die_too_small() when fill is 0. (DLR)
5731   handle_sigwinch()
5732         - Make sure we adjust fill when the window is resized. (David
5733           Benbennick)
5734         - Call die_too_small() when fill is 0. (DLR)
5735   help_init()
5736         - Since the return value of snprintf() isn't well defined, use
5737           sprintf() instead. (David Benbennick)
5738   main()
5739         - Rework to blank out filename manually before doing anything
5740           with it, instead of calling clear_filename() in two places.
5741           Make startline an int instead of a long, since it's supposed to
5742           hold a line number. (DLR)
5743         - Properly handle multiple -r settings on the command line. (Carl
5744           Drinkwater)
5745         - Fix a bug that prevented file insertion via the Insert key
5746           from working at all when --enable-multibuffer wasn't used
5747           (oops). (DLR)
5748         - Adapt David Benbennick's fix to get fill to accept negative
5749           numbers properly in parse_rcfile() (see below) to the
5750           handlers for the -r and -T options as well, so that -r/-T 0
5751           can be treated separately from -r/-T string. (DLR)
5752         - Fix so that Esc-Esc-Space is properly treated as Ctrl-Space.
5753           (DLR)
5754   usage()
5755         - List the options that are ignored for the purpose of Pico
5756           compatibility, and make some minor consistency fixes. (DLR)
5757 - nano.h:
5758         - Fix some space/tab formatting for flags (DLR).
5759 - proto.h:
5760         - Remove external declaration of the global int fill, since
5761           it's now static. (DLR)
5762 - rcfile.c:
5763   parse_rcfile()
5764         - Add David Benbennick's fix that allows fill to accept
5765           negative numbers properly.  Specifically, use strtol() there
5766           instead of atoi() so that errors can be detected.  Also
5767           adapted for tabsize by DLR.
5768   parse_next_regex(), colortoint()
5769         - Only include if ENABLE_COLOR is defined. (DLR)
5770 - search.c:
5771   search_init()
5772         - Since the search mode toggles aren't global anymore, rework the
5773           part of this function referencing them so that they still work.
5774           (DLR)
5775         - Remove unneeded toggles variable. (David Benbennick)
5776         - Fix a problem where the first character of buf was overwritten
5777           if the last search string was one third the number of columns
5778           plus one. (David Benbennick)
5779   findnextstr()
5780         - Update the current line at current_x if we don't find a match.
5781           Also, pass current_x_find to strstrwrapper() so we know whether
5782           we're at the beginning of a string or not (see changes to
5783           strstrwrapper() below), and reset it between lines. (DLR)
5784   do_gotoline():
5785         - Make sure placewewant is zero after we go to a line. (David
5786           Benbennick)
5787   do_gotopos()
5788         - Simplify the sanity check to only put x within the range of the
5789           current line; don't call actual_x() anymore. (DLR)
5790 - utils.c:
5791         - Add sunder() and unsunder().  These functions convert nulls
5792           other than the terminating null in strings to newlines and
5793           back; they're used to handle null characters in files properly.
5794           (DLR)
5795   lowercase()
5796         - Remove, since it isn't actually used anywhere. (David
5797           Benbennick)
5798   strstrwrapper()
5799         - Set REG_NOTBOL when we're not at the beginning of a
5800           string, to avoid false positives when searching for regular
5801           expressions prefixed with ^. Make it take a new parameter,
5802           line_pos, to determine where we are in the string. (DLR)
5803   check_wildcard_match()
5804         - Changed variable names: retryPat -> retrypat, retryText ->
5805           retrytext. (DLR)
5806 - winio.c:
5807   actual_x_from_start()
5808         - Overhaul to make cursor placement more like that of Pico: add
5809           sanity check for i, and then place i as close to the value of
5810           xplus column as possible.  This change is most noticeable when
5811           moving down through binary files. (DLR)
5812   do_credits()
5813         - Fix for the i18ned credits so it will compile with -pedantic
5814           (DLR & Chris).
5815   do_help()
5816         - Add support for the handled keyboard escape sequences in the
5817           help menu, as they are needed with some terminals (e.g. xterm
5818           with TERM=ansi). (DLR)
5819   edit_refresh()
5820         - Turn on leaveok() so the cursor doesn't bounce around the
5821           screen while we're updating it (most noticeable when using
5822           color syntax over a very slow connection).
5823   do_replace_highlight()
5824         - When using regexps, make sure the highlight is the length of
5825           the search result and not the regexp string. (DLR)
5826   nanogetstr()
5827         - After the user presses Enter at the prompt, refresh the edit
5828           window in case there's a list of possible filename matches
5829           (left over from attempted tab completion) on it. (DLR)
5830   statusbar()
5831         - Limit statusbar display to the number of columns less four, and
5832           don't allow it to go over its original row. (David Benbennick)
5833   titlebar()
5834         - Tweak text spacing and printing so that the titlebar text looks
5835           better on smaller terminals. (Carl Drinkwater)
5836   update_line()
5837         - When marking control characters, make sure the mark moves
5838           forward by two characters instead of one.  Rework control
5839           character display routine to display newlines within the line
5840           (which should never occur under normal circumstances; they will
5841           only be there if the line had nulls in it and was unsunder()ed
5842           beforehand) as ^@'s. (DLR)
5843         - Fix to properly treat ASCII 128-159 as control characters.
5844           (DLR)
5845 - configure.ac:
5846         - Added ms to ALL_LINGUAS (Jordi).
5847         - Merged acconfig.h in (Jordi).
5848         - Fixed so that --enable-debug defines DEBUG and undefines
5849           NDEBUG. (Carl Drinkwater)
5850 - THANKS:
5851         - Completed a bit (Jordi).
5852         - Fixed David Benbennick's email address. (David Benbennick)
5853         - Typo fix. (DLR)
5855 GNU nano 1.1.9 - 05/12/2002
5856 - General:
5857         - Typos n misspellings all over the place (David Benbennick).
5858         - Allow --tiny and --multibuffer to cooperate (who the heck
5859           would want this is beyond me but ;-).  Changes to
5860           configure.ac, global.c, ,  (David Benbennick).
5861         - Change to openfilestruct for multibuffer mode by DLR.
5862           New functions nano.c:make_new_opennode(), free_openfilestruct(),
5863           delete_opennode(), unlink_opennode(), splice_opennode(),
5864           new struct openfilestruct in nano.h.
5865         - Preliminary prepend code.  This may be a bad idea, but I've
5866           been wanting it for awhile now and we'll see how bad it messes
5867           everything up.  Changes to files.c:do_writeout(), write_file().
5868           Fixes for O_CREAT & append compatibility by David Benbennick.
5869         - Change from read() and write() to file streams by Jay Carlson.
5870           Allows OS to implement read and write ahead rather than making
5871           us do it.  Hopefully merged properly.
5872         - More cleanups with DISABLE flags, better free_shortcutage and
5873           free_toggle, and get rid of unnecessary variable decls with
5874           NANO_SMALL in shortcut_init() by David Benbennick.
5875         - Added "syntax" command to .nanorc file, to allow multiple
5876           syntaxes.  New function color.c:update_color(), calls in various
5877           files.c places, syntaxtype struct, global variables syntaxes,
5878           syntaxfile_regexp and synfilematches.  Global flag -Y ,--syntax
5879           to specify the type on the command line, if there's no good
5880           filename regex to use.  Global variable syntaxstr.
5881         - Changed many strcmp()s and strcpy()s to their equivalent
5882           '\0' counterparts (David Lawrence Ramsey).
5883         - Many changes to allow marked cutting to work with multiple
5884           file buffers: changes to openfilestruct type in nano.h and
5885           files.c (David Lawrence Ramsey).
5886         - Changed NANO_SMALL to ENABLE_NLS for gettext disabling
5887           (David Benbennick).
5888         - Move next_key and pev_key definitions out of main() and into
5889           global.c where they belong (David Benbennick).
5890 - color.c:
5891   update_color()
5892         - Add regfree call here to avoid memory leaks.
5893 - configure.ac:
5894         - Define NDEBUG to silence asserts (David Benbennick).
5895 - files.c:
5896   get_next_filename()
5897         - Optimizations (David Benbennick).
5898 - global.c:
5899   shortcut_init()
5900         - Add missing free_shortcutage()s (David Benbennick).
5901   thanks_for_all_the_fish()
5902         - Only defined when using DEBUG, makes sense (David Benbennick).
5903 - nano.c:
5904   die_save_file()
5905         - Add missing free (David Benbennick).
5906   do_justify()
5907         - Optimizations (David Benbennick).
5908   do_wrap()
5909         - Complete rewrite (David Benbennick).
5910   help_init()
5911         - A little less readable, a lot shorter :-) (David Benbennick).
5912         - Fix Meta-A not getting capitalized, and convert the ASCII
5913           #s to their character equivalent.
5914   main()
5915         - Changed charalloc(), strcpy()s to mallocstrcpy()s.
5916 - nano.h:
5917         - NANO_ALT_COMMAND and NANO_ALT_PERIOD were reversed (lol)
5918           (David Benbennick).
5919 - nano.spec.in:
5920         - Don't put Chris' name as the Packager in the distribution
5921           by default (Im an idiot).
5922         - Fixed Source line (David Lawrence Ramsey).
5923 - nano.1:
5924         - Changed references to Debian GNU/Linux to Debian GNU (Jordi).
5925 - nano.1.html:
5926         - Updated for -Y option (David Lawrence Ramsey).
5927 - rcfile.c:
5928         - Made some rc file errors less fatal.
5929         - Added in my patch for getpwent instead of relying on $HOME
5930           (David Lawrence Ramsey).
5931 - winio.c:
5932   edit_add()
5933         - Changed some syntax highlight computations for the sake of COLS.
5934         - Add in the necessary regfree() calls to stop nano from leaking
5935           memory like a sieve when using color syntax highlighting :-)
5936   bottombars(), onekey()
5937         - Cleanups (David Benbennick).
5938 - po/gl.po:
5939         - Galician translation updates (Jacobo Tarrio).
5940 - po/de.po:
5941         - German translation updates (Michael Piefel).
5942 - po/fr.po:
5943         - French translation updates (Jean-Philippe GuĂ©rard).
5944 - po/ca.po, po/es.po:
5945         - Catalan and Spanish translation updates (Jordi).
5946 - po/sv.po:
5947         - Swedish translation updates (Christian Rose).
5948 - po/nl.po:
5949         - Dutch translation updates (Guus Sliepen).
5950 - po/it.po:
5951         - Italian translation updates (Marco Colombo).
5952 - po/ru.po, po/uk.po:
5953         - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
5954 - po/id.po:
5955         - Indonesian translation updates (Tedi Heriyanto).
5956 - po/sv.po:
5957         - Swedish translation updates (Christian Rose).
5959 GNU nano 1.1.8 - 03/30/2002
5960 - General
5961         - Type misalignments and mem leaks in renumber_all, do_justify
5962           and do_spell (Rocco & Steven Kneizys).
5963         - New "External Command" code, originally by Dwayne Rightler,
5964           various fixes and changes by Chris, Rocco and David Benbennick.
5965           New function nano.c:open_pipe() and signal handler cancel_fork(),
5966           changes to do_insertfile(), new list extcmd_list, cmd is
5967           ^X after ^R.
5968         - Added separate regex variable (color_regex and colormatches)
5969           so that color syntax and regex search/replace can coexist.
5970         - Added new nano.spec file from Brett <brett@bad-sports.com>,
5971           added because maintaining the spec file is getting to be a large
5972           hassle ;)
5973 - files.c:
5974   check_writable_directory()
5975         - Stat full_path, not path (Steven Kneizys).
5976   open_pipe()
5977         - I18nize the pipe error (DLR).
5978   do_insertfile()
5979         - Handle cancel from ExtCmd properly (David Benbennick).
5980   read_file()
5981         - Abort if we read a file of 0 lines (num_lines == 0), fixes BUG #70.
5982         - Reverse tests to stop segfault on editing a new file of 0
5983           lines (David Benbennick)
5984         - Change input var to one char instead of array (David Benbennick).
5985         - Move NO_CONVERT check up so chars get read in properly (DLR).
5986 - nano.c:
5987   do_justify()
5988         - More fixes for indented justify (David Benbennick).
5989   do_int_speller()
5990         - Fix zombie processes and spelling buffer issues (Rocco Corsi).
5991   help_init()
5992         - Capitalize Meta altkeys.
5993         - Various fixes and string changes.
5994   main()
5995         - Put NANO_SMALL defines around toggle pointer (noticed by Jordi);
5996   usage()
5997         - Rewritten to encompass systems with and without GETOPT_LONG.
5998           New function print1opt does most of the dirty work, stops
5999           duplication of effort and eases translator's jobs.  Also
6000           breaks all the current translations ;-)
6001 - proto.h:
6002         - Missing externs (Rocco).
6003 - rcfile.c:
6004   do_rcfile()
6005         - Reset lineno between system and local .nanorc file.
6006         - Fix errno->strerror(errno) mismatch.
6007   parse_rcfile()
6008         - Don't use i for both for loop and atoi(), fixes lots of
6009           potential crashes, 1st reported by Jean-Philippe GuĂ©rard.
6010   rcfile_error()
6011         - Don't print out the file name if we haven't opened the file
6012          yet (lineno == 0).
6013 - search.c:
6014   search_init()
6015         - Fix a missing free (Rocco).
6016   do_gotoline()
6017         - Set placewewant if we actually move to a different line.
6018 - utils.c:
6019   stristr()
6020         - Defined regardless of NANO_SMALL (noticed by Jordi).
6021   nperror()
6022         - New wrapper for perror (David Benbennick).
6023 - winio.c:
6024   do_credits()
6025         - Add Thomas Dickey.
6026   do_cursorpos()
6027         - Make col numbering start from 1 (suggested by Andrew Ho).
6028   update_line(), xpt()
6029         - Add check for 127 (DLR).
6030 - po/sv.po:
6031         - Swedish translation updates (Christian Rose).
6032 - po/de.po:
6033         - German translation updates (Michael Piefel).
6034 - po/id.po:
6035         - Indonesian translation updates (Tedi Heriyanto).
6036 - po/it.po:
6037         - Serious typo.
6038 - po/ca.po, po/es.po:
6039         - Catalan and Spanish translation updates (Jordi).
6040         - Typo (DLR).
6041 - po/fr.po:
6042         - French translation updates (Jean-Philippe GuĂ©rard).
6043 - po/gl.po:
6044         - Galician translation updates (Jacobo Tarrio).
6045 - po/uk.po, po/ru.po:
6046         - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
6047 - po/pl.po:
6048         - Polish translation updates (Wojciech Kotwica).
6049 - po/fr.po:
6050         - French translation updates (Jean-Philippe GuĂ©rard).
6051 - po/it.po:
6052         - Italian translation updates (Marco Colombo).
6053 - po/da.po:
6054         - Danish translation updates (Keld Simonsen).
6055         
6056 GNU nano 1.1.7 - 03/05/2002
6057 - General
6058         - malloc->calloc, etc cleanups (DLR).
6059         - New option, noconvert (-N, --noconvert) to completely stop
6060           the translation of files from DOS or Mac format (DLR).
6061         - New functions check_writable_directory() and safe_tempnam()
6062           to get around the tempnam warning. More improvements (DLR)
6063           Still needs testing.
6064         - Added DOS and Mac format options to write file routine.
6065           Changes to shortcut_init() and do_writeout(). 
6066         - Removed stupid static definitions of toggles and shortcut
6067           lists.  Many changes to shortcut_init(), toggle_init(),
6068           statusq(), nanogetstr(), main(), and many other places.
6069         - Multibuffer mode now allows multiple empty filenames.
6070           Changes to add_open_files(), removed open_file_dup_search(),
6071           open_file_dup_fix(), etc (DLR).
6072         - New code to handle multiple .save files.  Changes to
6073           die_save_file(), new function files.c:get_next_filename()
6074           and utils.c:num_of_digits(). (Dwayne Rightler, DLR & Chris)
6075         - Many malloc() cleanups and files.c tweaks by Steven Kneizys,
6076           new functions utils.c:free_shortcutage() (got to love that
6077           name!) & free_toggles(), and big cleanup program
6078           thanks_for_all_the_fish() (originally
6079           thanks_for_the_memories()).  Mods to shortcut_init() by Chris.
6080         - Preliminary quoting support for justify.  New arg -Q,
6081           --quotestr, changes to do_justify(), global variable
6082           quotestr().
6083 - Makefile.am:
6084         - Add SYSCONFDIR to DEFS, so we can have a $SYSCONFDIR/nanorc.
6085         - Change localedir line to 1.0's version.
6086         - Moved m4/ stuff to its own m4/Makefile.am.
6087 - m4/aclocal_inc.m4:
6088         - New macro AM_ACLOCAL_INCLUDE, tells configure.ac where to look
6089           for macros (Gergely Nagy).
6090 - configure.in:
6091         - Renamed to configure.ac.
6092 - configure.ac:
6093         - Moved to autoconf 2.52 (Jeff Bailey).
6094         - Added call to AM_ACLOCAL_INCLUDE.
6095 - files.c:
6096   read_byte()
6097         - Added check for control characters (indicative of a binary
6098           file), set NO_CONVERT if found (fixes by DLR).
6099  do_insertfile()
6100         - Added support for -o in prompt (Steven Kneizys).
6101 - global.c:
6102         - Move openprev and opennext functions to shortcuts, they really
6103           aren't toggles (DLR).
6104 - rcfile.c:
6105   parse_next_regex()
6106         - Allow " symbol to be in regex without leading \ by checking
6107           for *ptr+1 is not the end of the regex.
6108   do_rcfile()
6109         - Parse rcfile in $SYSCONFDIR as well (Dwayne Rightler).
6110 - nano.1:
6111         - Added Noconvert option to man page (DLR).
6112 - nano.c:
6113   justify_format(), do_justify()
6114         - Various fixes for starting blank spaces, spaces after
6115           punctuation, & segfault with quoting strings (David Benbennick).
6116   do_justify()
6117         - Don't continue to justify string if it's indented more
6118           (quoting wise) than the beginning of the justification.
6119   help_init()
6120         - Added message re: having multiple blank buffers (DLR).
6121   main()
6122         - Add 407 as equiv of 26, this seems to be sent when using
6123           ^Z in linux console with keypad() enabled.
6124 - rcfile.c:
6125         - Get rid of unneeded relativechars from rcopts (DLR).
6126 - search.c
6127   do_replace(), findnextstr()
6128         - Fixes for various search issues (Ken Tyler)
6129 - winio.c:
6130   do_cursorpos()
6131         - Rewritten to show col place as well as character place, without
6132           needing an entirely separate flag.
6133   bottombars(), onekey()
6134         - Make bottom list dynamic with screen size (Guus Sliepen & Chris).
6135         - More cleanups w/width of shortcut.
6136 - utils.c:
6137   strcasestr(),revstrcasestr()
6138         - Renamed to stristr and revstristr since strcasestr has not
6139           been confirmed to be detected properly on various Linux
6140           systems.
6141   strstrwrapper()
6142         - NANO_SMALL test was backwards (Ken Tyler).
6143 - winio.c:
6144   strlenpt()
6145         - Changed main function to strnlenpt() for new justify changes,
6146           original function now just a stub.
6147 - nanorc.sample
6148         - Mention unset in the sample nanorc.
6149 - po/ca.po, po/es.po:
6150         - Catalan and Spanish translation updates (Jordi).
6151 - po/sv.po:
6152         - Swedish translation updates (Christian Rose).
6153 - po/fr.po:
6154         - French translation updates (Jean-Philippe GuĂ©rard).
6155 - po/nn.po:
6156         - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
6157 - po/de.po:
6158         - German translation updates (Michael Piefel).
6159 - po/it.po:
6160         - Italian translation updates (Marco Colombo).
6161 - po/cs.po:
6162         - Partial Czech translation updates (Vaclav Haisman).
6163 - po/hu.po:
6164         - Hungarian translation updates, or to be precise, rewrite
6165           (Gergely Nagy).
6166 - po/uk.po, po/ru.po:
6167         - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
6168 - po/da.po:
6169         - Danish translation updates (Keld Simonsen).
6170 - po/nb.po:
6171         - Norwegian bokmĂĄl translation updates (Stig E Sandoe).
6172 - po/nl.po:
6173         - Dutch translation updates (Guus Sliepen).
6174 - po/pl.po:
6175         - Polish translation updates (Wojciech Kotwica).
6177 nano-1.1.6 - 01/25/2002
6178 - General
6179         - Add Meta-A as alternate keystroke for ^^ for people with
6180           non-US keyboards.
6181         - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in
6182           browser.
6183         - Better partial word checking code. New function
6184           search.c:is_whole_word(), changes to findnextstr(),
6185           and nano.c:do_int_spell_fix() (Rocco Corsi).
6186         - Added multiple-line regex support.  Format in .nanorc is
6187           start="regex" end="regex".  Cleaned up nanorc:parse_colors(),
6188           added parse_next_regex(), changes to edit_add in winio.c(),
6189           changes to colortype, cleaning up some old cruft.
6190         - Upgrade to gettext 0.10.40, probably broke everything again :)
6191         - Upgraded to and then downgraded from automake 1.5, as there
6192           are severe security implications.
6193 - color.c:
6194   do_colorinit()
6195         - Moved some comments and braces around so color can work
6196           w/slang (DLR).
6197 - global.c:
6198   shorcut_init()
6199         - Replace hard coded ALT_G and ALT_H values in the replace
6200           and goto shortcuts with their macro counterparts NANO_ALT_*_KEY.      
6201 - nano.c:
6202   usage()
6203         - Remove extra \n in --keypad description (Jordi).
6204   main()
6205         - Check that alt value is an alpha char before comparing to
6206           val - 32, fixes Alt-R calling doprev instead of replace.
6207   do_char()
6208         - Run edit_refresh() if ENABLE_COLOR is defined so adding
6209           multi-liners will update (e.g. /* in C).
6210   do_int_spell_fix()
6211         - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi).
6212   do_suspend()
6213         - Call tcsetattr() to restore the old terminal settings, so
6214           tcsh can use ^C after suspend for example (fixes BUG #68).
6215   do_wrap()
6216         - Move "right" increment to part where new line is created,
6217           should change (fix?) some wrapping problems with autoindent.
6218   version()
6219         - Show --enable-multibuffer independently of --enable-extra being
6220           compiled in (Jordi).
6221 - nano.h:
6222         - Changed color struct slightly, because of previous issue with
6223           applying color painting in order, the "str" portion was
6224           useless.  Renamed "val" in colortype to "start", added "end"
6225           for multi-line color strings.
6226 - rcfile.c:
6227   General
6228         - Took silly variables being passed everywhere like lineno and
6229           filename and made them static variables.
6230         - Re-indented.
6231         - Added stdarg.h to includes.
6232   rcfile_error()
6233         - Now automatically prepends the "error in line blah at foo"
6234           message to error messages.
6235   parse_colors()
6236         - Added section for computing "end" section.
6237   parse_next_word()
6238         - Added support for "\ ", in word parsing.
6239 - search.c:
6240   do_search()
6241         - Check position of cursor and return value of findnextstr and
6242           tell user if search string only occurs once (Rocco & Chris).
6243   findnextstr()
6244         - Fix off by one in check for wrap around (Rocco Corsi).
6245 - winio.c:
6246   edit_refresh()
6247         - Rename lines to nlines to fix AIX breakage (reported by
6248           Dennis Cranston, re-reported by arh14@cornell.edu).
6249   edit_add()
6250         - Refuse to honor regex matches of 0 characters when applying
6251           color highlighting, and say so on the statusbar.  Otherwise
6252           we go into an infinite loop, the error message should clue
6253           users into the fact that their regex is doing something bad.
6254 - THANKS:
6255         - Oops, correct Eivind's entry. His translation was Norwegian nynorsk,
6256           not bokmĂĄl as we claimed (Jordi).
6257 - .cvsignore
6258         - Added config.guess config.sub install-sh missing & mkinstalldirs
6259 - po/ca.po, po/es.po:
6260         - Catalan and Spanish translation updates (Jordi).
6261 - po/sv.po:
6262         - Swedish translation update (Christian Rose).
6263 - po/de.po:
6264         - German translation update (Michael Piefel).
6265 - po/fr.po:
6266         - French translation update (Jean-Philippe GuĂ©rard).
6267 - po/ru.po, po/uk.po:
6268         - Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
6269 - po/no.po:
6270         - Moved to po/nn.po, which is the correct name for Norwegian nynorsk.
6271 - po/nn.po:
6272         - Norwegian nynorsk translation updates (Kjetil Torgrim Homme).
6273 - po/nb.po:
6274         - New Norwegian bokmĂĄl translation (Stig E Sandoe <stig@ii.uib.no>).
6275 - po/da.po:
6276         - Danish translation update (Keld Simonsen).
6278 nano-1.1.5 - 01/05/2002
6279 - General
6280         - Better integration of View mode (-v) and multibuffer.
6281           Fixes to new_file(), do_insertfile_void(), shortcut_init()
6282           (David Lawrence Ramsey).
6283         - The keypad handling has changed (again).  We now use
6284           the keypad() function by default.  New flag -K, --keypad
6285           allows the old behavior for those using the keypad arrow keys
6286           and rxvt-based terminals.
6287         - Updated copyright notices to 2002 (Jordi).
6288 - nano.c:
6289   die()
6290         - Only save files that were modified (David Lawrence Ramsey).
6291   do_cont()
6292         - Run signal_init() after doupdate() so ^Y wont suddenly
6293           start suspending after returning from ^Z suspend in Hurd.
6294   signal_init()
6295         - Unconditionally disable VDSUSP if it exists, stops ^Y
6296           suspending nano on the Hurd.
6297   help_init()
6298         - Typo fixes in help strings (Jordi).
6299         - New variable helplen needed cause currslen is not always
6300           the length we want (bug found by David Lawrence Ramsey).
6301         - Typo in file switch string (found by David Lawrence Ramsey).
6302   main()
6303         - Handle Alt prev/next file keys (,.), as well as normal ones (<>).
6304         - Handle OS-specific insert keys by jump to do_insertkey (David
6305           Lawrence Ramsey).
6306 - files.c:
6307   read_file()
6308         - Make conversion message less confusing (suggested by Jordi).
6309 - rcfile.c:
6310   parse_next_word()
6311         - Get rid of ptr == \n check to abort, screws up option
6312           parsing (bug found by David Lawrence Ramsey)
6313 - winio.c:
6314   update_line()
6315         - set realdata check to >= 1 && <= 31, lack of > 0 check screwed
6316           high ascii characters.
6317   titlebar()
6318         - gettextized a pair of strings.
6319   bottombars()
6320         - Get rid of that annoying reversed line when color is on! :)
6321   edit_add()
6322         - Little fixes to let color highlights not bleed onto the next line.
6323   statusq()
6324         - Initialize "list".
6325 - m4/gettext.m4:
6326         - Back down to 1.1.3 version.
6327 - faq.html:
6328         - Various link updates and other fixes (Aaron S. Hawley).
6329         - Typo fixes (David Lawrence Ramsey).
6330 - AUTHORS
6331         - Add DLR.
6332 - po/sv.po:
6333         - Swedish translation update (Christian Rose).
6334 - po/ru.po, po/uk.po:
6335         - Russian and Ukrainian translations updates (Sergey A. Ribalchenko).
6336 - po/ca.po, po/es.po:
6337         - Catalan and Spanish translations updates (Jordi).
6338 - po/pl.po:
6339         - New Polish, partial translation, by Cezary Sliwa <sliwa@cft.edu.pl>.
6340         - Wojciech Kotwica <wkotwica@post.pl> completed it and is the new
6341           official maintainer.
6342 - po/fr.po:
6343         - French translation update (Michel Robitaille).
6344 - po/gl.po:
6345         - Galician translation update (Jacobo TarrĂ­o).
6346 - po/it.po:
6347         - Italian translation update (Marco Colombo).
6348 - po/de.po:
6349         - German translation update (Michael Piefel).
6350 - po/fr.po:
6351         - French translation update (Jean-Philippe GuĂ©rard).
6353 nano-1.1.4 - 12/11/2001
6354 - General
6355         - Preliminary syntax highlighting support.  New functions
6356           colortoint() and parse_color() in rcfile.c, new code in
6357           edit_add() in winio.c to actually do the highlighting.  It's
6358           not even close to pretty yet :P
6359         - Many int/long alignments (David Lawrence Ramsey).
6360 - files.c:
6361         - Fixes for tab completion and screen refresh (David Lawrence
6362           Ramsey).
6363   add_open_file()
6364         - Get rid of unsetting MARK_ISSET because otherwise writing
6365           marked text will automatically unset the marker with
6366           multibuffer enabled.
6367 - global.c:
6368         - Define currshortcut and currslen when either DISABLE_MOUSE
6369           or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan
6370           Minghetti).
6371 - nano.c:
6372   main()
6373         - Add Esc-[-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
6374         - Added better Hurd support for function keys (Alt-V,U,9,@,F).
6375   signal_init()
6376         - do SIG_IGN for the SIGTSTP sigaction regardless of whether
6377           we have _POSIX_VDISABLE or not (more Hurd fixes)
6378   help_init()
6379         - Typo fixes and additions to the new help texts.
6380   do_curpos()
6381         - Now takes arg for constant updating to always show the cursor
6382           position (David Lawrence Ramsey).
6383   do_wrap()
6384         - Many fixes (David Lawrence Ramsey).
6385   do_spell()
6386         - Dont prompt for replace if we don't change the word in
6387           question (Rocco Corsi).
6388 - po/de.po:
6389         - German translation updates (Karl Eichwalder).
6390 - po/ru.po:
6391         - Russian translation updates (Sergey A. Ribalchenko).
6392 - po/sv.po:
6393         - Swedish translation updates (Christian Rose).
6394 - po/da.po:
6395         - Danish translation updates (Keld Simonse).
6396 - po/es.po:
6397         - Spanish translation updates (Jordi).
6398 - po/fr.po:
6399         - French translation updates (Michel Robitaille).
6400 - m4/gettext.m4:
6401         - diff against mutt 1.2.5's gettext.m4.
6403 nano-1.1.3 - 10/26/2001
6404 - General
6405         - Finally wrote function-specific help mode.  Changes to
6406           nano.c:help_init() and winio.c:do_help().  Changed
6407           currshortcut and currslen #ifdefs to depend on both
6408           DISABLE_HELP and DISABLE_MOUSE being defined to not
6409           include.  Changed all the shortcuts and lengths.
6410         - Fixed null_at to ACTUALLY DO SOMETHING with its arg.  Again,
6411           this was causing nasty errors if the call to nrealloc moved
6412           where the data was located.
6413         - Changed header comments to say "version 2" instead of "version
6414           1" as the COPYING file is actually version 2 of the GPL (bug
6415           noticed by Jordi Mallach).
6416 - cut.c:
6417   do_cut_text()
6418         -  Check to see whether marked text is contained within edit
6419            window and if so only do an edit_refresh (variable dontupdate
6420            replaces cuttingpartialline).
6421   do_uncut_text()
6422         - Similar display fixes (David Lawrence Ramsey).
6423 - faq.html
6424         - Removed nano-editor.org FTP site address [deprecated] and added
6425         the GNU one.
6426 - files.c:
6427         - Added status messages for converted DOS and Mac files.
6428           People should know that their file wasnt normally formatted.  
6429   load_file()
6430         - Status message when trying to load an already loaded file with multiple
6431           buffers (David Lawrence Ramsey).
6432   read_file()
6433         - Get rid of useless linetemp variable and name num_lines int
6434           (David Lawrence Ramsey).
6435 - nano.c:
6436         - New function do_prev_word, similar to do_next_word.  Hard coded as
6437           Alt-space, as next word is hard coded as control-space. Fixed
6438           goofy logic setting x pos to value of last line when hitting the
6439           beginning of first line, prog should simply abort.  Added
6440           the #ifdefs around the code in main().
6441 - nano.h:
6442         - Additional #define, SMALL_TOO to determine how long
6443           MAIN_LIST_LEN is.  We need this because of the find matching
6444           bracket code.
6445   main()
6446         - Moved #ifndef NANO_SMALL down past the case 0: line so
6447           control-space doesn't insert a \0 (ack!)
6448 - rcfile.c:
6449         - Fix incorrect number of rc options (David Lawrence Ramsey).
6450 - po/sv.po:
6451         - Updated Swedish translation (Christian Rose).
6452 - po/da.po:
6453         - Updated Danish translation (Keld Simonsen).
6454 - po/es.po:
6455         - Style updates to Spanish translation (Santiago Vila).
6456 - po/ru.po, po/uk.po:
6457         - Updated Russian and Ukrainian translation (Sergey A. Ribalchenko).
6459 nano-1.1.2 - 10/03/2001
6460 - General
6461         - Added BUGS #63 & 64.  Fixes in search_init() and nanogetstr(),
6462           new flag CLEAR_BACKUPSTRING because there's no easy way to
6463           clear the backupstring without making it global (messy), so we
6464           use a flag instead (just as messy?)
6465         - --enable-tiny now leaves out the Auto Indent code, do you really
6466           need that on a bootdisk? =-)
6467         - New flag -o, --operatingdir, similar to Pico's -o mode.  New
6468           function check_operating_dir(), changes to load_file (arg),
6469           open_file_dup_search (arg), new function do_gotopos for -F
6470           (David Lawrence Ramsey).
6471         - Code to read/write dos formatted files.  Massive amounts of
6472           new code in read_line and write_file.  New cmdline flag
6473           (-D --dos) to automatically write the file in DOS format,
6474           regardless of the original format.
6475         - Mac file writing supported too.  Flag -M, --mac.  Toggle
6476           Meta-O (MacOS? OS-X? =-)
6477         - New smooth scroll code by Ken Tyler.  New flag -S, --smooth,
6478           changes to page_up() and page_down().  Many fixes to paging by
6479           David Lawrence Ramsey.
6480         - Bracket (brace, parens, etc) matching code by Ken Tyler.
6481           New functions do_find_bracket(), changes to findnextstr(),
6482           command is Meta-] (hope you dont mind since I already sold off
6483           Meta-O to the MacOS file code Ken...) Fixes to bracket_msg
6484           by DLR.
6485         - Call do_gotopos from do_alt_spell() to keep position
6486           consistent when invoking alt speller (DLR).
6487         - Readded DISABLE_CURPOS because in certain instances (like
6488           all the "Search Wrapped" lines) the cursor position will
6489           be different yet we don't want the cursor position displayed.
6490         - Take control-space out of -tiny build, unneeded.
6491 - cut.c:
6492   cut_marked_segment()
6493         - Add magic line when cutting a selection including filebot
6494           (discovered by DLR, fixed by DLR & Chris, fixes BUG #66).
6495   do_cut_text()
6496         - Don't recenter the line when cutting one line (DLR) (Bug #65).
6497 - faq.html:
6498         - Notes about the Free Translation Project.
6499         - Debian additions.
6500 - files.c:
6501   do_writeout()
6502         - Expanded strings to not use %s and ?: to determine
6503           write/append string to be nice to translators.
6504   new_file()
6505         - Initialize totsize (DLR).
6506 - nano.c:
6507   main()
6508         - Added var constcheck as a CRC-like check of whether cursor
6509           pos has changed and if so update the pos with -c.
6510         - Many tweaks and changes from numerics to char equivs
6511           (David Lawrence Ramsey).
6512         - Fix the KEY_IC being undefined when using slang.
6513   do_mouse()
6514         - Send 27 when the menu item clicked is an alt key seq... The
6515           lines aren't lined up since the menu width changed though,
6516           this breakage depends on whether the new widths will be kept
6517           or not (FEEDBACK!!)
6518         - Change k based on currslen to allow the new widths in
6519           bottombars().
6520   do_wrap()
6521         - Fixes for Pico incompatibility in cases 2b and 2c.
6522           (David Lawrence Ramsey).
6523   global_init()
6524         - New arg save_cutbuffer, allows cutbuffer to not be lost when
6525           using multibuffer.
6526 - nano.1:
6527         - Added new features, fixed some typos (Jordi).
6528 - nano.texi:
6529         - Corrected the Mouse Toggle section, noticed by Daniel Bonniot.
6530         - Added many command line options, toggles and other additions
6531           (Jordi).
6532 - rcfile.c:
6533         - NUM_RCOPTS fix (DLR).
6534         - Add tabsize support to rc file (Nathan Heagy).
6535         - Fix incorrect argument in fill and tabsize error message
6536           (Nathan Heagy)
6537 - search.c:
6538         - Changed search prompt to "Search" followed by a list of
6539           bracketed, free-standing modifiers that do not imply a grammar,
6540           and the (to replace) string separately.  Hopefully this resolves
6541           the i18n problems that this provoked.
6542   findnextstr()
6543         - Various fixes that need testing (Ken Tyler).
6544 - winio.c:
6545         - Add David Lawrence Ramsey to credits.
6546   bottombars()
6547         - Spread out the menu items, feedback definitely needed on this.
6548   nanogetstr()
6549         - More key fixes (David Lawrence Ramsey)
6550         - Don't be clever and wasteful, just repaint every iteration.
6551 - po/nl.po:
6552         - New Dutch translation, by Guus Sliepen <guus@nl.linux.org>.
6553 - po/ca.po, po/es.po:
6554         - Updated Catalan and Spanish translation (Jordi).
6555 - po/gl.po:
6556         - Updated Galician translation (Jacobo TarrĂ­o).
6557 - po/da.po:
6558         - New Danish translation, by Keld Simonsen <keld@dkuug.dk>.
6559 - po/sv.po:
6560         - Updated Swedish translation (Christian Rose).
6561 - po/it.po:
6562         - Updated Italian translation (Marco Colombo).
6563 - po/fi.po:
6564         - Updated Finnish translation (Pauli Virtanen).
6566 nano-1.1.1 - 07/28/2001
6567 - General
6568         - Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir.
6569         - Added m4/ directory to allow rebuilding using only the internal
6570           version of gettext.m4 (Albert Chin).
6571 - nano.c:
6572   main()
6573         - Change the multibuffer getopt option to 'F' (David Lawrence
6574           Ramsey)
6575   do_mark()
6576         - Temporarily disable cursorpos when enabled to be able to see
6577           the mark (un)set message (Ken Tyler).
6578 - nanorc.sample
6579         - Typo fixes and updates (David Lawrence Ramsey)
6580 - files.c:
6581   new_file()
6582         - Do add_open_files if there aren't any open yet (David Lawrence
6583           Ramsey).
6584   close_open_file()
6585         - Try to open the next file first, then the previous one
6586           (David Lawrence Ramsey).
6587 - global.c:
6588   shortcut_init()
6589         - Rewrote the whereis and replace lists to put CANCEL at the end
6590           of the list, and not include the toggle functions when using
6591           NANO_SMALL.
6592 - nano.h:
6593         - Fix type in INSERTFILE_LIST_LEN.
6594         - Rewrote all the macro definitions to be a little less messy,
6595           for the #ifdefs anyway.
6596 - rcfile.c:
6597         - Update for the multibuffer option (oops) (David Lawrence Ramsey).
6598 - search.c:
6599         - Added #ifdef NANO_SMALLs around the REVERSE_SEARCH code.
6600   search_init()
6601         - add #ifdef NANO_SMALL around toggles code.
6602 - winio.c:
6603   bottombars()
6604         - Fixed an off by one that wasn't letting lines with odd #
6605           shortcuts work in certain cases.
6607 nano-1.1.0 - 07/15/2001
6608 - General
6609         - New global variables currshortcut and currslen to support using
6610           the mouse with the shortcuts.  Also supports clicking on files
6611           in browser.  Added #ifdef DISABLE_MOUSE around this code also.
6612         - Changed mouse disabling code from depending on --enable-tiny
6613           to its own flag, --disable-mouse.  The --tiny option defines
6614           this automatically, but now just mouse support can be disabled
6615           if desired.
6616         - File Browser supports the "Goto Directory"
6617         - Added rcfile.c source file.  Only includes much of anything when
6618           --enable-nanorc is used.  Tons of new funcs, most notably
6619           do_rcfile() called from nano.c:main().  Added much needed
6620           function ncalloc(), will have to go through source code later
6621           and change the appropriate calls which used nmalloc for lack of
6622           an appropriate calloc function *** FIXME ***
6623         - After "Alternate" spell checker is called, cursor is repositioned on
6624           the same line as before ^T was pressed.
6625         - Moved config.h up in all .c files #include list (Albert Chin).
6626         - Added config.guess and config.sub to distribution because,
6627           apparently, newer autoconf/automakes can't live without them.
6628         - Various spelling updates by David Lawrence Ramsey.
6629         - Changed all string allocations to charalloc(), new function
6630           designed to take nmalloc argument but call calloc based on
6631           (char *) size.
6632         - New macro DISABLE_WRAPJUSTIFY to easily check for both wrapping
6633           and justify being disabled.  This allows us to compile out the
6634           -r flag if neither are set, and will also allow us to comment
6635           out -W when it is written.
6636         - Allow fill to take a negative value to signify a "from right side"
6637           value.  This allows the value to vary with the screen size yet
6638           still be correct.  New static value wrap_at to minimize code
6639           impact.  Updated man page and info file.
6640         - Allow file appending.  New shortcut list nano_insertfile_list (since
6641           insert and write routines can't share shortcut lists anymore),
6642           new args to do_writeout and write_file called append, and of source
6643           code changes to those functions.
6644         - Allow backwards searching.  Drastic rewrite of the search prompt
6645           string by Chris.  All other code by Ken Tyler.  New globals
6646           nano_reverse_msg, new functions revstrstr and revstrcasestr,
6647           many changes to search functions.  Not too big a code size
6648           increase!
6649         - Moved extension functions (Case Sensitive, Regexp, and Backwards
6650           Search, Append key in write file function) to Meta keys, as
6651           people are complaining loudly about nano not being control-key
6652           compatible with Pico, which is a Bad Thing (TM).  Changes to
6653           shortcut_init, toggle_init, new toggles for backwards and regexp
6654           (and you can now toggle all search options including regexp at
6655           the Search: prompt!)  Changes to nanogetstr to enable Meta
6656           keys to be grabbed, changes to onekey to print M-style shortcuts.
6657         - New macro TOGGLE which just toggles, no more silly checking
6658           ISSET and then using SET or UNSET when we want a simple toggle
6659           for a flag.
6660         - Added multiple buffer capability (God help us).  New configure
6661           option --enable-multibuffer (-F), changes to do_insertfile(),
6662           do_insertfile_void(), toggle_init(), do_gotoline(), edit_update(),
6663           and write_file(), new functions add_open_file(),
6664           open_file_change_name(), load_open_file(), open_file_dup_search(),
6665           open_file_dup_fix(), open_prevfile(), open_nextfile(),
6666           close_open_file(), get_full_path(), die_save_file(), etc.
6667           (David Lawrence Ramsey).
6668         - Using --enable-extra automatically defines --enable-multibuffer
6669           changes to version() and configure.in.
6670         - Moved to gettext 0.10.38 at the last second, sure to break
6671           something, but at least I can run make distcheck!
6672 - Makefile.am:
6673         - Include ABOUT-NLS and the new THANKS files to the distributed list.
6674 - THANKS:
6675         - Initial, incomplete list of people to thank.
6676         - Added some more people.
6677 - configure.in:
6678         - New option, --enable-nanorc, which allows people to have a .nanorc
6679           initialization file and set options normally used on the command
6680           line, and color later on.
6681         - Added --enable-color option to allow color and syntax highlighting
6682           (stub as of now).
6683 - cut.c:
6684   add_to_cutbuffer()
6685         - Remove useless statements (Rocco).
6686   cut_marked_segment()
6687         - Add bizarre copy of bot node, else *BSD goes ballistic (fixes
6688           BUG #60).
6689         - Added 'destructive' argument.  Allows the selected text to be
6690           added to the cutbuffer without changing the contents of the
6691           file.  This allows writing selection to separate files.
6692   do_cut_text()
6693         - If the line is empty when using -k and wasn't already added,
6694           create a dummy line and add it to the cutbuffer (fixes bug #61)
6695         - Reset marked_cut if we blow away the cutbuffer.
6696         - Moved the case of current == mark_beginbuf into cut_marked
6697           segment, so do_writeout could call it when writing selection to
6698           file.
6699   do_uncut_text()
6700         - Reset cutbuffer even if we're uncutting marked or cut to end text!
6701 - faq.html:
6702         - Brought the FAQ up to date, many little changes (Jordi).
6703         - Added sections 3.7 and 3.8 for the multibuffer and nanorc support.
6704 - files.c:
6705   do_browser()
6706         - Minor fixes to the processing of SELECT function (Rocco)
6707         - Added the "Goto Directory" code (Rocco)
6708         - Don't shift the size of the file is it's less than 1K. Fixed
6709           files less than 1K being displayed as 0B (Rocco).
6710         - More Picoish keystrokes for the browser, ^P, ^N, etc, for up,
6711           down, etc, and add the consistent ^C to exit (Jim Knoble).
6712   do_writeout()
6713         - New code to allow writing selected text to a separate file.
6714           When this is done, the current state is preserved.
6715   write_file()
6716         - New arg, nonamechange, means whether or not to update the
6717           current filename after writing the file out.
6718         - Increment lineswritten when the very last line isn't null.
6719           Fixes off by one count when writing selection to file.
6720 - global.c:
6721         - Updated some of the lists for the "Goto Directory" code (Rocco)
6722 - move.c:
6723   page_up()
6724         - Rewritten with a loop to make screen updates work when
6725           mark is set (fixes bug #59).
6726   do_home(), do_end()
6727         - Don't keep cutbuffer.
6728 - nano.1:
6729         - Added the missing -r flag (Jordi).
6730 - nano.c:
6731   do_alt_speller()
6732         - Reposition cursor on same line as before ^T was called (Rocco)
6733   ABCD(), main()
6734         - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D].
6735   main()
6736         - Code to silently process "-g" and "-j" (Rocco)
6737         - Added Alt-[-7,8 support for home/end keys (Jeff Teunissen).
6738   signal_init()
6739         - Reorder sigaction calls, use sigfillset() to stop SIGTSTP and
6740           SIGCONT from being interrupted, allows suspending nano
6741           to work more reliably, esp. with mutt, etc.
6742   do_suspend()
6743         - Don't try to play with the handler inside the handler.  Just
6744           raise a SIGSTOP.  We also now write the "use "fg"" message to
6745           stdout instead of stderr.
6746         - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke.
6747           Eliminates the possibility that nano can be suspended when
6748           it's not supposed to be.  Many many many thanks to Jordi and
6749           Tom Lear for helping out finding and fixing this bug!
6750   do_cont()
6751         - Now just does a refresh call instead of playing with the SIGTSTP
6752           handler.
6753 - nano.h:
6754         - Updated the BROWSER_LIST_LEN for the "Goto Directory" code (Rocco)
6755 - proto.h:
6756         - New shortcut list added: gotodir_list (Rocco).
6757 - search.c:
6758   do_gotoline()
6759         - Optimizations, remove "$" goes-to-last-line, less messages (Rocco)
6760   do_replace()
6761         - If we manage to make it in somehow with VIEW_MODE on, abort
6762           nicely (fixes BUG #59).
6763 - utils.c
6764   strcasestr()
6765         - Replaced by mutt's mutt_stristr function, because the thought
6766           of dynamically allocating memory and copying each line in a file
6767           to do a search or replace was causing me to lose sleep.
6768 - winio.c:
6769   actual_x()
6770         - Remove inline from function decl (Albert Chin).
6771 - po/POTFILES.in:
6772         - Added utils.c to the list.
6773 - po/es.po, po/ca.po:
6774         - Updated (Jordi).
6775 - po/gl.po:
6776         - Galician translation by Jacobo TarrĂ­o.
6777 - po/uk.po, po/ru.po:
6778         - New Ukrainian and Russian translations by Sergey A. Ribalchenko
6779           <fisher@obu.ck.ua>, thanks!
6780 - po/id.po:
6781         - Updated Indonesian translation by Tedi Heriyanto.
6782 - po/it.po
6783         - Updated Italian translation by Marco Colombo.
6784 - po/no.po:
6785         - New Norwegian translation by Eivind Kjørstad <ekj@vestdata.no>.
6786 - po/sv.po:
6787         - New Swedish translation by Christian Rose <menthos@menthos.com>.
6789 nano 1.1 tree forked here 04/07/2001
6791 nano 1.0.1 - 04/06/2001
6792 - General:
6793         - added configure option --disable-wrapping.  Does what it says,
6794           no wrapping or checks are done.  Separate from --enable-tiny,
6795           some may want a bare-bones Pico clone that does wrap text.
6796           Affects configure, nano.c:do_char() and check_wrap() obviously,
6797           version(), and do_char().
6798 - aclocal.m4:
6799         - Minor patch for intl check (really this time) (Albert Chin)
6800 - faq.html:
6801         - Fixed typo in section 6.1 (discovered by Bob Farmer).
6802 - files.c:
6803         - fix two typos in comments, one in ChangeLog (Matthias Andree)
6804   diralphasort()
6805         - Stop abort on symlinks (Matthias Andree)
6806         - use strcasecmp to sort directory if available, pilot does that
6807           as well (Matthias Andree)
6808   filestat(), do_browse()
6809         - Changed lstat calls to stat, which fixes the browser not
6810           following links to directories.  We only use lstat() when
6811           printing the details of the file, and if it is a link, then
6812           check via lstat() for link to a directory.  If it is
6813           a directory, display (dir), else use the normal "--".
6814   do_browser()
6815         - Fix broken size suffix off-by-one errors (Matthias Andree)
6816   cwd_tab_completion(), do_browse_from()
6817         - Use PATH_MAX instead of 0 arg to getcwd (Matthias Andree).
6818         - Changed above to use PATH_MAX only when defined on the
6819           system, as the HURD e.g. does not support it.
6820 - intl/Makefile.in:
6821   distclean
6822         - added intl/libintl.h to the rm -f rule, should fix the unresolved
6823           gettext symbols problem (Jordi).
6825 nano-1.0.0 - 03/22/2001
6826 - General
6827         - Added void to functions declared as () args, nano.c:do_mark()
6828           and search.c:regexp_cleanup(). (Christian Weisgerber).
6829         - Changed internal variables called "new" to "newnode" to avoid
6830           the "new" C++ reserved word, even though there is likely no way
6831           nano will EVER be compilable with a C++ compiler. (suggested by
6832           Rocco Corsi).
6833 - ca.po, es.po:
6834         - Final tweaks for Nano 1.0.
6835 - cs.po:
6836         - Czech translation from Vaclav Haisman.
6837 - nano.info:
6838         - Added dir entry (Albert Chin).
6839 - winio.c:
6840   statusq()
6841         - Added NANO_BACK_KEY and NANO_FORWARD_KEY cases for left and right.
6843 1.0-test prerelease - 03/17/2001
6844 - nano.c:
6845   do_wrap()
6846         - Added case for autoindenting text causing new line (Adam).
6847         - Added SAMELINE case to above.  Added checks to cases 1b and
6848           2b for placement of cursor.
6849 - move.c:
6850   page_down()
6851         - Check for totlines < editwinrows in check for superfluous
6852           edit update (fixed BUG #57).
6853 - search.c:
6854   print_replaced()
6855         - s/occurence/occurrence typos (Jordi).
6856   search_init()
6857         - If using Pico mode and regex and same answer is entered, use
6858           last_search string instead of answer (fixes BUG #56).
6859 - nano.texi:
6860         - Meta-Z correction and grammar in --enable-tiny desc (Neil Parks).
6862 nano-0.9.99pre3 - 02/19/2001
6863 - General
6864   GNU compliance issues:
6865         - Reworked shortcut list, put "Get Help" into default list,
6866           removed "Goto Line", aligned "Read File" with "Write Out" and
6867           "Replace" with "Where is" for consistency.
6868         - Added texinfo manual nano.texi.  Added texi options to
6869           Makefile.am.  
6870 - configure.in:
6871         - Autoconf compatibility fixes (Pavel Roskin)
6872         - Added separate check for resizeterm().
6873         - ALL_LINGUAS: added hu and ca.
6874 - cut.c:
6875   do_cut_text()
6876         - marked text cut fixes (Rocco) (Fixes bug #54).
6877 - nano.c:
6878   do_delete()
6879         - Added check for current->next == fileptr, as we have a magic
6880           line code again, fixes silliness at the end of the last line
6881           before the magic line (reported by J.A. Neitzel).
6882   do_justify()
6883         - If the keystroke after the justify is not the unjustify key,
6884           blank the statusbar (bug reported by Neil Parks).
6885   main()
6886         - Added ENABLE_NLS check around gettext stuff.
6887 - winio.c:
6888   do_yesno()
6889         - Added localized yes, no and all strings to function and rewrote
6890           handler for the new format.
6891 - de.po:
6892         - Translation updates by Florian König.
6893 - fi.po:
6894         - Translation updates by Pauli Virtanen.
6895 - hu.po:
6896         - Hungarian translation by Horvath Szabolcs.
6897 - id.po:
6898         - Translation updates by Tedi Heriyanto.
6899 - es.po:
6900         - Translation updates and grammatical/typo fixes (Jordi).
6901 - ca.po:
6902         - Catalan translation by Jordi Mallach :)
6903         - Miquel Vidal <miquel@sindominio.net> went over it and corrected
6904           many typos and completed bits that remained untranslated by error.
6906 nano-0.9.99pre2 - 01/31/2001
6907 General
6908         - Removed center_x and center_y globals.  center_y was
6909           completely unused and center_x was only used a few places,
6910           easily replaced with COLS / 2 (oops, not current_x & y (Rob)).
6911         - Deleted free_node, duplicate of delete_node, and changed all
6912           free_node calls to delete_node.
6913         - Fix for resizing the window in modes other than normal edit mode
6914           Changes to handle_sigwinch(), main().  Fixes bug #52 (Rocco).
6915 - files.c:
6916   write_file()
6917         - Don't free() realname on error, if it needs to be free()d later
6918           it will be (fixes crash on successful write after failed write,
6919           discovered by David Sobon).
6920   username_tab_completion()
6921         - Optimization and removal of useless vars (Rocco).
6922         - Rewritten using getpwent (suggested by Rocco).
6923         - Removed redundant conditional (Rocco).
6924   real_dir_from_tilde()
6925         - Rewritten using getpwent (suggested by Adam, much optimized by
6926           Rocco).
6927 - global.c:
6928         - Don't define toggles global or toggle_init_one if using --tiny.
6929 - nano.c:
6930   do_justify()
6931         - Added restoration of totsize after unjustify command.
6932   usage()
6933         - Add arg to -T help (Rocco).
6934   global_init(), handle_sigwinch()
6935         - Messy loops replaced with memset calls (Rocco).
6936   do_alt_speller()
6937         - Added code to parse multi-word alt_speller strings.
6938         - Fix initialization before fork()  (Rocco).
6939 - proto.h:
6940         - Fix do_credits() proto (oops!)
6941 - winio.c:
6942   nanogetstr()
6943         - Sanity check for x overrunning the string buffer len.
6945 nano 0.9.99pre1 - 01/17/2001
6946 General
6947         - Changed #ifdefs to check for both DISABLE_TABCOMP and
6948           NANO_SMALL, makes tiny option leave out tab completion, which
6949           should be left out in that circumstance.  Saves at least 5k.
6950         - Previous change to #ifdefs DISABLE_TABCOMP and NANO_SMALL rolled
6951           back. (Rocco)
6952         - Various #ifdef & #ifndef cleanups. (Rocco)
6953         - Added message for when keypad goes awry.  Added code in main and
6954           function print_numlock_warning() to notify user, and added an
6955           appropriate section in the faq to refer to this brokenness.
6956         - Added macros in nano.h for magic values that might be unclear in
6957           nano.c:global_init(). (Rocco)
6958 - configure.in:
6959         - Fix for _use_keypad check breaking slang support (Christian
6960           Weisgerber).
6961         - Changed to automatically define the 5 DISABLE variables when
6962           NANO_SMALL (enable-tiny) is requested at configure.
6963 - faq.html:
6964         - Added some info on making the binary smaller with the configure
6965           script.
6966         - Added section on keypad bugginess.
6967 - files.c:
6968   real_dir_from_tilde()
6969         - Oops, fix case where buf ="~", silly crash (bug discovered by
6970           Neil Parks).
6971   do_browser()
6972         - Added space and - keys to do page up and down.
6973   cwd_tab_completion(), input_tab()
6974         - Changed bare malloc/calloc calls to nmalloc (found by Rocco).
6975         - Added memset() to matchBuf to ensure sanity (Rocco, Adam).
6976 - nano.c:
6977   ABCD()
6978         - New function, figures out what kbinput to return given
6979           input common to several switch statements, allows us to
6980           support the default Konsole key settings.
6981   main()
6982         - Alternate speller option no longer valid if DISABLE_SPELLER is
6983           active. (Rocco)
6984         - Removed direct calls to usage() (#else) for -k (cut) or -s (speller)
6985           options when these have been disabled. (Rocco)
6986         - Initialized kbinput to get around stupid compiler warning.
6987   nano_small_msg()
6988         - This function has been removed.  All references now call
6989           nano_disabled_msg. (Rocco)
6990   version()
6991         - When NANO_SMALL (enable-tiny) is defined, the 5 main DISABLE
6992           variables (SPELLER, HELP, JUSTIFY, BROWSER, TABCOMP) are not
6993           reported as enabled when Nano is called with -V (--version)
6994           command line option. (Rocco)
6995   usage()
6996         - Alternate speller option no longer valid if DISABLE_SPELLER is
6997           active. (Rocco)
6998   window_init(), handle_sigwinch()
6999         - Added check for not having enough LINES to do anything useful,
7000           if so die with an error. (Rocco)
7001   die_too_small()
7002         - Function to print the window too small error message, avoids
7003           repeated string defs and globals.
7004   do_justify()
7005         - Small fix for totsize calculation (Rob)
7007 - fi.po:
7008         - Update by Pauli Virtanen.
7010 nano 0.9.25 - 01/07/2001
7011 General -
7012         - New file browser code.  New functions in files.c:do_browser(),
7013           helper functions browser_init(), tail(), striponedir(),
7014           filestat().  New shortcut list browser_list.  Some new
7015           strings to translate.  Added function do_browse_from().
7016         - Keypad code has been changed slightly.  Now checks for
7017           _use_keypad flag in window to see whether or not to turn
7018           the keypad() back off when finished (taken from aumix).  Moved
7019           to winio.c where it should probably be anyway.  New configure
7020           check for _use_keypad in window struct.  This will have to do
7021           for now.
7022         - Moved keypad() calls for PDCurses from main() to window_init()
7023           so the keypad continues to work after a Meta-X, for example.
7024           Fixed bug #51.
7025 - faq.html:
7026         - Fix typos and small mistakes (Jordi).
7027 - files.c:
7028   username_tab_completion()
7029         - Added the (char *) sizeof when allocating memory for the filename
7030           array (Rocco).
7031   cwd_tab_completion()
7032         - removed skipping . and .. when tabulating matches.
7033         - Added the (char *) sizeof when allocating memory for the filename
7034           array (Rocco).
7035   do_writeout()
7036         - Now takes an argument so the string typed in can be retained
7037           when calling the browser.
7038   do_browser()
7039         - Don't decrement longest by the length of path.  Fixes crashes
7040           on entering various dirs  (Rocco).
7041         - Don't ungetch() the exit key, unneeded, fixes inserting a file
7042           causes exit code.
7043 - move.c:
7044   page_down()
7045         - Don't do an edit_update when there is only one page of text
7046           (fileage == edittop && filebot == editbot).  Fixes Bug #50.
7047 - nano.c:
7048   main()
7049         - Reorder the getopt options to be more or less alphabetical
7050           (suggested by Sven Guckes).
7051 - winio.c:
7052   do_cursorpos()
7053         - Optimizations and cleanups by Rocco Corsi.
7054   do_credits()
7055         - Spell Erik Andersen's name right.
7056   titlebar()
7057         - Now takes an arg, needed for browser function.
7058   do_help()
7059         - Changed way of temporarily bringing up shortcuts at the
7060           bottom in the help screen (actually works).
7061 - utils.c:
7062   mallocstrcpy()
7063         - Takes char pointers now instead of void (makes debugging a
7064           helluva lot easier)
7065         - Duh, don't do anything if src == dest!
7066 - es.po:
7067         - Updates for file browser (Jordi).
7069 nano 0.9.24 - 12/18/2000
7070 General
7071         - Added --disable-help option, affects acconfig.h, configure(.in),
7072           winio.c:do_help, nano.c:help_init,help_text_init,version.
7073         - Changed filename to no longer use PATH_MAX, so it can work on the
7074           HURD.  Changes in files.c:write_file(), new function
7075           nano.c:clear_filename(), many changed in main(), a few other
7076           places.  Please test this!
7077         - Added -b, -e, and -f flags, which we ignore as nano provides
7078           their functionality already.
7079 - cut.c:
7080   do_uncut_text()
7081         - Fix renumbering bug when uncutting marked text at filebot.
7082         - Fix screen not being displayed when we are uncutting marked
7083           text at editbot (Bug discovered by Ken Tyler).
7084         - Fix magic line not getting created when (you guessed it)
7085           uncutting marked text at filebot (Ryan Krebs).
7086 - files.c:
7087   read_file()
7088         - If we encounter an error and insert is not set, run new_file().
7089           (bug discovered by Ben Roberts).
7090   write_file()
7091         - Change open call flags, basically copy joe's way of doing it so
7092           a more recent version will actually be included in (un)stable.
7093         - Remove useless fstat call.
7094   open_file()
7095         - Added check for S_ISBLK and S_ISCHR, don't open device files!
7096 - nano.c:
7097   renumber()
7098         - Don't stupidly assign the value of prev->lineno if prev == NULL!
7099   main()
7100         - Added code to check for Alt-Alt (27-27) keystrokes and set the
7101           next keystroke as a control sequence.  New variable
7102           modify_control_key.  Removed #ifdef _POSIX_VDISABLE check
7103           around Control-S,Q,Z handlers because we need it now for
7104           the Alt-Alt-x code.
7105         - Added --view option to getopt_long() call.  Bug discovered
7106           by Rocco Corsi.
7107   help_init()
7108         - Fix off by one error that was making ^G help in normal mode and
7109           ^_ in Pico mode not be displayed in the help (bug discovered by
7110           Rocco Corsi).
7111   do_toggle()
7112         - Added fix_editbot() call to fix improper redisplay of edit
7113           window when using nohelp toggle (bug discovered by Rocco Corsi).
7114 - nano.1, nano.1.html:
7115         - Updated man page for -b, -e, -f and expanded explanation for -p.
7116 - winio.c
7117   do_help()
7118         - Force keypad on so F-keys and PageUp/Down will work properly.
7119           Added check for NANO_EXIT_FKEY to loop.
7120 - utils.c:
7121   new_magicline()
7122         - Increment totsize!!  We decrement it when we've read a file,
7123           everywhere else it should automatically be incremented
7125 nano 0.9.23 - 12/08/2000
7126 General
7127         - Changed --disable-spell to --disable speller.  The term is
7128           "speller" for -s, so it should be --disable-speller.
7129 - files.c:
7130   write_file()
7131         - Added tmp check to TMP_OPT section (how appropriate).
7132         - Added new consistency checking code from securityfocus
7133           article by Oliver Friedrichs, and use O_EXCL if tmp == 1.
7134         - We now run check on result of lstat(), not stat(), to be
7135           safer.  New variable anyexists, we use still use realexists
7136           later in the program.
7137         - OOPS, line up link/unlink/rename check if conditional with
7138           top if conditional.  Option -l has been broken for 9 versions,
7139           no one noticed?!
7140         - Added saving perms at end of link so we can apply them to the
7141           new file if --nofollow is used.
7142 - winio.c:
7143   edit_add()
7144         - Off by one display error (fix by Rocco Corsi).
7145   do_replace_highlight()
7146         - New code to handle being past COLS (Rocco Corsi).
7147         - Moved from search.c, as it's definitely a winio function now =)
7148   update_line()
7149         - More '$' display fixes (Rocco Corsi).
7151 nano 0.9.22 - 12/02/2000
7152 - General
7153         - Username tab completion code, and cleaned up existing tabcomp
7154           code. New functions real_dir_from_tide(), append_slash_if_dir(),
7155           username_tab_completion is more than a stub now =-).
7156         - Ignore key sequence 543 & 545, right control and alt keys in
7157           windows. Affects main() and winio.c:nanogetstr().
7158         - Took out help from spell_list and changed SPELL_LIST_LEN to 1.
7159           Is using a spell checker THAT difficult? =-)
7160         - New function nano_disabled_msg(), to alert that certain
7161           functions have been disabled, similar to nano_tiny feature.
7162 - New configure options:
7163         - Added configure argument --disable-tabcomp.  Affects
7164           bottom of files.c and write_file, utils.c:check_wildcard_match()
7165           and winio.c:nanogetstr().
7166         - New options --enable-extra.  New code in nano.c:version() to
7167           print out various options from ./configure, function do_credits().
7168         - Added --disable-spell option for those who want to just disable
7169           the spell check feature.  Affects the spelling functions
7170           do_spell, do_int_speller and do_alt_speller.
7171         - Added --disable-justify to get rid of the justify function.
7172           Affects do_justify() (not surprisingly).
7173 - files.c:
7174   write_file()
7175         - Unsetting modified on temp files bug fixed (Rocco Corsi).
7176         - Okay, if tmp == 1 and the file exists, we abort.
7177   do_insertfile()
7178         - Added call to real_name_from tilde, oops.  Added check for
7179           DISABLE_TABCOMP.
7180   read_file()
7181         - Added check for fileptr == NULL.
7182 - global.c:
7183   shortcut_init()
7184         - Now takes an argument as to whether to display the unjustify
7185           shortcut or the normal uncut text one.  Needed to accommodate
7186           the kludgey unjustify code.
7187 - nano.1, nano.1.html:
7188         - Updated date on pages because of -p changes.
7189         - Added "NOTES" section, where I explain what nano.save & friends
7190           are.
7191         - Added a copyright notice for the manpage, under the GPL.
7192         - Other minor changes.
7193 - nano.c:
7194   do_justify()
7195         - Wrote unjustify code.  Borrows cutbuffer and stores the unjustified
7196           text there, then grabs the next keystroke and, if the unjustify
7197           key, gets rid of the justified text and calls do_uncut_text.
7198           Added macro NANO_UNJUSTIFY_KEY.
7199   do_int_spell*
7200         - Various fixes (Rocco Corsi).
7201         - Changed abort of program to aborting based on value of "edit a
7202           replacement" question, and not caring about the replace loop
7203           return value.  That way the user can get out of the replace loop
7204           and continue spell checking (very important to me anyway).
7205   version()
7206         - Took out huge check for the various --disabled macros,
7207           eventually there will be too many to reasonably check for.
7208   nano_small_msg(), nano_disabled_msg()
7209         - Added checks for disabled functions to see whether or not to
7210           declare them.
7211   do_next_word()
7212         - Update the previous line as well as the current one in case we
7213           have moved beyond COLS or back from COLS, patch submitted
7214           by Ryan Krebs.
7215   die()
7216         - Now creates .save file using variable-length strings.  Also
7217           calls write_file with tmp == 1, which happens to do exactly what
7218           we want (abort on save file exists and use mode 0600).
7219   handle_sighup()
7220         - Now calls die instead of writing on its own and exiting normally.
7221 - search.c:
7222   do_replace_highlight()
7223         - New function, displays the currently selected word as highlighted
7224           in the spell check.  Called from do_replace_loop (Rocco Corsi).
7225         - Added calls to curs_set(0) and (1) to disable the cursor when
7226           highlighting, looks much better.
7227 - es.po:
7228         - Traditional Spanish strings updates.
7230 nano 0.9.21 - 11/23/2000
7231 - AUTHORS
7232         - Added Rocco Corsi.
7233 - nano.c:
7234   main()
7235         - Changed check for argc == 1 to argv[optind] == NULL to decide
7236           whether or not to display "New File" in the statusbar.
7237 - search.c:
7238   findnextstr()
7239         - Fix current_x increment bug by using another variable (Rocco Corsi).
7240   search_init()
7241         - Silly typo in our "one simple call" of statusq.  Stopped
7242           previous search string from being displayed.
7243   do_replace()
7244         - Copy back the previous value of last_replace into answer if
7245           using PICO_MODE and answer == ""
7246 - winio.c:
7247   do_up()
7248         - Deleted first update_line() call, screws up display when marker is
7249           set.
7250 - nano.1, nano.1.html
7251         - Updated man page for new -p definition.
7253 nano 0.9.20 - 11/18/2000
7254 - General
7255         - Ran source through indent -kr again.  Make everything pretty.
7256         - Changed behavior of "search" and "replace" prompts to make all
7257           previous values editable.  This change was made so that you can
7258           replace with the null string without needing a special key for it.
7259           changed code in search_init(), do_replace(), nanogetstr (see
7260           below).
7261         - Added some missing gettext calls here and there (Jordi).
7262         - Revamped nanogetstr() and calls to it to use variable length
7263           strings.
7264           MANY changes in nanogetstr(), many chances in search.c, new
7265           function mallocstrcpy which is sure to be a programmatic
7266           nightmare, changed last_search, last_replace, answer to
7267           pointers.  New function not_found_msg in search.c for displaying
7268           truncated strings in statusbar when the string is not found
7269           (-pedantic fixes by Rocco Corsi). We disable this feature when
7270           using PICO_MODE (-p).
7271         - New spelling code by Rocco Corsi.  New functions
7272           do_int_speller, do_alt_speller, changes to do_spell in nano.c,
7273           New functions search_init_globals and do_replace_loop, changes
7274           to search_init(), do_replace, findnextstr, moved last_search and
7275           last_replace back to nano.c (*shrug*).
7276         - New tab completion code.  Used check_wildcard_match, input_tab,
7277           cwd_tab_completion, username_tab_completion from busybox,
7278           hacked them a lot, changes to nanogetstr().  nanogetstr() and
7279           statusq() now take an arg for whether or not to allow tab
7280           completion.
7281         - Fixed value being input in statusbar during a search or replace
7282           and CASE_SENSITIVE or the other search is called and the
7283           string being typed in is blown away.  Reported by Ken Tyler.
7284         - Changed PICO_MSGS flag to PICO_MODE, changed help strings
7285           accordingly.
7286 - files.c:
7287   do_writeout()
7288         - Change strcpy to answer to mallocstrcpy.
7289 - global.c
7290         - New global replace_list_2, for 2nd half of the replace dialog
7291           ("Replace with:"), has fewer options than first half because
7292           they were inappropriate.
7293   toggle_init()
7294         - Added #ifdef around toggle_regex_msg to get rid of compiler
7295           warning.
7297 - nano.c:
7298   keypad_on()
7299         - New function, toggles turning the keypad on and off in edit and
7300           bottomwin().  Added call to this in finish(), fixes bug #45.
7301 - search.c
7302   findnextstr()
7303         - New arg for begin_x variable, basically a rewrite that
7304           makes a little more sense and isn't quite as messy (Rocco Corsi).
7305         - Update the line we're checking if not the whole screen, because
7306           it's quite possible the search team could exist somewhere way
7307           to the right on the same line, for example.
7308   replace_abort()
7309         - Add reset of placewewant, stops cursor from jumping when moving
7310           cursor after a replace.
7311   do_replace()
7312         - Added code for Gotoline key after entering the search term.
7313           Fixes bug #46.
7314         - Removed redundant code involving processing replacement string.
7315           Converted if statements to switch statements.
7316         - Optimizations by Rocco Corsi.
7317         - Removed code for deleted shortcuts from in replace_list_2.
7318   do_search()
7319         - Converted if statements to one switch statement.
7320 - winio.c
7321   nanogetstr()
7322         - Added check for 343 in while loop to get rid of getting "locked"
7323           into statusbar" bug in odd $TERMs like iris-ansi.
7324         - Changed check to return -2 on "enter" from answer == ""
7325           to answer == def.
7326         - Fixed fallthrough code because there was no break.  Make much
7327           more sense now.
7328         - Added check for ASCII 54[124] when using PDCurses, ignore them
7329           if noticed.
7330   nanoget_repaint()
7331         - New function, removes about 30 lines of duplicate code in
7332           nanogetstr().
7333         - Black magic code to make $ appear in prompt if we're past
7334           COLS.
7335   blank_edit()
7336         - Removed wrefresh() call, much less choppy now.  If there's a need
7337           for a wrefresh after a specific call, let me know.
7338 - es.po:
7339         - Updated translation for 0.9.20 (Jordi).
7341 nano 0.9.19 - 10/02/2000
7342 - General
7343         - Added PDCurses support under cygwin, which allows building
7344           a nice stand-alone nano.exe for those poor Windows users.
7345           Extra check in configure.in for initscr() in -lcurses (as
7346           PDcurses has no tgetent), some #ifdef PDCURSES statements
7347           in main().
7348         - Changed web site and email to new nano-editor.org domain.
7349 - nano.c
7350         - Added (int) casts to remove compile warnings with -Wall.
7351   main()
7352         - Added check for _POSIX_VDISABLE around term variable definition.
7353 - search.c
7354         - Added initializations for last_search and last_replace (Rocco Corsi)
7356 nano 0.9.18 - 09/18/2000
7357 - General
7358         - Changed _POSIX_VERSION checks in regex code to HAVE_REGEX_H,
7359           added check for regex.h in configure.in.
7360 - configure.in:
7361         - Added default case for cross-compiling to get rid of annoying
7362           AC_TRY_RUN warning.
7363 - cut.c:
7364   do_cut_text()
7365         - Don't immediately abort if we're on filebot and the marker is
7366           set (fixes bug #42).
7367 - files.c:
7368   open_file()
7369         - Fix for bug #44 (Rocco Corsi).
7370 - global.c:
7371   shortcut_init()
7372         - Added in FKEYs that for some reason were left out.  *boggle*
7373 - nano.c:
7374   main()
7375         - Added check for _POSIX_VDISABLE and use raw mode if not
7376           available, allows nano to work with cygwin.
7377         - Added gettext calls to enable/disable strings (Jordi).
7378         - Revamped a great deal of the F-key and keypad key handling,
7379           because we not longer use keypad() (see below).
7380         - Removed keypad() call because nano was not working with the
7381           keypad in many terms, which is very bad.
7382         - Made insert key call do_insertfile().
7383   do_toggle()
7384         - Rewrote function to allow NOHELP toggle to work on systems
7385           without a working resizewin().  New function window_init().
7386   mouse_init()
7387         - Add keypad only if mouse support is on, otherwise mouse doesn't
7388           work.  I guess you have to choose between having the mouse and
7389           having a working keypad for the time being (thank god for Meta-M).
7390 - winio.c:
7391   total_refresh()
7392         - Added titlebar() call.
7393   onekey()
7394         - Off by one error fix fix ;-) (Rocco Corsi).
7396 - search.c:
7397   findnextstr()
7398         - Reset starting at current for search instead of begin.
7399 - es.po:
7400         - Translated new strings and minor updates (Jordi).
7401 - de.po
7402         - Revised translations by floki@bigfoot.com
7404 nano-0.9.17 - 09/04/2000
7405 - General
7406         - New shortcuts to toggle certain options that are normally only
7407           flags via Alt/Meta.  See Alt-C,E,I,K,M,P,X,Z.  New struct called
7408           toggles in nano.h, toggle_init(), toggle_init_one() in global.c
7409           called from shortcut_init(), and do_toggle in nano.c.  Also
7410           moved the signal code into a separate function in nano.c called
7411           signal_init().  Moved "struct sigaction act"into a static in
7412           nano.c.
7413         - Changed from Alt-key symbol (@) which is completely nonstandard
7414           to the *nix "Meta" symbol (M-).  Changed help_init to show
7415           the M-key usage and the help text to explain keys which generate
7416           Meta.  Moved the toggle Meta keystrokes to the first column
7417           instead of the third as they are the primary keystrokes for the
7418           functions.  Thanks Mini editor team :->
7419         - Changed last_search and last_replace vars to statically
7420           allocated (hence nulled) and moved to search.c (Matt Kraai).
7421 - global.c:
7422   toggle_init()
7423         - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
7424           "Help mode". See the change to do_toggle() below.
7425 - nano.c:
7426   do_mouse()
7427         - Patch for handling lines w/tabs and mouse better (Ben Roberts).
7428   do_wrap()
7429         - Made wrapping code less ambitious.
7430   do_toggle()
7431         - Added checks for no help and no wrap mode, and print opposite
7432           enable/disable message.
7433   do_suspend(), do_cont():
7434         - New functions, handle suspend signal in a Pico-like manner and
7435           work with Meta-Z.
7436 - winio.c:
7437   total_refresh()
7438         - Added edit_refresh() call to actually update the screen if messy.
7439   edit_refresh_clearok()
7440         - New function, does a total update for edit refresh, needed to fix
7441           lack of reversed text on searching with MARK_ISSET.
7442   onekey()
7443         - Off by one error fix (Rocco Corsi).
7445   update_line()
7446         - Added check for binary data >= 1 and <= 26, and use ^+letter
7447           to display it.   Should fix editing text files with binary
7448           data in them.  Placing of the cursor seems to be a bit screwed
7449           though...
7450 - search.c:
7451   search_abort()
7452         - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
7453           ugliness bug (reported by Ken Tyler).
7454   findnextstr():
7455         - Added reset for placewewant (Ben Roberts).
7456         - Fixed check for string that only occurs on the same line failing
7457           (discovered by Ken Tyler).
7459 nano-0.9.16 - 08/09/2000
7460 - cut.c:
7461   do_cut_text()
7462         - Fixed getting locked into cutbuffer on cutting first line of file.
7463         - Added check_statblank().
7464         - Check for fileptr == filebot, if so return, we shouldn't bother
7465           cutting the magic line.
7466   do_uncut_text()
7467         - Added check_statblank().
7468 - nano.c:
7469   main()
7470         - Changed tabsize long arg to actually accept an argument *sigh*.
7471 - po/Makefile.in.in:
7472         - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
7473           Christian Weisgerber)
7474 - configure.in:
7475         - New (and severally revised =) slang test code (Albert Chin-A-Young)
7477 nano-0.9.15 - 08/03/2000
7478 - Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
7479   Affects many many functions.  Removed functions edit_update_top and
7480   edit_update_bot.
7481 - Added global variable tabsize, we no longer screw with the curses
7482   library in order to implement -T (suggested by Christian Weisgerber).
7483 - configure.in:
7484         - Finally fixed check for slang to report "no" if not called
7485           with --with-slang or --without-slang
7486 - nano.c:
7487   splice_node()
7488         - New function, abstracts linking in nodes.   Fixes bug #36.
7489   null_at()
7490         - New function, nulls a string at a given index and realigns it.
7491   delete_buffer()
7492         - Removed, same as free_filestruct().
7493   do_backspace()
7494         - Now calls page_up_center instead of page_up (as it should?)
7495   do_enter()
7496         - Fixed typo (?) in check for inptr->next.  Caused lots of
7497           grief for editing lines at filebot.
7498   main()
7499         - Removed now useless usertabsize variable (Christian Weisgerber).
7500 - search.c:
7501   replace_abort()
7502         - redundant, now just calls search abort until it does something
7503           different.
7504 - winio.c:
7505   edit_refresh()
7506         - Added check for current line "running" off the screen.
7507           Hopefully this will not cause any recursive lockups.
7508           (Who am I kidding, of course it will!)
7509         - Added check to stop infinite loop calling edit_update.
7510   edit_update()
7511         - Rewritten, hopefully this will remove a lot of the
7512           scrolling the cursor back and forth needlessly.
7513 - move.c:
7514   page_down()
7515         - do an edit_update() at last case.  Made function more like
7516           Pico's version, only move down to two lines before editbot.
7517   page_up()
7518         - Made function more like Pico's version, only move down to two
7519           lines after edittop.
7521 nano-0.9.14 - 07/27/2000
7522 - nano.h:
7523         - Set CUT_TO_END to a different bit than TEMP_OPT.  Fixes bug #32.
7524 - cut.c:
7525   do_cut_text()
7526         - Added check for MARK_ISSET when using CUT_TO_END.  Fixes bug #31.
7527         - Simplified check for freeing cutbuffer.  Added checks for doing
7528           multiple cuts with -k, now sets marked_cut to 2 for later
7529           processing by do_uncut_text().
7530   do_uncut_text()
7531         - Added handler for uncutting with -k cuts.
7532 - files.c:
7533   write_file()
7534         - Removed (redundant) check for writing out files with -t.
7535   do_writeout()
7536         - Changed check for filename to filename[0].  Added some code,
7537           overall fixes bug #30 =-)
7538 - nano.c:
7539   do_justify() & do_wrap():
7540         - totsize-related fixes (Rob)
7541 - de.po
7542         - Revised translations by floki@bigfoot.com
7544 nano-0.9.13 - 07/23/2000
7545 - Implemented Pico's -k mode.  New flag CUT_TO_END, option (-k, --cut),
7546   affects do_cut_text in cut.c.  Not available with SMALL_NANO because it
7547   depends on the marker code which is not available with that setting.
7548 - Changed static temp_opt to flag TEMP_OPT.  Fixed bug #29 (using
7549   -t with an unwritable file causes users to get locked into editor).
7550 - move.c
7551   page_down()
7552         - Don't edit_refresh() if the bottom of the file is in the edit
7553           buffer. (Adam)
7554 - nano.c:
7555   main():
7556         - TABSIZE now set before first call to edit_refresh (Bill Soudan)
7557         - Different ^C kill code (patch by Christian Weisgerber).
7558   die():
7559         - More intelligent emergency-save filename selection (Rob)
7560   do_spell():
7561         - Changed exit semantics a bit so that aspell wouldn't get
7562           all screwy (bug discovered by Joshua Jensen.
7563 - files.c:
7564   read_file():
7565         - Added init of buf variable, hopefully this will stop the
7566           "bleeding" of text seen with mutt and using i18n.
7567   write_file():
7568         - Added code to check to see if using -l and the file is not
7569           in fact a link.  This should fix the behavior where a file
7570           that does not have write permission but could be removed and
7571           rewritten is saved without error.  Please test this feature
7572           and give feedback.
7573 - search.c:
7574   search_init():
7575         - Added " (to replace)" statement to end of search string if
7576           we are doing a replace.  Manually converted all the translations
7577           from '%s' to '%s%s' to ensure they still work with the new code.
7578           Also put in the translation for " (replace)" in the .po's.  Hope
7579           I didn't step on your toes doing this Jordi. (Chris)
7580   do_search(), do_replace():
7581         - Removed call to search_abort()/replace_abort() before call to
7582           the opposite function.
7583         - Fixed bug #28.
7584   findnextstr()
7585         - do not center string found if it is currently visible. (Adam)
7586 - fr.po:
7587         - French update by Clement Laforet <clem_laf@wanadoo.fr>.
7588 - es.po:
7589         - Updated strings to 0.9.13 (Jordi).
7591 nano-0.9.12 - 07/07/2000
7592 - all:
7593         - New regexp search feature by Bill Soudan.  New flags USE_REGEXP
7594           and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
7595           replace_line, replace_regexp in search.c, changes to
7596           search_init() and do_replace() and strstrwrapper().
7597         - Added _POSIX_VERSION check to regexp code.  Better than nothing
7598           for non-POSIX systems...
7599         - Made search functions & keys more like Pico.  Added goto line from
7600           search and replace function, changed wording to "No Replace" instead
7601           of "To Search", "To Replace" to simply "Replace", and changed to
7602           Pico's keystroke by default, ^R. Affects search_init(),
7603           do_search() in search.c, globals in nano.h and
7604           shortcut_init() in global.c.
7605         - changed 'sprintf' calls to safer 'snprintf' (Rob)
7606 - cut.c
7607         - further totsize update corrections
7608 - files.c:
7609         - changed do_insertfile to call fix_editbot (Rob)
7610         - Magic Line code in read_file (Rob)
7611 - nano.c:
7612         - Removed dual alt_speller variables, oops! (Rocco Corsi)
7613         - Removed unnecessary do_oldspell function (Rocco Corsi).  Added
7614           SMALL_NANO #ifdef around actual spell function.
7615         - Moved page_up() to move.c where is belongs.
7616         - Corrected FIXME in do_enter with explanation. (Rob)
7617         - Fixed FIXME in do_justify, resulted in creation of
7618           fix_editbot [also fixed in do_enter] (winio.c) (Rob)
7619   help_init():
7620         - Moved newline out of if statement (Rocco Corsi)
7621   do_char():
7622         - Magic Line related code in do_char (Rob)
7623   do_backspace(), do_delete():
7624         - Added magic line code here too.
7626 - de.po:
7627         - Revised translations by floki@bigfoot.com.
7628 - fi.po:
7629         - Finnish translation by pauli.virtanen@saunalahti.fi.
7630 - utils.c:
7631         - Added new_magicline()
7632 - winio.c:
7633         - Added stdlib.h to includes, found by OpenBSD gcc.
7634         - lots of new commenting around display functions
7635   do_yesno(), nanogetstr():
7636         - Removed now unnecessary raw/cbreak combos.
7637         - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
7638           we decide if those keybindings should be translated. (Jordi)
7639   clear_bottomwin():
7640         - Removed wrefresh(edit) call.
7641   edit_update_top():
7642         - Fixed a bug that caused nano to not update when
7643           current->next == NULL (e.g. paging down to the very bottom of
7644           ABOUT NLS wouldn't work).
7645   fix_editbot:
7646         - Added (should rebuild editbot from a valid edittop) (Rob)
7647   edit_add:
7648         - removal of redundant call to mvwaddnstr
7650 nano-0.9.11 - 06/20/2000
7651 - New flag "-T" or "--tabsize" to specify how to display tab widths.
7652   Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
7653   winio.c, and nano.h.  Many hardcoded "8"s have been changed to the
7654   TABSIZE int.  Added changes to nano.1 and nano.1.html.
7655 - id.po:
7656         - Indonesian translation by Tedi Heriyanto.
7657 - es.po:
7658         - Updated translation (Jordi Mallach).
7659 - winio.c
7660         - Rewrite of display functions to correct the display problems
7661           we had been seeing. Affects: add_marked_sameline, edit_add,
7662           and many others. (Rob Siemborski)
7663         - totsize fixes (Rob Siemborski)
7664   total_refresh():
7665         - Cut display_main_list call, as this function is only supposed to
7666           refresh what's already on the screen, not go through the process
7667           of adding the text again.
7668 - cut.c:
7669         - totsize fixes (Rob Siemborski)
7670 - nano.c:
7671         - experimental do_wrap and check_wrap (Adam Rogoyski)
7672         - Removed editwineob, as it was redundant for (editwinrows - 1).
7673           Changed all calls to editwinrows - 1 in nano.c and move.c.
7674         - Removed all functions that were split into other files.
7675           Affects LOTS of funcs.
7676   do_enter():
7677         - Added reset of placewewant to end.
7678   do_insertfile():
7679         - Fix display problem when using ctrl-r to load a file
7680           into the buffer (Rob Siemborski)
7681   handle_sigwinch():
7682         - Added titlebar(), edit_refresh() and display_main_list() calls
7683           because a resize wasn't picking up on possible different width
7684           correctly.
7685 - utils.c:
7686         - Moved nmalloc() and nrealloc() here.
7687 - move.c:
7688         - New file, contains movement functions (like do_home(), do_up(),
7689           do_down(), page_up(), etc...).
7690 - files.c:
7691         - Contains functions for files (read_file, insert_file,
7692           do_writeout(), etc).
7693 - search.c:
7694         - Contains all our searching and related functions, (do_search(),
7695           findnextstr(), do_replace(), do_gotoline()).
7697 nano-0.9.10 - 06/04/2000
7698 - es.po:
7699         - Translation updates (Jordi).
7700 - AUTHORS, nano.1.html, TODO, README:
7701         - Documentation and email address updates (Jordi).
7702 - nano.c:
7703   main():
7704         - Moved Adam's termio code down to after getopt() and before initscr()
7705           to stop people losing their SIGINT character when using args that
7706           exit nano before it runs (--version, --help, etc).
7708 nano-0.9.9 - 05/31/2000
7709 - Makefile.am:
7710         - Added proper lines for defining LOCALEDIR.
7711 - configure.in:
7712         - Spelling fixes (Jordi Mallach)
7713         - Removed CFLAGS changes for gcc, reduces portability according to
7714           some, and it certainly doesn't seem to decrease exe size.
7715 - es.po:
7716         - Spanish translation updates (Jordi Mallach)
7717 - POTFILES.in:
7718         - Added global.c file, was screwing up translations (i.e. they
7719           weren't getting done).
7720 - cut.c:
7721   add_to_cutbuffer():
7722         - Added totsize increment.
7723         - Cut fixes and optimizations (Rob Siemborski).
7724   do_uncut_text():
7725         - Added totsize increment in several places.
7726 - nano.c:
7727   headers:
7728         - Removed LOCALEDIR define.
7729   do_justify():
7730         - Added edit_refresh() call (bug discovered by Adam).
7731   page_down_center():
7732         - Added call to edit_update(current) for last case.  Removed
7733           increment of current_y since it's now just wasteful.
7734   do_enter():
7735         - Added totsize increment.
7736   renumber(), renumber_all():
7737         - Removed totsize-- and totsize init in renumber_all.
7738   do_mouse():
7739         - Added edit_refresh() call to show highlight updates.  Removed
7740           unnecessary wrefresh(edit).
7741   main():
7742         - Moved up locale calls so that translated --help messages would
7743           actually get translated.
7744   do_backspace(), do_delete():
7745         - Added decrement of totsize.
7746   init_help_msg():
7747         - New function, initializes help text if NANO_SMALL isn't set (fixes
7748           broken i18n).
7749   read_file():
7750         - malloc call changed to nmalloc (Rob Siemborski).
7751 - winio.c:
7752   total_refresh():
7753         - Completely rewrote function, not quite so brain-damaged now.
7755 nano-0.9.8 - 05/18/2000
7756 - nano.c:
7757   main():
7758         - Added awesome code that disables the CINTR and CQUIT
7759           character (Adam Rogoyski).  Removed raw()/noraw() calls so that
7760           nano gets input in 'normal' mode, which is the Right Way(tm) to
7761           do it. ^S, ^Z and ^Q now work properly as a result, as well as
7762           ^C.  New variable term, global variable oldterm to save previous
7763           term settings, and changes to finish() and die().
7764         - Added extra #ifdefs in getopt code, so that above code and
7765           flag init is run even if GETOPT_LONG is not #defined.
7766         - Added memset line before sigactions. (Adam Rogoyski)
7767   do_suspend():
7768           Removed function, see above for why.
7769 - winio.c:
7770   update_line(), center_cursor():
7771         - Removed wrefresh(edit) from bottom of functions.  wrefresh
7772           should now only be called once, at the bottom of the main()
7773           loop.
7774 - global.c:
7775    shortcut_init():
7776         - Removed suspend sc_init call and suspend message because suspend
7777           is no longer needed in the shortcut list to work properly.
7779 nano-0.9.7 - 05/14/2000
7780 - nano.c:
7781   do_home(), do_end():
7782         - Added calls to update_line for the current line, fixes
7783           lack of update (bug discovered by Alberto GarcĂ­a).
7784   main():
7785         - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
7786           following symlinks even when -l isn't set, and "no changes"
7787           error when nano is called from crontab -e (Adam Rogoyski).
7788 - cut.c:
7789   do_cut_text():
7790         - Added edit_update_top to cut when mark is set, fixes lack of
7791           display update (bug discovered by Ken Tyler).
7793 nano-0.9.6 - 05/08/2000
7794 - New Italian translation (it.po), by Daniele Medri.
7795 - nano.c:
7796   page_up(), page_down():
7797         - Added reset of placewewant to 0, as it should be.
7798   do_up(), do_down():
7799         - Added call to update_line() for line we move from and line we
7800           move to, in order to keep the highlighting correct.
7801   do_wrap():
7802         - Added var chop, new code to wrap lines more like Pico, mostly.
7803           THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
7804 - winio.c:
7805   do_help():
7806         - Added edit_refresh() before exit.
7807   update_cursor():
7808         - Removed cursor updating which really wasn't needed anyway.
7809   edit_update():
7810         - Removed yucky code that didn't work, this function now just
7811           computes edittop and editbot and calls edit_refresh() to do the
7812           rest, which removes a lot of duplicate code...
7814 nano-0.9.5 - 05/01/2000
7815 - Removed bytes from file struct because it was computationally wasteful.
7816 - cut.c:
7817   do_uncut_text():
7818         - Added call to edit_refresh().
7819 - nano.c:
7820   do_backspace():
7821         - Added reset of editbot when deleting the last line of the file
7822           (bug discovered by Adam).
7823   do_char():
7824         - Removed call to reset_cursor().
7825   do_delete():
7826         - Added similar check as to do_backspace().
7827   do_enter():
7828         - Added call to edit_refresh().
7829   do_left(), right():
7830         - Added call to update_line(), still redundant but better...
7831   do_up(), do_down():
7832         - Added refresh calls both for current line and line to which
7833           we are moving.
7834   main():
7835         - Removed inefficient call to edit_refresh() after every keystroke.
7836           It is now up each function to leave the screen in a good state.
7837 - winio.c:
7838   do_cursorpos()
7839         - Rewritten to not use bytes from filestruct by an incremental sum.
7840   update_line(), reset_cursor():
7841         - Optimized calls to xplustabs() through a single variable.
7842         - update_line() now takes a new arg, an index into the string
7843           for where to update the line from.  Needed for new update
7844           code.
7845 - configure.in:
7846         - Better checks for slang, allows argument to --with-slang.
7847           (Albert Chin-A-Young)
7848         - Removed -Iintl from CFLAGS in gcc check.
7849 - Makefile.am:
7850         - Addition of -Iintl for gettext (Albert Chin-A-Young)
7852 nano-0.9.4 - 04/25/2000
7853  - Fixed calls to no_help and changed them to the more consistent
7854    ISSET(NO_HELP).  Fixed return val of no_help to be what it should (2,
7855    not 1.  Code to temporarily disable NO_HELP when in the
7856    help system. (Adam Rogoyski)
7857 - cut.c:
7858   do_marked_cut(), do_cut(), do_uncut():
7859         - Commented out unnecessary bits when NANO_SMALL is being used.
7860 - winio.c:
7861   xpt(), strlenpt(), actual_x():
7862         - Added check for value of data[i] & 0x80, if so do not make
7863           character 2 chars wide (orig. by Chris, 0x80 check by Adam).
7864   edit_refresh():
7865         - New check for temp == NULL (bad thing), if so go back to the
7866           previous line.  New filestruct var hold points to prev line.
7867           Fixes segfault when paging down to the end of a file.
7868 - nano.c:
7869   write_file():
7870         - Added check for if file exists and is not equal to the current
7871           filename, prompt for overwrite (Adam Rogoyski).
7872   do_down():
7873         - Removed check for current->next == NULL, now checks return value
7874           of do_down before setting current_x = 0 (discovered by Adam).
7875   do_justify():
7876         - Fixed segfault when reaching the last line (tried to assign
7877           current->next->data when current->next == NULL) (discovered
7878           by Adam).
7879 - utils.c:
7880         - Removed extra macro defs that are now in nano.h.
7881 - nano.h:
7882         - Changed macro SET() to use |= instead of ^=.  Fixes bug in
7883           cut code when cutting more than one line, and cutbuffer gets
7884           blown away when it shouldn't.
7886 nano-0.9.3 - 04/29/2000
7887 - cut.c:
7888   do_marked_cut():
7889         - Fixed off by one error in cut code for marked text.
7890   do_cut_text():
7891         - Removed check for being on the last line, part of
7892           magic line code.
7893   add_to_cutbuffer():
7894         - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
7895         - Added inptr->prev = NULL for case where cutbuffer == NULL.
7896 - nano.c:
7897   do_backspace(), do_char():
7898         - Removed "magic line" code.  It was basically causing more bugs
7899           than it was helping for the sake of compatibility.  This fixes
7900           at least one known segfault condition.
7901   do_enter():
7902         - Added setting editbot to new node if the new node is the last
7903           node in the file.
7904   write_file():
7905         - Changed writing file behavior.  Now, if last line of the file
7906           has any data on it, we write a newline on it, else we don't.
7907 - winio.c:
7908   add_marked_sameline():
7909         - New code that checks for whether the begin and end of the marker
7910           are on different lines.  Missing previously.
7911   edit_add():
7912         - added some more checks for text length.  Cleaned up some
7913           mvwaddnstrs that could be written more simply as waddnstrs.
7914   edit_refresh():
7915         - Removed check for temp == filebot, it is now treated like any other
7916           line.  Fixes a bug where selected text on the last line shows
7917           normally.
7918   xpt():
7919         - Removed an extra computation for tabs variable that was incorrect.
7920   xplustabs():
7921         - Since xpt now actually works, this func is now just a wrapper for
7922           xpt(current, current_x)
7923 - nano.1, nano.1.html:
7924         - Added -l option to man pages.
7925 - configure.in:
7926         - New option --enable-tiny, #defines NANO_SMALL in config.h.
7927           Disables call to gettext in functions and other i18n stuff in
7928           nano.c, the detailed help mode, the resize functions, and the
7929           justify code which no one ever uses.
7930         - New option --with-slang.  Enables slang libraries instead of
7931           ncurses, requires slcurses.h for wrapper functions. (Based
7932           on patches for 0.8.7 by Glenn McGrath).
7934 nano-0.9.2 - 04/15/2000
7935 - This release just fixes the serious segfault problem if nano is
7936   invoked any way other than using the absolute path.  The bug was
7937   in the new code for checking whether nano is invoked as 'pico'.
7939 nano-0.9.1 - 04/14/2000
7940 - Added Pico compatibility for ^T when in search or switch to switch
7941   to the opposite function.  Added one to REPLACE_LIST_LEN and
7942   WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
7943   new strings that will have to be gettext()ed.  New argument 'replacing'
7944   to search_init().  Handlers in do_replace and do_search().
7945 - New write code, now follows symbolic links instead of replacing them
7946   with the new file.  New option (-l, --nofollow) to enable the old
7947   (incorrect, but secure) behavior (Adam Rogoyski).
7948 - nano.c:
7949   do_wrap():    
7950         - Fixed another bug relating to wrapping, and which would cause
7951           a segfault *sigh*.
7952   do_replace():
7953         - Incremented current_x by the length of the replacement
7954           text inside the main replace loop.  Fixes bug #15.
7955   add_marked_sameline():
7956         - New function, handles marked text when start & end of marker is
7957           on one line, also supports most marked text when cursor > COLS.
7958   main():
7959         - Code to check if nano is invoked as 'pico', and if so
7960           automatically set pico_msgs (Robert Jones).
7962 nano-0.9.0 - 04/07/2000
7963 - nano.1, nano.1.html:  Updated man page with my email address and homepage.
7964 - winio.c:
7965   reset_cursor(), update_line():        
7966         - Changed update algorithm for x value to (COLS - 7) multiple when x
7967           value > (COLS - 2).
7968 - edit_refresh():
7969         - Removed inner loop code, now calls update_line() for each line
7970           in question, MUCH nicer.
7971 - xplustabs(), xpt():
7972         - Removed redundant increment of tabs when column no % 8 == 0.
7973         - Added check for data[i] < 32, most of such bits are 2 chars wide.
7974 - update_line():
7975         - Fixed a stupid call to strlenpt with col when we should have
7976           been using actual_col.  Ugh.
7978 nano-0.8.9 - 03/22/2000
7979 - nano.c:
7980   empty_line(), no_spaces(), justify_format(), do_justify():
7981                 Actually added these (screwup applying patch).
7982   do_justify(): Added call to set_modified().
7984 nano-0.8.8 - 03/12/2000
7985 - Preliminary internationalization support.  Many many functions modified
7986   to use gettext (via _() macro).  es.po file included. (Jordi Mallach)
7987   New dirs po/ and intl/, changes to configure.in and Automake.am to
7988   support i18n.
7989 - nano.c:
7990   includes:     Added sys/param.h and limits.h. (Adam Rogoyski).
7991   statics:      Changed some things that were not necessarily static
7992                 (Adam Rogoyski).
7993   nrealloc():   New function, similar to nmalloc().  Changed calls from
7994                 realloc() to nrealloc (Adam Rogoyski).
7995   empty_line(), no_spaces(), justify_format(), do_justify():
7996                 New functions for justify function (Adam Rogoyski).
7997 - winio.c:
7998   blank_edit(): Added wrefresh call to edit so that screen updates (like
7999                 on ^L) actually work.
8000   xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
8002 nano-0.8.7 - 03/01/2000
8003 - main.c:
8004   do_wrap():    Better fix for segfaults, and fix for lines being wrapped
8005                 to a single character on one line when no good place to
8006                 break the line exists, and for wrapping lines longer than
8007                 COLS.
8008 - nano.1.html:
8009                 Html version of man page, now included in dist.  For
8010                 the benefit of nano packages in Linux distributions.
8012 nano-0.8.6 - 02/24/2000
8013 - global.c:
8014   shortcut_init():
8015                 Added shortcuts for goto_line and do_replace when using
8016                 pico_msgs.  Oops.
8017 - nano.c:
8018   statics:      Changed fill back to 0 from 71 by default (Adam Rogoyski).
8019   do_wrap():    Added check for backing up past tabs, which we shouldn't do.
8020                 Removed check for backing up past spaces first.
8021   main():       Added for loop to check for alt keys instead of hard list.
8022   do_enter():   Fix for bug #14, added call to reset_cursor and messed
8023                 up do_char quite a bit.
8024   version():    Added time and date stamp for compile on version message.
8025                 Added mail and web page info.
8026 - README:       Updated mailing list info.
8028 nano-0.8.5 - 02/18/2000
8029 - nano.c:
8030   main():       Finally fixed tilde being input on page up/down keys in
8031                 certain terminal types.  Fix was input 26->91->5[34] check
8032                 for 126, if so make the kbinput PAGE UP/DOWN, else unget
8033                 the keystroke and continue.  Added #include <ioctl.h> for
8034                 ioctl call.
8035   handle_hup():
8036                 Handler for hangup signal.  Belated include of patch from
8037                 Tim Sherwood.
8038 - winio.c:
8039   edit_refresh():
8040                 Temporary fix for selecting text when temp == current.
8041                 edit_refresh() is now unmanageably complex, and must be
8042                 revamped.
8043   check_statblank():
8044                 Added check for constupdate, makes things less choppy
8045                 (Adam Rogoyski)
8047 nano-0.8.4 - 02/11/2000
8048 - Moved global variables that were only (or mostly) used in one file into
8049   its proper file as a static.  Affects cut.c, nano.c, global.c (Andy Kahn).
8050 - global.c:     
8051   shortcut_init():
8052                 Removed redundant NANO_CONTROL_H from backspace shortcut,
8053                 added char 127 which should have been there.
8054 - nano.c:
8055   main():       Fix for loops looping until MAIN_LEN, added -1 to stop
8056                 segfaults (Adam Rogoyski).
8057 - Makefile.am:  Added all source filenames (Adam Rogoyski).
8058 - nano.1:       Fixed mail addressed and added mailing list address.
8059 - README:       Updated my email address and the nano web page.
8061 nano-0.8.3 - 02/08/2000
8062 - New Pico mode (-p, --pico), toggles (more) compatibility with the
8063   Pico messages displayed in the shortcut list.  Note that there are still
8064   small differences in this mode.
8065 - nano.h:       New shortcut struct format, for the benefit of i18n and
8066                 our help menu.  Removed shortcut message macros, they are
8067                 now all in shortcut_init in global.c.
8068 - nano.c:
8069   do_wrap():    Removed resetting of current_x when we are in fact
8070                 wrapping to the next line, fixes a bug in -i mode.
8071   do_enter():
8072                 Rewrote the autoindent mode code to be a lot less pretty,
8073                 but a lot more magical.
8074   main():
8075                 Removed case for ignoring char 126 (~).  That's kind of
8076                 important, we'll have to fix handling that sequence when
8077                 paging up/down on a terminal some other way... Revamped
8078                 main switch loop in much snazzier fashion based on the
8079                 shortcut list.
8080 - winio.c:
8081                 New function display_main_list.  Affects all functions
8082                 that used to call bottombars() with main_list.  Added
8083                 because we now only call bottombars with the macro
8084                 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
8085                 changes to the main_list shortcut list (see global.c below).
8086                 New function do_help, our preliminary dynamic help system.
8087 - Many many funcs:
8088                 Changed from int to void to allow one uniform type to call
8089                 from the shortcut struct.  Also a few functions that do
8090                 not simple have void argument have new functions called
8091                 funcname_void(void) to be called from the shortcut list.
8092                 do_cut_text and do_uncut_text were changed to void
8093                 arguments because they were never called with a filestruct
8094                 other than *current anyway.
8095 - global.c:
8096                 Shortcut list main_list was expanded to cover all
8097                 shortcuts that could be caught in the main loop.
8098                 Consequently there is a new macro MAIN_VISIBLE which tells
8099                 how many items in the main list to actually show.
8101 nano-0.8.2 - 02/02/2000
8102 - Added initial mouse (-m, --mouse) support.  New global variable
8103   use_mouse. (Adam Rogoyski)
8105 - nano.c:       Set initial value of fill to COLS - 8 rather than just 72
8106                 regardless. (Adam Rogoyski).
8107   do_delete():  
8108                 Deleted call to do_backspace() when on the end of a line,
8109                 because it won't update the line properly.
8110   do_backspace():
8111                 Removed unnecessary pointer manipulation that was being
8112                 handled by unlink_node().
8113   open_file():
8114                 Added check for trying to open a directory (currently we
8115                 segfault on this).  Bug pointed out by Chad Ziccardi.
8117 nano-0.8.1 - 01/28/2000
8118 - Implemented Pico's -r (fill) mode, command line flag -r or --fill.  New
8119   global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
8120   global.c and proto.h.
8121 - nano.c:
8122 write_file():           Added (incredibly) necessary check for EPERM when
8123                         link() fails.  This allows us to actually save
8124                         files via rename() on filesystems that dont
8125                         support hard links (AIEEEEEE).
8126 do_goto():
8127                         Fixed a stupid mistake where we were calling
8128                         bottombars() with replace_list instead of goto_list.
8129 - nano.h:
8130                         New char *help in shortcut structure for help
8131                         feature. Added NANO_*_MSG and NANO_*_HELP #defines
8132                         for help function and i18n.
8133 - global.c:
8134                         New functions shortcut_init (called in nano.c) and
8135                         sc_init_one() to initialize the shortcuts without
8136                         using {}s (for i18n).
8138 nano-0.8.0 - 01/25/2000
8139 - View flag (-v, --view) implemented.  Global variable view_mode, affects
8140   main loop of nano.c and new_file(). (me)
8141 - nano.c:
8142                         split checks for TERMIOS_H and TERMIO_H up so we
8143                         can (theoretically) include them both, which is good.
8144 handle_sigwinch():
8145                         Added check for ncurses.h.  (Andy Kahn)
8146 do_spell():
8147                         We now only try ispell because we don't as of yet
8148                         handle the 'spell' program the right way, now that
8149                         I finally know what the right way is =-).  Added
8150                         call to edit_update(fileage) to stop segfaults.
8151 global_init():
8152                         Added initialization of edit* filestruct pointers
8153                         to stop segfaults on spell check.
8154 usage():
8155                         Check for getopt_long, and if no leave out the
8156                         GNU options everyone seems to love so much (Andy Kahn)
8157 main():
8158                         Added checks for getopt_long (Andy Kahn)
8159                         We ignore character 126 because it gets put into
8160                         the buffer when we page up/down on a vt terminal.
8161 write_file():
8162                         Fixes for umask (Adam Rogoyski).  Renamed tmpfile
8163                         variable to tmp.  Documented the tmp option
8164                         better in the function comments.  Fixed my
8165                         stupidly commented out check for tmp on setting
8166                         umask which I really like =>
8167 - nano.h:
8168                         Made desc variable in shortcut struct a pointer
8169                         instead of a fixed-length string.
8170 - utils.c:
8171                         Fixed check for config.h before nano.h.
8172 - configure.in:
8173                         New checks for getopt_long, getopt.h, removed
8174                         CFLAGS and LDFLAGS changes.  Gonna have to run
8175                         strip manually now =-) (Andy Kahn)
8176                         Added check for HAVE_WRESIZE, new file acconfig.h
8177                         (me).
8179 nano-0.7.9 - 01/24/2000
8180 - New autoindent feature.  Command flag 'i' or '--autoindent'.  New
8181   function do_char() to clean up character output, global
8182   variable autoindent in global.c. (Graham Mainwaring)
8183 - New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
8184   files on exit without prompting.  Affects do_writeout().  Also
8185   do_writeout() now takes a parameter for if exiting.
8186   Global variable temp_opt in global.c (Graham Mainwaring)
8187 - Preliminary spell program support.  Added command flag '-s' or
8188   '--speller' for alternative speller command.  Added function do_spell()
8189   and exit_spell() to nano.c.  New global variable alt_speller.
8190 - nano.c:
8191   main():       We now ignore input of decimal 410 because these get entered
8192                 when we resize the screen.  Sorted options in getopt()
8193                 switch statement.
8194   usage():      Sorted options and changed tabs to make room for -s option.
8195   write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
8196                 doesn't print the number of lines written on the statusbar.
8197   global_init():
8198                 Added more initializations to globals to support do_spell().
8200 nano-0.7.8 - 01/23/2000
8201 - Stubbed justify function.  Affects main() in nano.c and nano.h defines.
8202 - Added Fkey equivalents for Pico compatibility.  Affects nano.h defines
8203   and main() in nano.c
8204 - Removed redundant reset_cursor() calls from the blank() routines.
8205 - nano.c:
8206   main():       Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
8207                 Removed check for isprint() characters in main while loop
8208                 for people with odd character sets *shrug*.  Added some X
8209                 window F-key combos.
8210   read_line():  New function, consolidates of most of the special
8211                 sections of the file reading code. (Rob Siemborski)
8212   do_replace(): Many scattered fixes. (Rob Siemborski)
8213   write_file(): Added check for empty filename.
8214 - winio.c:
8215   nanogetstr(): Fixes for deleting at places other than the end of the
8216                 buffer, cut support. (Adam Rogoyski)
8217   blank_edit(): New function, blanks edit buffer.  Added call to it in
8218                 total_refresh().
8219 - configure:    Checks for glib if snprintf or vsnprintf aren't available
8220                 (Andy Kahn). Changed warning message when no termcap lib
8221                 is found.
8223 nano-0.7.7 - 01/19/2000
8224 - Option '-v' for version moved to '-V', because -v is Pico's "read only"
8225   mode (affects getopt() in main() and usage() function in nano.c
8226 - New flag -c, always show cursor position.  Affects main() in nano.c and
8227   statusbar() in winio.c
8228 - Option '-x' doesn't show help window at the bottom of the editor.
8229   New variable no_help in nano.h and proto.h, affects main(), usage(),
8230   and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
8231   bottombars(), and do_yesno()  in winio.c  (I had to apply this patch by
8232   hand =P) (Adam Rogoyski)
8233 - nano.c:
8234   handle_sigwinch():    New function (Adam Rogoyski), handles resizing.
8235   page_up(), page_down():       
8236         - New functions.  We now set the cursor at the top right corner,
8237           not at the center line, and page up and down a full screen
8238           rather than a half screen. Original functions renamed to
8239           page_up_center() and page_down_center().
8240   main():
8241         - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
8242           in main while loop because suspend mode was broken.  This should
8243           fix it, at least for now.
8244         - Added long option support (By popular harassment ;-) - Added
8245           #include for getopt.h, changed getopt() to getopt_long().
8246           Options added so far: --version (-V), --nowrap (-w), --suspend
8247           (-z), --help (-h), --nohelp (-x).
8248         - Rewrote signal statements (Adam Rogoyski)
8250 nano 0.7.6 - 01/15/2000
8251 - New ChangeLog format
8252 - nano.c:
8253   main():       Bound CONTROL_H to backspace (oops)
8254                 Added more Alt-[-key combinations, for page up & down.
8255   read_bytes(): New function (Adam Rogoyski)
8256   read_file():  Optimizations - malloc()s *buf a little at a time rather
8257                 than one huge buffer, and replaced the strcat at the end
8258                 with an index variable.  Added call to read_bytes().
8259   do_next_word(): New function, binding is control-space (0) (me)
8261 - winio.c:
8262   bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
8263                 (formula is extra space needed = COLS / 6 - 13).
8264   actual_x() & strlenpt():      
8265                 Added bug#9 fix - when tabs % 8 == 0, we should only
8266                 increment tabs by 1.
8267   titlebar():   Fixed overrun in titlebar on very long filenames.
8269 0.7.5   Pico 'last line' feature added (Rob Siemborski & me).  Eliminated
8270         writing a newline at EOF. do_cursorpos and do_replace are now not
8271         directly bound to signals but picked up as their control sequences
8272         in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
8273 0.7.4   Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
8274         available memory, align bug fixed (Big Gaute).
8276 --- As of version 0.7.4 TIP is renamed to nano.
8278 0.7.3   Fixed a double blank_statusbar() when jumping to first and last
8279         lines.  Took out unnecessary updates in load_file. Bug fix in
8280         do_left. Missing updates to totlines, fixed bug #7 (last line not
8281         having a newline at the end doesn't get read, bugfix in do_replace
8282         with replace all, more/better comments (Robert Siemborski)
8283 0.7.2   Our first patch accepted into the source! configure fixes
8284         and optimizations (Erik Anderson).  Added missing stdarg.h to winio.c.
8285         Bug fix in update_line for editing long lines. Fixed arguments
8286         being put into the filename when none is specified. Preliminary
8287         +line command argument function.
8288 0.7.1   configure tweak for better FreeBSD support. Removed refresh() from
8289         edit_refresh to stop cursor "jumping" during screen updates.  This
8290         will probably cause a bug or two. Replace is now Alt-R (@R) and
8291         Goto line is Alt-G (@G), but they have control key aliases of ^\ and
8292         ^_ respectively.  Made Control-F,B,N,P work like they do in Pico.
8293         Control-G will become the Help key, but for now is stubbed out.
8294 0.7.0   Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
8295         findnextstr. Bound Control-D to Delete. Refixed segfault on zero
8296         length file. Added Esc-[-A,B,C,D cursor key sequences.
8297 0.6.9   Preliminary cursor position function. Split up tip.c more, made
8298         new files cut.c and winio.c. Fixed a bug in cut_marked_segment
8299         that was leaving out a character.
8300 0.6.8   By request, optchr in main() is now an int.  Removed unneeded
8301         globals. Bound functions for next/prev page, and wrote functions
8302         do_home and do_end.
8303 0.6.7   Bugfix in do_uncut_text for totlines. Broke up open_file and
8304         created read_file.  Implemented Insert File. Fixes in tipgetstr
8305         for erroneous keystrokes. Added leave_cursor arg to do_yesno().
8306 0.6.6   Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
8307         aborted searches and more Pico-compatible messages. statusq() now
8308         returns -2 on a blank entry instead of -1. Bug fix in actual_x().
8309 0.6.5   More BSD compatibility.  Fixed two bugs in do_uncut_text
8310         regarding buffers with filebot in them.  Fixins in do_backspace
8311         and do_enter. Removed unused variables. Removed strip_newline.
8312 0.6.4   Took out the awful newlines from each string buffers.  This will
8313         certainly cause more bugs. Fixes in do_exit(). Better empty file
8314         handling (I hope).
8315 0.6.3   Implemented ^E.  Removed now unneeded wrapline from filestruct.
8316         do_enter() rewritten.
8317 0.6.2   Better default file permissions. Complete rewrite of do_wrap().
8318         Better handling of editing with cursor near COLS - 1.
8319 0.6.1   Starting to implement wrapping toggle. Fix for unhandled control
8320         codes being entered into the buffer. Bug fix in actual_x; more
8321         > COLS - 1 functionality, especially on lines with TABs.  Fixed being
8322         locked into cutbuffer when cutting more than one marked screen of
8323         text.
8324 0.6.0   We have TABs!!!  To do this, placewewant is now set to the actual
8325         width on the screen we want to be, not an index of current->data.
8326         New functions xplustabs and actual_x convert the actual place
8327         the cursor should be on the screen to and from the place in the
8328         string.
8329 0.5.5   Changed do_right to test do_down before setting current_x to 0,
8330         eliminating the "looping" on the last line when holding the right
8331         arrow.  Preliminary support for longer than COLS - 1 lines.
8332         Wrote do_delete.
8333 0.5.4   Fixed a bug in total_update that wasn't repainting the screen
8334         properly.  tipgetstr is much more messy but text is now more
8335         editable ;)  Fixed crash on entering a new file, hopefully.  Awful
8336         stub for tab handling, only in do_right() to save me some sanity.
8337 0.5.3   Added check for malloc.h.  Implementing uncut from marker slowly.
8338         Fixed a few bugs in do_uncut when not uncutting from marked text.
8339         I would not trust your data with the mark code right now, but then
8340         we're not at version 1.0 yet so dont trust anything ;)
8341 0.5.2   Added reset_cursor() before end of update_line so cursor doesn't
8342         jump after each keystroke entered. Select text stubbed. Fixed
8343         a bug in total_refresh().  Setting a mark will highlight properly,
8344         but does not actually affect what gets put in the cutbuffer (yet).
8345 0.5.1   Writing a file out causes modified to be set back to 0.  Good.
8346         Set_modified function written.  Cut and uncut text now set
8347         modified when called.
8348 0.5.0   Half way there!  Implemented write out, save function seems
8349         stable.  Changed statusbar blank routing to not refresh, a separate
8350         program calls it and then refreshes.  Made the program not clear
8351         the screen on exit, just the bottom two lines (like Pico).
8352 0.4.2   Implemented replace all in replace function.  Crude exit function
8353         (asks yes or no if modified but does not write to file).
8354 0.4.1   Implementing search & replace.  Fixed crash on deleting at top of
8355         edit buffer.  Implemented "timeout" of statusbar messages.
8356         Implemented ^A and ^E (beginning and end of line).
8357 0.4.0   Split code into global.c and proto.h to allow for better multiple
8358         file handling.  Added #defines for the majority of the shortcut
8359         keys in tip.h for easy modification.
8360 0.3.1   Write edit_refresh which doesn't move the screen around, just
8361         updates what's there already.  do_wrap() and do_enter() added.
8362 0.3.0   Preliminary cutbuffer (cut and uncut) support.
8363 0.2.7   Check for Modification added.  do_search() works.
8364 0.2.5   Rewrite of file data struct.
8365 0.2     Read in data to buffer, bound keystrokes to stub functions,
8366         initial cursor movement on screen.  Initial autoconf support.
8367 0.1     Initial program setup w/ncurses
8369 $Id: ChangeLog.pre-2.1 4199 2007-12-17 23:05:11Z dolorous $