blob: cdcb9eeef202c9199f1871afda83b7439767094f [file] [log] [blame]
Chris Allegrettabf9da282000-09-04 17:44:59 +00001CVS code -
Chris Allegretta423cbfd2000-09-04 16:21:29 +00002nano-0.9.17 - 09/04/2000
Chris Allegretta756f2202000-09-01 13:32:47 +00003- General
4 - New shortcuts to toggle certain options that are normally only
5 flags via Alt/Meta. See Alt-C,E,I,K,M,P,X,Z. New struct called
6 toggles in nano.h, toggle_init(), toggle_init_one() in global.c
Chris Allegrettae49f1232000-09-02 07:20:39 +00007 called from shortcut_init(), and do_toggle in nano.c. Also
8 moved the signal code into a separate function in nano.c called
Chris Allegretta18f8be02000-09-04 03:20:38 +00009 signal_init(). Moved "struct sigaction act"into a static in
10 nano.c.
Chris Allegrettae49f1232000-09-02 07:20:39 +000011 - Changed from Alt-key symbol (@) which is completely nonstandard
12 to the *nix "Meta" symbol (M-). Changed help_init to show
13 the M-key usage and the help text to explain keys whcih generate
14 Meta. Moved the toggle Meta keystrokes to the first column
15 instead of the third as they are the primary keystrokes for the
Chris Allegretta9541f2a2000-09-02 07:31:32 +000016 functions. Thanks Mini editor team :->
Chris Allegretta756f2202000-09-01 13:32:47 +000017 - Changed last_search and last_replace vars to statically
18 allocated (hence nulled) and moved to search.c (Matt Kraai).
Chris Allegrettaf0f63a82000-09-02 18:44:21 +000019- global.c:
20 toggle_init()
21 - Changed "No auto wrap" and "No help mode" to "Auto wrap" and
22 "Help mode". See the change to do_toggle() below.
Chris Allegrettae10debd2000-08-22 01:26:42 +000023- nano.c:
24 do_mouse()
25 - Patch for handling lines w/tabs and mouse better (Ben Roberts).
Chris Allegretta340d6e52000-08-29 03:55:29 +000026 do_wrap()
27 - Made wrapping code less ambitious.
Chris Allegrettaf0f63a82000-09-02 18:44:21 +000028 do_toggle()
29 - Added checks for no help and no wrap mode, and print opposite
30 enable/disable message.
Chris Allegretta18f8be02000-09-04 03:20:38 +000031 do_suspend(), do_cont():
32 - New functions, handle suspend signal in a Pico-like manner and
33 work with Meta-Z.
Chris Allegrettaf1d33d32000-08-19 03:53:39 +000034- winio.c:
35 total_refresh()
36 - Added edit_refresh() call to actually update the screen if messy.
37 edit_refresh_clearok()
38 - New function, does a total update for edit refresh, needed to fix
39 lack of reversed text on searching with MARK_ISSET.
Chris Allegrettadabc3cb2000-08-25 01:44:12 +000040 onekey()
41 - Off by one error fix (Rocco Corsi).
Chris Allegretta6306a112000-09-02 07:55:41 +000042 update_line()
43 - Added check for binary data >= 1 and <= 26, and use ^+letter
44 to display it. Should fix editing text files with binary
45 data in them. Placing of the cursor seems to be a bit screwed
46 though...
Chris Allegrettaf1d33d32000-08-19 03:53:39 +000047- search.c:
48 search_abort()
49 - Now calls edit_refresh_clearok when MARK_ISSET to handle screen
50 ugliness bug (reported by Ken Tyler).
Chris Allegrettae10debd2000-08-22 01:26:42 +000051 findnextstr():
52 - Added reset for placewewant (Ben Roberts).
Chris Allegretta9babaf32000-08-30 13:49:33 +000053 - Fixed check for string that only occurs on the same line failing
54 (discovered by Ken Tyler).
Chris Allegrettaf1d33d32000-08-19 03:53:39 +000055
Chris Allegrettaba96f7a2000-08-09 21:38:28 +000056nano-0.9.16 - 08/09/2000
Chris Allegretta7dc14e82000-08-05 16:03:19 +000057- cut.c:
58 do_cut_text()
59 - Fixed getting locked into cutbuffer on cutting first line of file.
Chris Allegrettac86f7142000-08-07 14:39:32 +000060 - Added check_statblank().
61 - Check for fileptr == filebot, if so return, we shouldn't bother
62 cutting the magic line.
63 do_uncut_text()
64 - Added check_statblank().
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +000065- nano.c:
66 main()
67 - Changed tabsize long arg to actually accept an argument *sigh*.
Chris Allegretta81b1eea2000-08-05 16:09:07 +000068- po/Makefile.in.in:
69 - Patch to handle $DESTDIR (orig by Dan Harnett contributed by
70 Christian Weisgerber)
Chris Allegrettab4dc9e02000-08-05 22:49:30 +000071- configure.in:
Chris Allegrettaa2efc362000-08-09 03:26:33 +000072 - New (and severally revised =) slang test code (Albert Chin-A-Young)
Chris Allegretta4dbcc3c2000-08-04 15:44:29 +000073
Chris Allegretta0bf4e142000-08-04 02:42:04 +000074nano-0.9.15 - 08/03/2000
Chris Allegretta234a34d2000-07-29 04:33:38 +000075- Changed edit_update call to take arguments TOP, CENTER or BOTTOM.
76 Affects many many functions. Removed functions edit_update_top and
77 edit_update_bot.
Chris Allegretta6d690a32000-08-03 22:51:21 +000078- Added global variable tabsize, we no longer screw with the curses
79 library in order to implement -T (suggested by Christian Weisgerber).
Chris Allegretta7a6f0d92000-07-31 13:00:24 +000080- configure.in:
81 - Finally fixed check for slang to report "no" if not called
82 with --with-slang or --without-slang
Chris Allegretta7975ed82000-07-28 00:58:35 +000083- nano.c:
Chris Allegretta18bd0292000-07-28 01:18:10 +000084 splice_node()
Chris Allegretta7975ed82000-07-28 00:58:35 +000085 - New function, abstracts linking in nodes. Fixes bug #36.
Chris Allegretta6925bbd2000-07-28 01:41:29 +000086 null_at()
87 - New function, nulls a string at a given index and realigns it.
Chris Allegretta18bd0292000-07-28 01:18:10 +000088 delete_buffer()
89 - Removed, same as free_filestruct().
Chris Allegrettada721be2000-07-31 01:26:42 +000090 do_backspace()
91 - Now calls page_up_center instead of page_up (as it should?)
92 do_enter()
93 - Fixed typo (?) in check for inptr->next. Caused lots of
94 grief for editing lines at filebot.
Chris Allegretta99bf73f2000-08-04 00:22:08 +000095 main()
96 - Removed now useless usrtabsize variable (Christian Weisgerber).
Chris Allegretta18bd0292000-07-28 01:18:10 +000097- search.c:
98 replace_abort()
99 - redundant, now just calls search abort until it does something
100 different.
Chris Allegretta95b0b522000-07-28 02:58:06 +0000101- winio.c:
102 edit_refresh()
103 - Added check for current line "running" off the screen.
104 Hopefully this will not cause any recursive lockups.
Chris Allegretta234a34d2000-07-29 04:33:38 +0000105 (Who am I kidding, of course it will!)
Chris Allegrettaed022162000-08-03 16:54:11 +0000106 - Added check to stop infinite loop calling edit_update.
Chris Allegretta234a34d2000-07-29 04:33:38 +0000107 edit_update()
108 - Rewritten, hopefully this will remove a lot of the
109 scrolling the cursor back and forth needlessly.
Chris Allegretta1a471392000-07-28 14:08:01 +0000110- move.c:
111 page_down()
Chris Allegretta234a34d2000-07-29 04:33:38 +0000112 - do an edit_update() at last case. Made function more like
113 Pico's version, only move down to two lines before editbot.
114 page_up()
115 - Made function more like Pico's version, only move down to two
116 lines after edittop.
Chris Allegretta7975ed82000-07-28 00:58:35 +0000117
Chris Allegrettaa1a55c72000-07-28 00:36:03 +0000118nano-0.9.14 - 07/27/2000
Chris Allegretta05597192000-07-24 21:16:12 +0000119- nano.h:
120 - Set CUT_TO_END to a different bit than TEMP_OPT. Fixes bug #32.
121- cut.c:
Chris Allegretta962c3c92000-07-24 21:52:17 +0000122 do_cut_text()
Chris Allegretta05597192000-07-24 21:16:12 +0000123 - Added check for MARK_ISSET when using CUT_TO_END. Fixes bug #31.
Chris Allegretta0e5faca2000-07-27 13:32:46 +0000124 - Simplified check for freeing cutbuffer. Added checks for doing
125 multiple cuts with -k, now sets marked_cut to 2 for later
126 processing by do_uncut_text().
127 do_uncut_text()
128 - Added handler for uncutting with -k cuts.
Chris Allegretta962c3c92000-07-24 21:52:17 +0000129- files.c:
130 write_file()
131 - Removed (redundant) check for writing out files with -t.
132 do_writeout()
133 - Changed check for filename to filename[0]. Added some code,
134 overall fixes bug #30 =-)
Robert Siemborskia417ddc2000-07-24 23:18:48 +0000135- nano.c:
136 do_justify() & do_wrap():
137 - totsize-related fixes (Rob)
Chris Allegretta2ece1672000-07-27 15:25:52 +0000138- de.po
139 - Revised translations by floki@bigfoot.com
Chris Allegretta05597192000-07-24 21:16:12 +0000140
Chris Allegretta1d7110d2000-07-23 16:59:07 +0000141nano-0.9.13 - 07/23/2000
Chris Allegretta627de192000-07-12 02:09:17 +0000142- Implemented Pico's -k mode. New flag CUT_TO_END, option (-k, --cut),
Chris Allegrettad19e9912000-07-12 18:14:51 +0000143 affects do_cut_text in cut.c. Not available with SMALL_NANO because it
144 depends on the marker code which is not available with that setting.
Chris Allegretta30885552000-07-14 01:20:12 +0000145- Changed static temp_opt to flag TEMP_OPT. Fixed bug #29 (using
146 -t with an unwritable file causes users to get locked into editor).
Adam Rogoyskied0cb892000-07-12 04:02:45 +0000147- move.c
148 page_down()
149 - Don't edit_refresh() if the bottom of the file is in the edit
150 buffer. (Adam)
Robert Siemborski6967eec2000-07-08 14:23:32 +0000151- nano.c:
152 main():
153 - TABSIZE now set before first call to edit_refresh (Bill Soudan)
Chris Allegretta8f6c0692000-07-19 01:16:18 +0000154 - Different ^C kill code (patch by Christian Weisgerber).
Robert Siemborskifcf32bf2000-07-17 03:04:54 +0000155 die():
156 - More intelligent emergency-save filename selection (Rob)
Chris Allegretta8f6c0692000-07-19 01:16:18 +0000157 do_spell():
158 - Changed exit semantincs a bit so that aspell wouldn't get
159 all screwy (bug disovered by Joshua Jensen.
160- files.c:
161 read_file():
162 - Added init of buf variable, hopefully this will stop the
163 "bleeding" of text seen with mutt and using i18n.
Chris Allegrettaacb62342000-07-21 22:42:46 +0000164 write_file():
165 - Added code to check to see if using -l and the file is not
166 in fact a link. This should fix the behavior where a file
167 that does not have write permission but could be removed and
168 rewritten is saved without error. Please test this feature
169 and give feedback.
Chris Allegrettaa4d21622000-07-08 23:57:03 +0000170- search.c:
171 search_init():
172 - Added " (to replace)" statement to end of search string if
173 we are doing a replace. Manually converted all the translations
174 from '%s' to '%s%s' to ensure they still work with the new code.
175 Also put in the translation for " (replace)" in the .po's. Hope
176 I didn't step on your toes doing this Jordi. (Chris)
Chris Allegretta635fae32000-07-09 03:26:34 +0000177 do_search(), do_replace():
178 - Removed call to search_abort()/replace_abort() before call to
179 the opposite function.
Chris Allegrettafa8f7bf2000-07-12 02:41:13 +0000180 - Fixed bug #28.
Adam Rogoyskied0cb892000-07-12 04:02:45 +0000181 findnextstr()
182 - do not center string found if it is currently visable. (Adam)
Chris Allegretta7539a822000-07-09 23:55:13 +0000183- fr.po:
184 - French update by Clement Laforet <clem_laf@wanadoo.fr>.
Jordi Mallach8d7ac1b2000-07-13 03:10:01 +0000185- es.po:
186 - Updated strings to 0.9.13 (Jordi).
Robert Siemborski6967eec2000-07-08 14:23:32 +0000187
Chris Allegrettae955dae2000-07-07 22:24:59 +0000188nano-0.9.12 - 07/07/2000
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +0000189- all:
Chris Allegretta9fc8d432000-07-07 01:49:52 +0000190 - New regexp search feature by Bill Soudan. New flags USE_REGEXP
191 and REGEXP_COMPILED, new functions regexp_init, regexp_cleanup
192 replace_line, replace_regexp in search.c, changes to
Chris Allegretta47805612000-07-07 02:35:34 +0000193 search_init() and do_replace() and strstrwrapper().
194 - Added _POSIX_VERSION check to regexp code. Better than nothing
195 for non-POSIX systems...
Robert Siemborski6d0e9cd2000-07-01 21:43:16 +0000196 - Made search functions & keys more like Pico. Added goto line from
197 search and replace function, changed wording to "No Replace" instead
198 of "To Search", "To Replace" to simply "Replace", and changed to
199 Pico's keystroke by default, ^R. Affects search_init(),
200 do_search() in search.c, globals in nano.h and
201 shortcut_init() in global.c.
Robert Siemborskideca3e72000-07-04 02:40:41 +0000202 - changed 'sprintf' calls to safer 'snprintf' (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +0000203- cut.c
204 - further totsize update corrections
Robert Siemborskideca3e72000-07-04 02:40:41 +0000205- files.c:
206 - changed do_insertfile to call fix_editbot (Rob)
Robert Siemborski23ecb172000-07-04 22:21:40 +0000207 - Magic Line code in read_file (Rob)
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +0000208- nano.c:
209 - Removed dual alt_speller variables, oops! (Rocco Corsi)
Chris Allegrettadbc12b22000-07-03 03:10:14 +0000210 - Removed unnecessary do_oldspell function (Rocco Corsi). Added
211 SMALL_NANO #ifdef around actual spell function.
Chris Allegretta1e57e682000-07-03 04:24:39 +0000212 - Moved page_up() to move.c where is belongs.
Robert Siemborskideca3e72000-07-04 02:40:41 +0000213 - Corrected FIXME in do_enter with explanation. (Rob)
214 - Fixed FIXME in do_justify, resulted in creation of
215 fix_editbot [also fixed in do_enter] (winio.c) (Rob)
Robert Siemborskicdff0152000-07-07 01:58:52 +0000216 help_init():
217 - Moved newline out of if statement (Rocco Corsi)
Chris Allegretta28a0f892000-07-05 22:47:54 +0000218 do_char():
Robert Siemborski23ecb172000-07-04 22:21:40 +0000219 - Magic Line related code in do_char (Rob)
Chris Allegretta28a0f892000-07-05 22:47:54 +0000220 do_backspace(), do_delete():
221 - Added magic line code here too.
222
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +0000223- de.po:
Chris Allegretta6e805852000-06-22 01:53:29 +0000224 - Revised translations by floki@bigfoot.com.
Chris Allegrettaf7eba0b2000-06-24 01:33:27 +0000225- fi.po:
226 - Finnish translation by pauli.virtanen@saunalahti.fi.
Robert Siemborski23ecb172000-07-04 22:21:40 +0000227- utils.c:
228 - Added new_magicline()
Chris Allegretta8c2b40f2000-06-29 01:30:04 +0000229- winio.c:
Chris Allegrettadba37ae2000-07-07 05:13:09 +0000230 - Added stdlib.h to includes, found by OpenBSD gcc.
Robert Siemborski20d61d52000-07-08 00:43:35 +0000231 - lots of new commenting around display functions
Chris Allegretta5204ea92000-06-22 01:56:23 +0000232 do_yesno(), nanogetstr():
233 - Removed now unnecessary raw/cbreak combos.
Jordi Mallach0b0fc492000-06-23 01:00:13 +0000234 - Removed gettext calls from "Y(es)", "N(o)", "A(ll)" and "^C", till
235 we decide if those keybindings should be translated. (Jordi)
Chris Allegretta8c2b40f2000-06-29 01:30:04 +0000236 clear_bottomwin():
237 - Removed wrefresh(edit) call.
Chris Allegretta48fd2cb2000-07-03 04:31:13 +0000238 edit_update_top():
239 - Fixed a bug that caused nano to not update when
240 current->next == NULL (e.g. paging down to the very bottom of
241 ABOUT NLS wouldn't work).
Robert Siemborskideca3e72000-07-04 02:40:41 +0000242 fix_editbot:
243 - Added (should rebuild editbot from a valid edittop) (Rob)
Robert Siemborski20d61d52000-07-08 00:43:35 +0000244 edit_add:
245 - removal of redundant call to mvwaddnstr
Chris Allegretta8a9fe7e2000-06-21 22:29:38 +0000246
Chris Allegretta4da1fc62000-06-21 03:00:43 +0000247nano-0.9.11 - 06/20/2000
Chris Allegretta790198d2000-06-20 00:40:01 +0000248- New flag "-T" or "--tabsize" to specify how to display tab widths.
249 Affects main() in nano.c, strlenpt(), xpt() and actual_x() (et al) in
250 winio.c, and nano.h. Many harcoded "8"s have been changed to the
Chris Allegretta4da1fc62000-06-21 03:00:43 +0000251 TABSIZE int. Added changes to nano.1 and nano.1.html.
Chris Allegretta12de8e82000-06-09 02:40:50 +0000252- id.po:
253 - Indonesian translation by Tedi Heriyanto.
Chris Allegretta4da1fc62000-06-21 03:00:43 +0000254- es.po:
255 - Updated translation (Jordi Mallach).
Robert Siemborski91413cf2000-06-07 02:20:46 +0000256- winio.c
257 - Rewrite of display functions to correct the display problems
258 we had been seeing. Affects: add_marked_sameline, edit_add,
259 and many others. (Rob Siemborski)
Chris Allegrettab0ae3932000-06-15 23:39:14 +0000260 - totsize fixes (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +0000261 total_refresh():
262 - Cut dispaly_main_list call, as this function is only supposed to refresh
263 what's already on the screen, not go through the process of adding the
264 text again.
Chris Allegretta12de8e82000-06-09 02:40:50 +0000265- cut.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +0000266 - totsize fixes (Rob Siemborski)
Chris Allegretta12de8e82000-06-09 02:40:50 +0000267- nano.c:
Robert Siemborskib0df9532000-06-09 00:55:16 +0000268 - experimental do_wrap and check_wrap (Adam Rogoyski)
Chris Allegretta97accc62000-06-19 05:45:52 +0000269 - Removed editwineob, as it was redundant for (editwinrows - 1).
270 Changed all calls to editwinrows - 1 in nano.c and move.c.
271 - Removed all functions that were split into other files.
272 Affects LOTS of funcs.
Chris Allegrettab0ae3932000-06-15 23:39:14 +0000273 do_enter():
274 - Added reset of placewewant to end.
Robert Siemborski10eab1d2000-06-18 01:05:00 +0000275 do_insertfile():
276 - Fix display problem when using ctrl-r to load a file
277 into the buffer (Rob Siemborski)
Chris Allegretta97accc62000-06-19 05:45:52 +0000278 handle_sigwinch():
279 - Added titlebar(), edit_refresh() and display_main_list() calls because
280 a resize wasn't picking up on possible different width correctly.
281- utils.c:
282 - Moved nmalloc() and nrealloc() here.
283- move.c:
284 - New file, contains movement functions (like do_home(), do_up(),
285 do_down(), page_up(), etc...).
286- files.c:
287 - Contains functions for files (read_file, insert_file,
288 do_writeout(), etc).
289- search.c:
290 - Contains all our searching and related functions, (do_search(),
291 findnextstr(), do_replace(), do_gotoline()).
Robert Siemborski91413cf2000-06-07 02:20:46 +0000292
Chris Allegrettaa2ea1932000-06-06 05:53:49 +0000293nano-0.9.10 - 06/04/2000
294- es.po:
295 - Translation updates (Jordi).
296- AUTHORS, nano.1.html, TODO, README:
297 - Documentation and email address updates (Jordi).
298- nano.c:
299 main():
300 - Moved Adam's termio code down to after getopt() and before initscr()
301 to stop people losing their SIGINT character when using args that
302 exit nano before it runs (--version, --help, etc).
303
304nano-0.9.9 - 05/31/2000
305- Makeile.am:
306 - Added proper lines for defining LOCALEDIR.
307- configure.in:
308 - Spelling fixes (Jordi Mallach)
309 - Removed CFLAGS changes for gcc, reduces portability according to
310 some, and it certainly doesn't seem to decrease exe size.
311- es.po:
312 - Spanish ranslation updates (Jordi Mallach)
313- POTFILES.in:
314 - Added global.c file, was screwing up translations (i.e. they
315 weren't getting done).
316- cut.c:
317 add_to_cutbuffer():
318 - Added totsize increment.
319 - Cut fixes and optimizations (Rob Siemborski).
320 do_uncut_text():
321 - Added totsize increment in several places.
322- nano.c:
323 headers:
324 - Removed LOCALEDIR define.
325 do_justify():
326 - Added edit_refresh() call (bug discovered by Adam).
327 page_down_center():
328 - Added call to edit_update(current) for last case. Removed
329 increment of current_y since it's now just wasteful.
330 do_enter():
331 - Added totsize increment.
332 renumber(), renumber_all():
333 - Removed totsize-- and totsize init in renumber_all.
334 do_mouse():
335 - Added edit_refresh() call to show hilight updates. Removed
336 unnecessary wrefresh(edit).
337 main():
338 - Moved up locale calls so that translated --help messages would
339 actually get translated.
340 do_backspace(), do_delete():
341 - Added decrement of totsize.
342 init_help_msg():
343 - New function, initializes help text if NANO_SMALL isn't set (fixes
344 broken i18n).
345 read_file():
346 - malloc call changed to nmalloc (Rob Siemborski).
347- winio.c:
348 total_refresh():
349 - Completely rewrote function, not quite so braindamaged now.
350
351nano-0.9.8 - 05/18/2000
352- nano.c:
353 main():
354 - Added awesome code that disables the CINTR and CQUIT
355 character (Adam Rogoyski). Removed raw()/noraw() calls so that
356 nano gets input in 'normal' mode, which is the Right Way(tm) to
357 do it. ^S, ^Z and ^Q now work properly as a result, as well as
358 ^C. New variable term, global bariable oldterm to save previous
359 term settings, and changes to finish() and die().
360 - Added extra #ifdefs in getopt code, so that above code and
361 flag init is run even if GETOPT_LONG is not #defined.
362 - Added memset line before sigactions. (Adam Rogoyski)
363 do_suspend():
364 Removed function, see above for why.
365- winio.c:
366 update_line(), center_cursor():
367 - Removed wrefresh(edit) from bottom of functions. wrefresh
368 should now only be called once, at the bottom of the main()
369 loop.
370- global.c:
371 shortcut_init():
372 - Removed suspend sc_init call and suspend message because suspend is no
373 longer needed in the shortcut list to work properly.
374
375nano-0.9.7 - 05/14/2000
376- nano.c:
377 do_home(), do_end():
378 - Added calls to update_line for the current line, fixes
379 lack of update (bug discovered by Alberto García).
380 main():
381 - Added SET(FOLLOW_SYMLINKS) before getopt call, fixes not
382 following symlinks even when -l isn't set, and "no changes"
383 error when nano is called from crontab -e (Adam Rogoyski).
384- cut.c:
385 do_cut_text():
386 - Added edit_update_top to cut when mark is set, fixes lack of
387 display update (bug discovered by Ken Tyler).
388
389nano-0.9.6 - 05/08/2000
390- New Italian translation (it.po), by Daniele Medri.
391- nano.c:
392 page_up(), page_down():
393 - Added reset of placewewant to 0, as it should be.
394 do_up(), do_down():
395 - Added call to update_line() for line we move from and line we
396 move to, in order to keep the highlighting correct.
397 do_wrap():
398 - Added var chop, new code to wrap lines more like Pico, mostly.
399 THIS STILL DEFINITELY NEEDS TO BE REWRITTEN!
400- winio.c:
401 do_help():
402 - Added edit_refresh() before exit.
403 update_cursor():
404 - Removed cursor updating which really wasn't needed anyway.
405 edit_update():
406 - Removed yucky code that didn't work, this function now just
407 computes edittop and editbot and calls edit_refresh() to do the
408 rest, which removes a lot of dupliicate code..
409
410nano-0.9.5 - 05/01/2000
411- Removed bytes from file struct because it was computationally wasteful.
412- cut.c:
413 do_uncut_text():
414 - Added call to edit_refresh().
415- nano.c:
416 do_backspace():
417 - Added reset of editbot when deleting the last line of the file
418 (bug discovered by Adam).
419 do_char():
420 - Removed call to reset_cursor().
421 do_delete():
422 - Added similar check as to do_backspace().
423 do_enter():
424 - Added call to edit_refresh().
425 do_left(), right():
426 - Added call to update_line(), still redundant but better...
427 do_up(), do_down():
428 - Added refresh calls both for current line and line to which
429 we are moving.
430 main():
431 - Removed inefficient call to edit_refresh() after every keystroke.
432 It is now up each function to leave the screen in a good state.
433- winio.c:
434 do_cursorpos()
435 - Rewritten to not use bytes from filestruct by an incremental sum.
436 update_line(), reset_cursor():
437 - Optimized calls to xplustabs() through a single variable.
438 - update_line() now takes a new arg, an index into the string
439 for where to update the line from. Needed for new update
440 code.
441- configure.in:
442 - Better checks for slang, allows argument to --with-slang.
443 (Albert Chin-A-Young)
444 - Removed -Iintl from CFLAGS in gcc check.
445- Makefile.am:
446 - Addition of -Iintl for gettext (Albert Chin-A-Young)
447
448nano-0.9.4 - 04/25/2000
449 - Fixed calls to no_help and changed them to the more consistent
450 ISSET(NO_HELP). Fixed return val of no_help to be what it should (2,
451 not 1. Code to temporarily disable NO_HELP when in the
452 help system. (Adam Rogoyski)
453- cut.c:
454 do_marked_cut(), do_cut(), do_uncut():
455 - Commented out unnecessary bits when NANO_SMALL is being used.
456- winio.c:
457 xpt(), strlenpt(), actual_x():
458 - Added check for value of data[i] & 0x80, if so do not make
459 character 2 chars wide (orig. by Chris, 0x80 check by Adam).
460 edit_refresh():
461 - New check for temp == NULL (bad thing), if so go back to the
462 previous line. New filestruct var hold points to prev line.
463 Fixes segfault when paging down to the end of a file.
464- nano.c:
465 write_file():
466 - Added check for if file exists and is not equal to the current
467 filename, prompt for overwrite (Adam Rogoyski).
468 do_down():
469 - Removed check for current->next == NULL, now checks return value
470 of do_down before setting current_x = 0 (discovered by Adam).
471 do_justify():
472 - Fixed segfault when reaching the last line (tried to assign
473 currrent->next->data when current->next == NULL) (discovered
474 by Adam).
475- utils.c:
476 - Removed extra macro defs that are now in nano.h.
477- nano.h:
478 - Changed macro SET() to use |= instead of ^=. Fixes bug in
479 cut code when cutting more than one line, and cutbuffer gets
480 blown away when it shouldnt.
481
482nano-0.9.3 - 04/29/2000
483- cut.c:
484 do_marked_cut():
485 - Fixed off by one error in cut code for marked text.
486 do_cut_text():
487 - Removed check for being on the last line, part of
488 magic line code.
489 add_to_cutbuffer():
490 - Moved tmp->prev = inptr line to part where cutbuffer != NULL.
491 - Added inptr->prev = NULL for case where cutbuffer == NULL.
492- nano.c:
493 do_backspace(), do_char():
494 - Removed "magic line" code. It was basically causing more bugs
495 than it was helping for the sake of compatibillity. This fixes
496 at least one known segfault condition.
497 do_enter():
498 - Added setting editbot to new node if the new node is the last
499 node in the file.
500 write_file():
501 - Changed writing file bahavior. Now, if last line of the file
502 has any data on it, we write a newline on it, else we dont.
503- winio.c:
504 add_marked_sameline():
505 - New code that checks for whether the begin and end of the marker
506 are on different lines. Missing previously.
507 edit_add():
508 - added some more checks for text length. Cleaned up some mvwaddnstrs that
509 could be written more simply as waddnstrs.
510 edit_refresh():
511 - Removed check for temp == filebot, it is now treated like any other line.
512 Fixes a bug where selected text on the last line shows normally.
513 xpt():
514 - Removed an extra computation for tabs variable that was incorrect.
515 xplustabs():
516 - Since xpt now actualy works, this func is now just a wrapper for
517 xpt(current, current_x)
518- nano.1, nano.1.html:
519 - Added -l option to man pages.
520- configure.in:
521 - New option --enable-tiny, #defines NANO_SMALL in config.h.
522 Disables call to gettext in functions and other i18n stuff in
523 nano.c, the detailed help mode, the resize functions, and the
524 justify code which no one ever uses.
525 - New option --with-slang. Enables slang libraries instead of
526 ncurses, requires slcurses.h for wrapper functions. (Based
527 on patches for 0.8.7 by Glenn McGrath).
528
529nano-0.9.2 - 04/15/2000
530- This release just fixes the serious segfault problem if nano is
531 invoked any way other than using the absolute path. The bug was
532 in the new code for checking whether nano is invoked as pico.
533
534nano-0.9.1 - 04/14/2000
535- Added pico compatibility for ^T when in search or switch to switch
536 to the opposite function. Added one to REPLACE_LIST_LEN and
537 WHEREIS_LIST_LEN in nano.h, new args to sc_init_one in global.c and
538 new strings that will have to be gettex()ed. New argument 'replacing'
539 to search_init(). Handlers in do_replace and do_search().
540- New write code, now follows symbolic links instead of replacing them
541 with the new file. New option (-l, --nofollow) to enable the old
542 (incorrect, but secure) behavior (Adam Rogoyski).
543- nano.c:
544 do_wrap():
545 - Fixed another bug relating to wrapping, and which would cause
546 a segfault *sigh*.
547 do_replace():
548 - Incremented current_x by the length of the replacement
549 text inside the main repalce loop. Fixes bug #15.
550 add_marked_sameline():
551 - New function, handles marked text when start & end of marker is
552 on one line, also supports most marked text when cursor > COLS.
553 main():
554 - Code to check if nano is invoked as 'pico', and if so
555 automatically set pico_msgs (Robert Jones).
556
557nano-0.9.0 - 04/07/2000
558- nano.1, nano.1.html: Updated man page with my email address and homepage.
559- winio.c:
560 reset_cursor(), update_line():
561 - Changed update algorithm for x value to (COLS - 7) multiple when x
562 value > (COLS - 2).
563- edit_refresh():
564 - Removed inner loop code, now calls update_line() for each line
565 in question, MUCH nicer.
566- xplustabs(), xpt():
567 - Removed redundant increment of tabs when collumn no % 8 == 0.
568 - Added check for data[i] < 32, most of such bits are 2 chars wide.
569- update_line():
570 - Fixed a stupid call to strlenpt with col when we should have
571 been using actual_col. Ugh.
572
573nano-0.8.9 - 03/22/2000
574- nano.c:
575 empty_line(), no_spaces(), justify_format(), do_justify():
576 Actually added these (screwup applying patch).
577 do_justify(): Added call to set_modified().
578
579nano-0.8.8 - 03/12/2000
580- Preliminary internationalization support. Many many functions modified
581 to use gettext (via _() macro). es.po file included. (Jordi Mallach)
582 New dirs po/ and intl/, changes to configure.in and Automake.am to
583 support i18n.
584- nano.c:
585 includes: Ddded sys/param.h and limits.h. (Adam Rogoyski).
586 statics: Changed some things that were not necessarily static
587 (Adam Rogoyski).
588 nrealloc(): New function, similar to nmalloc(). Changed calls from
589 realloc() to nrealloc (Adam Rogoyski).
590 empty_line(), no_spaces(), justify_format(), do_justify():
591 New functions for justify function (Adam Rogoyski).
592- winio.c:
593 blank_edit(): Added wrefresh call to edit so that screen updates (like
594 on ^L) actually work.
595 xplustabs(), xpt(), strlenpt(): Fixed off-by-one buglets (Adam Rogoyski).
596
597nano-0.8.7 - 03/01/2000
598- main.c:
599 do_wrap(): Better fix for segfaults, and fix for lisnes being wrapped
600 to a single character on one line when no good place to
601 break the line exists, and for wrapping lines longer than COLS.
602- nano.1.html:
603 Html version of man page, now included in dist. For
604 the benefit of nano packages in Linux distributions.
605
606nano-0.8.6 - 02/24/2000
607- gobal.c:
608 shortcut_init():
609 Added shortcuts for goto_line and do_replace when using
610 pico_msgs. Oops.
611- nano.c:
612 statics: Changed fill back to 0 from 71 by default (Adam Rogoyski).
613 do_wrap(): Added check for backing up past tabs, which we shouldnt do.
614 Removed check for backing up past spaces first.
615 main(): Added for loop to check for alt keys instead of hard list.
616 do_enter(): Fix for bug #14, added call to reset_cursor and messed
617 up do_char quite a bit.
618 version(): Added time and date stamp for compile on version message.
619 Added mail and web page info.
620- README: Updated mailing list info.
621
622nano-0.8.5 - 02/18/2000
623- nano.c:
624 main(): Finally fixed tilde being input on page up/down keys in
625 certain terminal types. Fix was input 26->91->5[34] check
626 for 126, if so make the kbinput PAGE UP/DOWN, else unget
627 the keystroke and continue. Added #include <ioctl.h> for
628 ioctl call.
629 handle_hup():
630 Handler for hangup signal. Belated include of patch from
631 Tim Sherwood.
632- winio.c:
633 edit_refresh():
634 Temporary fix for selecting text when temp == current.
635 edit_refresh() is now unmanagably complex, and must be
636 revamped.
637 check_statblank():
638 Added check for constupdate, makes things less choppy
639 (Adam Rogoyski)
640
641nano-0.8.4 - 02/11/2000
642- Moved global variables that were only (or mostly) used in one file into
643 its proper file as a static. Affects cut.c, nano.c, global.c (Andy Kahn).
644- global.c:
645 shortcut_init():
646 Removed redundant NANO_CONTROL_H from backspace shortcut,
647 added char 127 which should have been there.
648- nano.c:
649 main(): Fix for loops looping until MAIN_LEN, added -1 to stop
650 segfaults (Adam Rogoyski).
651- Makefile.am: Added all source filenames (Adam Rogoyski).
652- nano.1: Fixed mail addressed and added mailing list address.
653- README: Updated my email address and the nano web page.
654
655nano-0.8.3 - 02/08/2000
656- New pico mode (-p, --pico), toggles (more) compatibility with the
657 Pico messages displayed in the shortcut list. Note that there are still
658 small differences in this mode.
659- nano.h: New shortcut struct format, for the benefit of i18n and
660 our help menu. Removed shortcut message macros, they are
661 now all in shortcut_init in global.c.
662- nano.c:
663 do_wrap(): Removed resetting of current_x when we are in fact
664 wrapping to the next line, fixes a bug in -i mode.
665 do_enter():
666 Rewrote the autoindent mode code to be a lot less pretty,
667 but a lot more magical.
668 main():
669 Removed case for ignoring char 126 (~). That's kind of
670 important, we'll have to fix handling that sequence when
671 pageing up/down on a terminal some other way... Revamped
672 main switch loop in much snazzier fashion based on the
673 shortcut list.
674- winio.c:
675 New function display_main_list. Affects all functions
676 that used to call bottombars() with main_list. Added
677 because we now only call bottombars with the macro
678 MAIN_VISIBLE instead of MAIN_LIST_LEN, because of the
679 changes to the main_list shortcut list (see global.c below).
680 New function do_help, our preliminary dynamic help system.
681- Many many funcs:
682 Changed from int to void to allow one uniform type to call
683 from the shortcut struct. Also a few functions that do
684 not simple have void argument have new functions called
685 funcname_void(void) to be called from the shortcut list.
686 do_cut_text and do_uncut_text were changed to void
687 arguments because they were never called with a filestruct
688 other than *current anyway.
689- global.c:
690 Shortcut list main_list was expanded to cover all
691 shortcuts that could be caught in the main loop.
692 Consequently there is a new macro MAIN_VISIBLE which tells
693 how many items in the main list to actually show.
694
695nano-0.8.2 - 02/02/2000
696- Added initial mouse (-m, --mouse) support. New global variable
697 use_mouse. (Adam Rogoyski)
698
699- nano.c: Set intial value of fill to COLS - 8 rather than just 72
700 regardless. (Adam Rogoyski).
701 do_delete():
702 Deleted call to do_backspace() when on the end of a line,
703 because it won't update the line properly.
704 do_backspace():
705 Removed unnecessary pointer manipulation that was being
706 handled by unlink_node().
707 open_file():
708 Added check for trying to open a directory (currently we
709 segfault on this). Bug pointed out by Chad Ziccardi.
710
711nano-0.8.1 - 01/28/2000
712- Implemented Pico's -r (fill) mode, command line flag -r or --fill. New
713 global variable fill, affects check_wrap(), do_wrap(), main(), usage(),
714 global.c and proto.h.
715- nano.c:
716write_file(): Added (incredibly) necessary check for EPERM when
717 link() fails. This allows us to actually save
718 files via rename() on filesystems that dont
719 support hard links (AIEEEEEE).
720do_goto():
721 Fixed a stupid mistake where we were calling
722 bottombars() with replace_list instead of goto_list.
723- nano.h:
724 New char *help in shortcut structure for help
725 feature. Added NANO_*_MSG and NANO_*_HELP #deifnes
726 for help function and i18n.
727- global.c:
728 New functions shortcut_init (called in nano.c) and
729 sc_init_one() to initialize the shortcuts without
730 using {}s (for i18n).
731
732nano-0.8.0 - 01/25/2000
733- View flag (-v, --view) implemented. Global variable view_mode, affects
734 main loop of nano.c and new_file(). (me)
735- nano.c:
736 split checks for TERMIOS_H and TERMIO_H up so we
737 can (theoretically) include them both, which is good.
738handle_sigwinch():
739 Added check for ncurses.h. (Andy Kahn)
740do_spell():
741 We now only try ispell because we don't as of yet
742 handle the 'spell' program the right way, now that
743 I finally know what the right way is =-). Added
744 call to edit_update(fileage) to stop segfaults.
745global_init():
746 Added initialization of edit* filestruct pointers
747 to stop segfaults on spell check.
748usage():
749 Check for getopt_long, and if no leave out the
750 GNU options everyone seems to love so much (Andy Kahn)
751main():
752 Added checks for getopt_long (Andy Kahn)
753 We ignore character 126 because it gets put into
754 the buffer when we page up/down on a vt terminal.
755write_file():
756 Fixes for umask (Adam Rogoyski). Renamed tmpfile
757 variable to tmp. Documented the tmp opttion
758 better in the function comments. Fixed my
759 stupidly commented out check for tmp on setting
760 umask which I really like =>
761- nano.h:
762 Made desc variable in shortcut struct a pointer
763 instead of a fixed-length string.
764- utils.c:
765 Fixed check for config.h before nano.h.
766- configure.in:
767 New checks for getopt_long, getopt.h, removed
768 CFLAGS and LDFLAGS changes. Gonna have to run
769 strip manually now =-) (Andy Kahn)
770 Added check for HAVE_WRESIZE, new file acconfig.h (me).
771
772nano-0.7.9 - 01/24/2000
773- New autoindent feature. Command flag 'i' or '--autoindent'. New
774 function do_char() to clean up character output, global
775 variable autoindent in global.c. (Graham Mainwaring)
776- New flag 't' or '--tempfile', like Pico's -t mode, automatically saves
777 files on exit without prompting. Affects do_writeout(). Also
778 do_writeout() now takes a parameter for if exiting.
779 Global variable temp_opt in global.c (Graham Mainwaring)
780- Preliminary spell program support. Added command flag '-s' or
781 '--speller' for alternative speller command. Added function do_spell()
782 and exit_spell() to nano.c. New global variable alt_speller.
783- nano.c:
784 main(): We now ignore input of decimal 410 because these get entered
785 when we resize the screen. Sorted options in getopt()
786 switch statement.
787 usage(): Sorted options and changed tabs to make room for -s option.
788 write_file(): Now takes a second parameter 'tmpfile', uses mask 0600 and
789 doesn't print the number of lines written on the statusbar.
790 global_init():
791 Added more initializations to globals to support do_spell().
792
793nano-0.7.8 - 01/23/2000
794- Stubbed justify function. Affects main() in nano.c and nano.h defines.
795- Added Fkey equivalents for Pico compatibilty. Affects nano.h defines
796 and main() in nano.c
797- Removed redundant reset_cursor() calls from the blank() routines.
798- nano.c:
799 main(): Fixed typo in main while loop for NANO_ALT_REPLACE_KEY.
800 Removed check for isprint() characters in main while loop
801 for people with odd character sets *shrug*. Added some X
802 window F-key combos.
803 read_line(): New function, consolidates of most of the special
804 sections of the file reading code. (Rob Siemborski)
805 do_replace(): Many scattered fixes. (Rob Siemborski)
806 write_file(): Added check for empty filename.
807- winio.c:
808 nanogetstr(): Fixes for deleting at places other than the end of the
809 buffer, cut support. (Adam Rogoyski)
810 blank_edit(): New function, blanks edit buffer. Added call to it in
811 total_refresh().
812- configure: Checks for glib if snprintf of vsnprintf aren't available
813 (Andy Kahn). Changed warning message when no termcap lib
814 is found.
815
816nano-0.7.7 - 01/19/2000
817- Option '-v' for version moved to '-V', because -v is Pico's "read only"
818 mode (affects getopt() in main() and usage() function in nano.c
819- New flag -c, always show cursor position. Affects main() in nano.c and
820 statusbar() in winio.c
821- Option '-x' doesn't show help window at the bottom of the editor.
822 New variable no_help in nano.h and proto.h, affects main(), usage(),
823 and global_init() in nano.c, blank_bottombars(), clear_bottomwin(),
824 bottombars(), and do_yesno() in winio.c (I had to apply this patch by
825 hand =P) (Adam Rogoyski)
826- nano.c:
827 handle_sigwinch(): New function (Adam Rogoyski), handles resizing.
828 page_up(), page_down():
829 - New functions. We now set the cursor at the top right corner,
830 not at the center line, and page up and down a full screen
831 rather than a half screen. Original functions renamed to
832 page_up_center() and page_down_center().
833 main():
834 - Added check for keystroke key sequence 407 or NANO_CONTROL_Z
835 in main while loop because suspend mode was broken. This should
836 fix it, at least for now.
837 - Added long option support (By popular harassment ;-) - Added
838 #include for getopt.h, changed getopt() to getopt_long().
839 Options added so far: --version (-V), --nowrap (-w), --suspend
840 (-z), --help (-h), --nohelp (-x).
841 - Rewrote signal statements (Adam Rogoyski)
842
843nano 0.7.6 - 01/15/2000
844- New ChangeLog format
845- nano.c:
846 main(): Bound CONTROL_H to backspace (oops)
847 Added more Alt-[-key combinations, for page up & down.
848 read_bytes(): New function (Adam Rogoyski)
849 read_file(): Optimizations - malloc()s *buf a little at a time rather
850 than one huge buffer, and replaced the strcat at the end
851 with an index variable. Added call to read_bytes().
852 do_next_word(): New function, binding is control-space (0) (me)
853
854- winio.c:
855 bottombars(): Fixed non-expanding shortcut keys at bottom of screen.
856 (formula is extra space needed = COLS / 6 - 13).
857 actual_x() & strlenpt():
858 Added bug#9 fix - when tabs % 8 == 0, we should only
859 increment tabs by 1.
860 titlebar(): Fixed overrun in titlebar on very long filenames.
861
8620.7.5 Pico 'last line' feature added (Rob Siemborski & me). Eliminated
863 writing a newline at EOF. do_cursorpos and do_replace are now not
864 directly bound to signals but picked up as their control sequences
865 in raw mode. Bug fix in do_backspace. Fixed bug #9 (woohoo!)
8660.7.4 Optimized (obfuscated?) edit_refresh. Malloc() calls checked for
867 available memory, align bug fixed (Big Gaute).
868
869--- As of version 0.7.4 TIP is renamed to nano.
870
8710.7.3 Fixed a double blank_statusbar() when jumping to first and last
872 lines. Took out unnecessary updates in load_file. Bug fix in
873 do_left. Missing updates to totlines, fixed bug #7 (last line not
874 having a newline at the end doesnt get read, bugfix in do_replace
875 with replace all, more/better comments (Robert Siemborski)
8760.7.2 Our first patch accepted into the source! configure fixes
877 and optimizations (Erik Anderson). Added missing stdarg.h to winio.c.
878 Bug fix in update_line for editing long lines. Fixed arguments
879 being put into the filename when none is specified. Preliminary
880 +line command argument function.
8810.7.1 configure tweak for better FreeBSD support. Removed refresh() from
882 edit_refresh to stop cursor "jumping" during screen updates. This
883 will probably cause a bug or two. Replace is now Alt-R (@R) and
884 Goto line is Alt-G (@G), but they have control key aliases of ^\ and
885 ^_ respectively. Made Control-F,B,N,P work like they do in Pico.
886 Control-G will become the Help key, but for now is stubbed out.
8870.7.0 Fixed missing stdlib.h from cut.c. Fixed a few message bugs in
888 findnextstr. Bound Control-D to Delete. Refixed segfault on zero
889 length file. Added Esc-[-A,B,C,D cursor key sequences.
8900.6.9 Preliminary cursor position function. Split up tip.c more, made
891 new files cut.c and winio.c. Fixed a bug in cut_marked_segment
892 that was leaving out a character.
8930.6.8 By request, optchr in main() is now an int. Removed unneeded
894 globals. Bound functions for next/prev page, and wrote functions
895 do_home and do_end.
8960.6.7 Bugfix in do_uncut_text for totlines. Broke up open_file and
897 created read_file. Implemented Insert File. Fixes in tipgetstr
898 for erroneous keystrokes. Added leave_cursor arg to do_yesno().
8990.6.6 Fixes in do_search(), do_replace(), do_writeout, and do_exit() for
900 aborted searches and more Pico-compatible messages. statusq() now
901 returns -2 on a blank entry instead of -1. Bug fix in actual_x().
9020.6.5 More BSD compatibility. Fixed two bugs in do_uncut_text
903 regarding buffers with filebot in them. Fixins in do_backspace
904 and do_enter. Removed unused variables. Removed strip_newline.
9050.6.4 Took out the awful newlines from each string buffers. This will
906 certainly cause more bugs. Fixes in do_exit(). Better empty file
907 handling (I hope).
9080.6.3 Implemented ^E. Removed now unneeded wrapline from filestruct.
909 do_enter() rewritten.
9100.6.2 Better default file permissions. Complete rewrite of do_wrap().
911 Better handling of editing with cursor near COLS - 1.
9120.6.1 Starting to implement wrapping toggle. Fix for unhandled control
913 codes being entered into the buffer. Bug fix in actual_x; more
914 > COLS - 1 functionality, especially on lines with TABs. Fixed being
915 locked into cutbuffer when cutting more than one marked screen of text.
9160.6.0 We have TABs!!! To do this, placewewant is now set to the actual
917 width on the screen we want to be, not an index of current->data.
918 New functions xplustabs and actual_x convert the actual place
919 the cursor should be on the screen to and from the place in the
920 string.
9210.5.5 Changed do_right to test do_down before setting current_x to 0,
922 eliminiating the "looping" on the last line when holding the right
923 arrow. Preliminary support for longer than COLS - 1 lines.
924 Wrote do_delete.
9250.5.4 Fixed a big in total_update that wasn't repainting the screen properly.
926 tipgetstr is much more messy but text is now more editable ;)
927 Fixed crash on entering a new file, hopefully. Awful stub for tab
928 handling, only in do_right() to save me some sanity.
9290.5.3 Added check for malloc.h. Implementing uncut from marker slowly.
930 Fixed a few bugs in do_uncut when not uncutting from marked text.
931 I would not trust your data with the mark code right now, but then
932 we're not at version 1.0 yet so dont trust anything ;)
9330.5.2 Added reset_cursor() before end of update_line so cursor doesnt
934 jump after each keystroke entered. Select text stubbed. Fixed
935 a bug in total_refresh(). Setting a mark will hilight properly,
936 but does not actually affect what gets put in the cutbuffer (yet).
9370.5.1 Writing a file out causes modified to be set back to 0. Good.
938 Set_modified function written. Cut and uncut text now set
939 modified when called.
9400.5.0 Half way there! Implemented write out, save function seems
941 stable. Changed statusbar blank routing to not refresh, a separte
942 program calls it and then refreshes. Made the program not clear
943 the srceen on exit, just the bottom two lines (like Pico).
9440.4.2 Implemented replace all in replace function. Crude exit function
945 (asks yes or no if modified but does not write to file).
9460.4.1 Implementing search & replace. Fixed crash on deleting at top of
947 edit buffer. Implemented "timeout" of statusbar messages.
948 Implemented ^A and ^E (beginning and end of line).
9490.4.0 Split code into global.c and proto.h to allow for better multiple
950 file handling. Added #defines for the majority of the shortcut
951 kets in tip.h for easy modification.
9520.3.1 Write edit_refresh which doesn't move the screen around, just
953 updates what's there already. do_wrap() and do_enter() added.
9540.3.0 Preliminary cutbuffer (cut and uncut) support.
9550.2.7 Check for Modification added. do_search() works.
9560.2.5 Rewrite of file data struct.
9570.2 Read in data to buffer, bound keystrokes to stub functions,
958 initial cursor movement on screen. Initial autoconf support.
9590.1 Initial program setup w/ncurses
Chris Allegrettac87a4112000-08-07 02:16:24 +0000960
961$Id$