Commit Graph

1259 Commits (9d6916907223cfd45055d582e66f0472da3e86f7)

Author SHA1 Message Date
David Lawrence Ramsey 21cc550752 minor nanorc.sample fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1541 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-06 19:04:02 +00:00
David Lawrence Ramsey 3bd9628b38 minor rcfile fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1540 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-06 05:09:32 +00:00
David Lawrence Ramsey 8faf305d0c add paragraph searching ability
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1538 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-04 20:25:29 +00:00
David Lawrence Ramsey cb7ee0e491 one last documentation fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1535 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-31 17:08:59 +00:00
David Lawrence Ramsey aaad3af523 documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1534 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-31 16:44:10 +00:00
David Lawrence Ramsey ec290f2385 fix bug where calculated filename space on the titlebar is short by one
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1533 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-30 19:05:40 +00:00
David Lawrence Ramsey 27863665ca fix Meta-X's turning the keypad off under ncurses
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1532 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-29 21:31:37 +00:00
David Lawrence Ramsey ba6fd42b3c move line wrapping toggle entry to global.c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1531 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-23 21:16:02 +00:00
David Lawrence Ramsey e04970675f Wouter van Hemel's "Where Is Next" patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1530 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-23 21:11:06 +00:00
David Lawrence Ramsey 10187610f8 minor changelog fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1525 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-17 05:40:45 +00:00
David Lawrence Ramsey a9cebd8054 remove unneeded breaks at the ends of default: clauses
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1524 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-17 03:31:57 +00:00
David Lawrence Ramsey 4d7c260270 low-level input overhaul
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1523 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-17 02:48:43 +00:00
Chris Allegretta f3fee5db91 Update the ChangeLog too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1522 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-12 02:40:47 +00:00
Chris Allegretta 6954f05276 add 1.3 fork info, change version to 1.2.99-cvs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1518 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-12 02:34:03 +00:00
Chris Allegretta 194c26f879 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1517 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-12 02:01:17 +00:00
Chris Allegretta 3364214200 GNU nano 1.2.2 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1515 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-12 01:49:20 +00:00
Chris Allegretta c30fc242c3 - winio.c:nanogetstr() - Fix problem where pressing down,up,down does not blank the search prompt but keeps the previous search (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1514 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-11 00:32:45 +00:00
Jordi Mallach f9390afbd1 Remove gettext marks from debug messages.
Add translator comments for short statusbar messages.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1512 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-05 19:31:12 +00:00
Chris Allegretta 4f5335d93e Add DLR's excellent workaround for strcasecmp not being available
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1511 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-04 02:51:12 +00:00
Chris Allegretta 653d614439 Use DLR's home/end patch instead of mine, because it's cleaner and remove some unneeded code in do_help()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1510 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-04 02:12:03 +00:00
Chris Allegretta 13f094e80e - winio.c:nanogetstr() - Add handler for Alt-[-H and F as home and end when -K is used. Basically a workaround until a cleaner way can be found.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1509 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-04 00:59:27 +00:00
David Lawrence Ramsey 6d97d18fba faq update for inability to see color when nano is compiled w/color support
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1508 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-07-02 14:20:11 +00:00
David Lawrence Ramsey b764eb6663 a few more manpage fixes, and a resync of their html versions
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1507 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-29 02:25:46 +00:00
David Lawrence Ramsey 70047eef7d miscellaneous cleanups, updates, and fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1506 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-14 20:41:34 +00:00
Jordi Mallach d995e9a762 More formatting fixes for nanorc.5 from Jean-Philippe.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1505 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-11 16:38:35 +00:00
Jordi Mallach 9e74ade187 Add Geir Helland to THANKS.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1504 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-11 15:52:34 +00:00
Jordi Mallach 5b63eafd83 Formatting fixes for nano.1 from Jean-Philippe.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1502 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-11 10:17:20 +00:00
Jordi Mallach 2e6d0ca131 Added Laurentiu Buzdugan, for Romanian.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1497 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-04-24 18:23:56 +00:00
Chris Allegretta ffe575f509 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1494 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-04-20 16:25:46 +00:00
Chris Allegretta aa4593124d GNU nano 1.2.1 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1492 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-04-20 16:20:15 +00:00
Chris Allegretta 8151ba5a1a DLR's patch to change justify_mode to a flag
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1491 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-04-19 19:34:05 +00:00
Chris Allegretta 4b376a4982 latest fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1490 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-04-16 02:08:23 +00:00
Chris Allegretta e1e0fd634b DLR and DB's latest fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1489 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-04-15 01:15:09 +00:00
Jordi Mallach db469d8666 Documentation updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1486 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-03-24 13:08:16 +00:00
Chris Allegretta d845193a1d DLR's cumulative patch, one minor configure.ac tweak
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1484 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-03-11 03:50:40 +00:00
Jordi Mallach 723399a3a2 Dutch update.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1481 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-23 19:12:54 +00:00
Chris Allegretta dbc3ec72e1 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1480 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-20 03:14:37 +00:00
Chris Allegretta 2b4ead9cb8 GNU nano 1.2.0 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1478 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-20 01:56:02 +00:00
Chris Allegretta a7a78decb6 - nano.c:justify_format() - Fix ugly behavior when wrapping spaces at the end of long words (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1477 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-19 22:27:53 +00:00
Chris Allegretta 33ac7b9181 - files.c:read_file() - If the file we're loading has already been detected as a DOS or Mac formatted file, don't turn on NOCONVERT if we find binary chars in it. This is because if it's detected as DOS/Mac format, at least one line has already been converted so setting NOCONVERT (which is supposed to signal that none of the file should be converted) makes no sense. (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1473 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-16 03:13:47 +00:00
Jordi Mallach fc71eb5f72 nanorc.5 fixes from DB.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1471 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-15 13:34:03 +00:00
Jordi Mallach 07e2000094 Format fix for nanorc.5
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1470 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-14 22:10:14 +00:00
Chris Allegretta 3d3325129c Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1469 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-14 03:10:12 +00:00
Chris Allegretta 7ba3279073 GNU nano 1.1.99pre3 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1468 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-14 03:09:35 +00:00
Chris Allegretta f717f98d07 Revert const char * strings as it gives warnings with -Wwrite-strings
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1467 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 22:25:01 +00:00
Chris Allegretta 1debce2865 More getpwent changes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1465 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 22:00:19 +00:00
Jordi Mallach aebfac8567 Add upgrading information for nano 1.0 users.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1463 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 12:50:53 +00:00
Chris Allegretta 4f989faa6e - Moved nano.1 color and syntax sections to nanorc, pointed nano.1 to nanorc.5 for initialization file. Changed nanorc.5 variables to be italics to match nano.1. Added nanorc.5.html to CVS tree
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1461 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 04:01:49 +00:00
Chris Allegretta 2e39c1c283 - rcfile.c:do_rcfile() - Revert (somewhat) previous behavior of looking at /home/chrisa, and only run getpw* if it is NULL. Most *nix programs seem to only care about /home/chrisa, and at the user-level getpw* may not be reliable (and its slower)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1460 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 03:36:15 +00:00
Chris Allegretta 65f075d3a1 - Change resetpos function to be global (now called resetstatuspos. Fixes annoying but small odd problem with cursor placement when inserting a file. This needs to be done better in 1.3 (originally by David Lawrence Ramsey) Added this issue to TODO
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1459 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 03:03:49 +00:00
Chris Allegretta bcc8688a3b - Remove do_preserve_msg, as using -p still gives Pico-style string behavior, so an annoying message every invocation is probably unneeded (all cheer)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1458 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 01:54:41 +00:00
Chris Allegretta fe1d0722d4 - nano.c:main() - Silence annoying compiler messages about clobbering and uninitialized variables by moving variable inits to the top of main() and re-initializing them after the sigsetjmp()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1456 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-13 00:52:49 +00:00
Chris Allegretta a0449d92a0 - files.c: load_history() - Fix segfault on loading huge strings from history file (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1455 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 23:58:01 +00:00
Chris Allegretta 7641708cb6 - nano.c:do_suspend() - Fix untranslated message (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1454 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 23:54:34 +00:00
Chris Allegretta e9b5c6fe90 - winio.c:browser_init(), striponedir(), do_browse_from() - Various memory leak fixes (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1453 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 23:49:56 +00:00
Chris Allegretta d127c71ab3 - nano.c:do_wrap() - Fix isspace() call to operate on int
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1452 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 23:20:45 +00:00
Chris Allegretta b2cd248d1c const char * fixes and defined(NCURSES_MOUSE_VERSION) additions to winio.c funcs that need them
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1451 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 23:18:19 +00:00
Chris Allegretta 428f620370 DB's justify fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1450 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 03:21:45 +00:00
Chris Allegretta fdcb9e92d6 - Memory leak fixes for files.c:do_insertfile(),do_browser(), nano.c:do_spell(), and search.c:do_replace() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1449 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-12 02:52:04 +00:00
Jordi Mallach d16f9f66a1 Change ngettext macro to P_(), to avoid clash with C's __ identifier.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1447 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 11:30:11 +00:00
Chris Allegretta 4640fe3f57 - nano.c:do_help () - Fix line lengths not being computed properly, causes display glitches most noticeable with < 20 rows. New function nano.c:line_len(). (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1444 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 03:10:03 +00:00
Chris Allegretta a90d0cf214 DB's gotoline fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1443 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 02:55:03 +00:00
Chris Allegretta f8f2d586dc DB's fill and window length fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1442 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 02:43:48 +00:00
Chris Allegretta 3a78406d56 - nano.c:help_init() - Fix crashing in do_help when COLS < 23 (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1441 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-10 02:32:58 +00:00
Jordi Mallach 2ddd75e705 Updated Finnish translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1440 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-09 23:51:17 +00:00
Jordi Mallach a66a8f72a4 Add nanorc.5 manpage.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1437 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-09 01:28:40 +00:00
Chris Allegretta 97e10b5d0d - nano.spec.in - Change default flags to --enable-all
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1435 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-08 22:05:50 +00:00
Chris Allegretta bfc8b2ac4d - winio.c:nanogetstr() - Remove unnecessary reset of x since it is now handled elsewhere (David Lawrence Ramsey)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1433 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-08 21:49:13 +00:00
Chris Allegretta bcaeeb4411 Add the ChangeLog entry for the 2nd half of DB's patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1432 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-08 02:03:26 +00:00
Chris Allegretta 3cdf6ff1de - files.c:input_tab() - Fix assumption that matches is null terminated (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1431 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-08 02:02:02 +00:00
Chris Allegretta 17ec14b9a5 Better fix hopefully for color issue
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1430 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-07 00:19:05 +00:00
Chris Allegretta a3daf3a256 - nanorc.sample: - Make nanorc entry less tolerant of invalid colors
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1429 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-07 00:11:55 +00:00
Chris Allegretta d6e84363d7 - rcfile.c:colortoint() - Don't bomb after invalid color and print bad color name (David Benbennick). And reset mcolor to -1.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1428 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-07 00:02:00 +00:00
Chris Allegretta 201f1d976a - Fix globals and externs such that nano will compile with DISABLE_SPELLER (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1426 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-05 02:51:19 +00:00
Chris Allegretta 5ec68628ce - Fix nano not compiling with ENABLE_RCFILE BLE_TABCOMP (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1425 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-05 02:39:34 +00:00
Chris Allegretta 5ea694ebd1 - nano.1, nano.1.html: - Add initialization file comments, change some options from bracketed to underlined to emphasize that they are not optional
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1424 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-04 14:24:54 +00:00
Jordi Mallach a577d5a8b8 Catalan, French, Ukrainian and German updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1423 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-04 14:13:36 +00:00
Chris Allegretta cddbfd0988 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1422 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 15:29:56 +00:00
Chris Allegretta 5c8c276622 GNU nano 1.1.99pre2 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1420 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 15:21:27 +00:00
Chris Allegretta d89eb91e77 Apply the same regexp_init checks to using last|search in search_init()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1418 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 07:07:40 +00:00
Chris Allegretta c45335782a - files.c:save_history() Fix off-by-one bug causing write to unallocated memory (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1417 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 05:04:09 +00:00
Chris Allegretta 434d686ee4 files.c:do_insertfile() - Add some more checks and fix recursion when toggling multibuffer (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1416 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 04:55:17 +00:00
Chris Allegretta 0eab236580 files.c:do_browser() - Even more checks and operating dir fixes (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1415 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 03:39:05 +00:00
Chris Allegretta dbfc56cb8e Oops, now credit DB
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1414 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 03:33:04 +00:00
Chris Allegretta a0d89977b7 - Fix screen getting trashed on signals nano can catch (TERM and HUP). New global variable curses_ended changes to winio.c:statubar() and nano.c:die()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1413 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 03:32:08 +00:00
Chris Allegretta cff6e6f60f DB's justify patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1412 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 03:22:02 +00:00
Chris Allegretta ce452fb880 DB's debug and multibuffer and regcomp fix to make nano less of a complete cpu hog
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1411 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-03 02:56:44 +00:00
Chris Allegretta 5c63f27721 Dlr's revert multibuffer and view mode patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1410 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-02-02 04:26:54 +00:00
Chris Allegretta f80a59c7cc - files.c:do_browser() - Fix goto directory operating dir check and tilde expansion (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1409 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-30 00:57:33 +00:00
Chris Allegretta 858d9d90cb - files.c:do_browse_from() - Fix path checking to fix bad paths, escaping the operating directory, new function readable_dir() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1408 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-30 00:53:32 +00:00
Chris Allegretta 2a7b8b24bb -nano.c:do_justify() - Unset KEEP_CUTBUFFER so nano won't crash with subsequent ^K cuts and justifies (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1407 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-30 00:42:20 +00:00
Chris Allegretta 5d71514f21 - Fix nano crashing when searching/replacing an invalid regex (try ^*). Changed regexp_init() to return 1 or 0 based on regcomp()'s return value and search_init to exit with an error message (sorry Jordi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1406 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-29 04:18:37 +00:00
Chris Allegretta e92a7bcb78 - nano.c:do_mouse() - Fix the mouse code to work with lines longer than COLS and with the proper positioning, including special characters (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1405 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-28 01:36:38 +00:00
Chris Allegretta db28e96f2c - winio.c:do_yesno() - Fix mouse interaction bugs with yes/no prompt (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1404 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-28 01:23:40 +00:00
Chris Allegretta d26ab913f1 - Fix constant curos updates from obliterating other system messages, and fix statusbar message length. Affects files.c:load_open_file(), nano.c:main(), search.c:findnextstr(), winio.c:statusbar() and do_cursorpos() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1403 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-28 01:16:47 +00:00
Chris Allegretta b698c35f4b - files.c:do_browser() - Fix incorrect path check for check_operating_dir() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1401 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 22:05:07 +00:00
Chris Allegretta a340766790 - nano.c:do_char() - Remove unneeded check_statblank() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1400 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 21:13:03 +00:00
Chris Allegretta 47fcfe5d78 - Fix cursor position being saved when escaping out of nanogetstr with keys like ^Y and ^V. New arg resetpos to nanogetstr(), added static int resetpos in statusq() (bug found by DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1399 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 21:01:16 +00:00
Chris Allegretta 8a85aa0baa - search.c:do_search(), do_replace_loop() - Fix edit_update call to use CENTER instead of current_x (related to David Benbennick's fixes for spelling)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1398 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 20:02:15 +00:00
Chris Allegretta 64fc78c0f1 - nano.c:do_int_spell_fix(), do_int_speller() - Fix crashes with mark position, current_x position and edit_update args (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1397 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 19:57:44 +00:00
Chris Allegretta 63d0b48d5b - winio.c:edit_refresh() - Fix cursor being above as well as below the current screen (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1396 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 19:47:10 +00:00
Chris Allegretta 77e726d518 - files.c:save_history() - Fix nrealloc return value being ignored (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1395 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 19:36:08 +00:00
Chris Allegretta 9090f2e44b General - Fix subexpression replacement to work consistently. Affects search.c:replace_regexp() and utils.c:strstrwrapper() (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1393 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 04:45:05 +00:00
Chris Allegretta 1939c3590b - search.c:do_replace_loop() - Fix various bugs having to do with replace string length and positioning (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1392 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 04:26:25 +00:00
Chris Allegretta 1a128afdb2 - nano.c:window_init() - Fix leaking *WINDOWs (no pun intended) (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1391 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 04:15:56 +00:00
Chris Allegretta 54c1f7932c - files.c:open_file() - Fix FD leak with file load error (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1390 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 04:11:09 +00:00
Chris Allegretta 149781d827 - cut.c:do_cut_text() - Fix incorrect cursor location when cutting long lines (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1389 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-26 03:54:00 +00:00
Chris Allegretta 0e86e60653 - Changed some translatable debug messages to use %s instead of the function name, and removed gettext from two strings that had no actual words in them that should be translated. Suggested originally by Christian Rose
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1387 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-23 04:27:23 +00:00
Chris Allegretta f22e8bf775 - nanorc.sample: - Change comment to say magenta instead of purple
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1386 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-23 01:21:26 +00:00
Chris Allegretta 3bbc416a73 - winio.c:bottombars() - Change strcpy of gettext() Up string to strncpy of max width 8, to stop stupid strcpy crash
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1385 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-23 00:46:12 +00:00
Chris Allegretta 36fec72f6a nano.c:usage() - Revamp -H option message to fit in 80 column terminal
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1383 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-22 01:13:25 +00:00
Chris Allegretta 3d459ad83d nano.c:main() - Call load_file with arg 0 for insert, as we aren't really doing an insert, allows new_file() to run if we open a non-file at startup
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1382 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-22 01:09:40 +00:00
Jordi Mallach eeb500428d i18n fixes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1380 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-18 22:42:34 +00:00
Chris Allegretta f89d698293 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1378 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 22:31:25 +00:00
Chris Allegretta d46f544758 Commit release notes, final preps for release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1375 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 21:47:33 +00:00
Chris Allegretta 5af5889448 Latest patch by DLR
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1374 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 21:07:38 +00:00
Chris Allegretta 327abdab4a Add DB's real fix, and add do_disabled_msg to proto.h (whose code is this?)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1372 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 05:04:17 +00:00
Chris Allegretta d6c8d1a06d - winio.c:nanogetstr - Move down NANO_SMALL in tab check so nano won't complain if just NANO_SMALL is defined (David Benbennick, presumed fix)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1371 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 03:56:06 +00:00
Chris Allegretta e6600379c9 nano.c:version() - Move up check for --disable-nls as it's independent of --enable-tiny now (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1370 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 03:39:41 +00:00
Chris Allegretta f9ab3f79e5 - nano.1, nano.1.html - Updated for the --preserve and --historylog options
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1369 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 03:06:28 +00:00
Chris Allegretta 3f8a63cadb - faq.html: Added docs about the new unified search string interface and search histories, and added --enable-all into configure docs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1368 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 02:49:23 +00:00
Chris Allegretta d957f5903e configure.ac: - Added --enable-all option to compile in all the extra stuff we'd normally need extra flags for
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1367 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-17 00:17:45 +00:00
Chris Allegretta f3de8b552e - Added search/replace history log. Flag -H, --historylog. Flags HISTORY_CHANGED and HISTORYLOG, added entries in nanorc.sample, new functions log_history and save_history (Ken Tyler)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1366 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-16 23:44:46 +00:00
Chris Allegretta 09fc4300ec DLR's latest bits
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1365 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-16 22:16:38 +00:00
Chris Allegretta 2ad0f6c0ad - search.c:do_gotoline() - Don't call blank_statusbar_refresh() so if there's an error returned in multibuffer mode, we can actually see it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1364 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-16 03:51:02 +00:00
Chris Allegretta 2d5fc3adac - nano.c:do_int_speller() - Fix FD leaks which occur outside of errors (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1363 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-16 03:11:23 +00:00
Chris Allegretta d757e25817 Update copyright notices, courtesy of mr DLR
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1362 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 19:33:27 +00:00
Jordi Mallach a0e829cd8c Updated for translation changes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1358 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 17:43:59 +00:00
Jordi Mallach 631ee1faa6 Small cleanups. Add copyright header, add autopoint support and define bug report address and full package name in AC_INIT. Move ALL_LINGUAS to po/LINGUAS, recommended place for gettext 0.11.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1355 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 17:40:35 +00:00
Chris Allegretta 0e7a3f5e2d - Fixed awful scrolling in do_int_speller. Problem was findnextstr() calling edit_update(), though screen updating is not its business Added checks in do_search() and do_replace_loop() to do the checks. It really should not be done here, as some function in winio.c should handle this, but I can't seem to find a good place to put this check
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1351 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-15 03:06:25 +00:00
Chris Allegretta 688c8eb112 DLR's latest changes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1350 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-14 23:36:11 +00:00
Chris Allegretta ca7113afee - search.c:do_replace_loop() - Remove check for answer being a blank string, presumed to a PICO_MODE holdover, but it stops us from doing a blank spelling replacement
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1349 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-14 23:35:24 +00:00
Chris Allegretta 9fa5fbd3af nano.texi - Updates for the most recent and not so recent changes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1346 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-13 02:56:29 +00:00
Chris Allegretta 7662c86dbf DLR and DB's latest fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1345 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-13 01:35:15 +00:00
Chris Allegretta 3f1b6851cb nano.c:do_int_speller - Change all child error checks to use one goto (gasp) called close_pipes_and_exit, so we don't leak FDs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1344 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-12 23:54:05 +00:00
Chris Allegretta ed4fb2cf0f - nanorc.sample: - Added some examples for groff and the nanorc courtesy of Robert D. Goulding. Added double hash marks to comment lines, so people who uncomment the beginning of every line won't get syntax errors
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1343 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-11 01:14:07 +00:00
Chris Allegretta 6cd143db7a - Add in Pico's -p flag, (-p, --preserve). To preserve the XON and XOFF keys (^Q and ^S). Add warning if we invoke -p and add checks for using --preserve (to skip warning) and --pico (to force showing it). New flag PRESERVE, function do_preserve_msg(), changes to main(), signal_init()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1340 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 23:35:44 +00:00
Chris Allegretta 916a8ec69c - TODO - Added some wishlist stuff
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1338 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 21:51:16 +00:00
Chris Allegretta 15c28f8b86 Completely removed PICO_MODE, as with the search/replace history patch we should have the extended functionality we can without being incompatible with pico
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1337 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 21:47:06 +00:00
Chris Allegretta 5beed509a6 Ken's search history patch, minus the .nano_history stuff
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1334 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-01-05 20:41:21 +00:00
David Lawrence Ramsey 9b13ff31bb miscellaneous bug fixes, part 2
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1331 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-22 16:30:00 +00:00
Chris Allegretta 334a94049f nano.c:do_int_speller(), do_alt_speller() - Programs now return char *, also fix waitpid invocation and checking of WIFEXITED WEXITSTATUS calls
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1330 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-16 04:25:53 +00:00
Jordi Mallach 3e5ad6397c Updated French translation.
Added Turkish translation.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1329 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-14 22:15:35 +00:00
Chris Allegretta 5ad92ac4f8 - nano.c:do_int_speller() - Make internal spell program use sort -f and uniq to create a less redundant word list. [The only reason this is going in during feature freeze is because the int speller is useless as is and should either be improved or removed. I chose improved]
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1323 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-12-09 00:58:51 +00:00
David Lawrence Ramsey af7a09ddec typo fix: HTML 4.10 -> HTML 4.01
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1321 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-11-08 20:21:37 +00:00
David Lawrence Ramsey 9e050ad51a fix missing dash in Changelog
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1319 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-11-04 16:18:52 +00:00
David Lawrence Ramsey 99519ae375 second attempt at ngettext() fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1318 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-11-04 16:12:19 +00:00
David Lawrence Ramsey 0084eaa9e0 documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1317 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-11-04 16:05:42 +00:00
Jordi Mallach 5e4b8cfebb Catalan, German, French, Galician and Swedish translation updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1312 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-26 15:02:14 +00:00
David Lawrence Ramsey dc60b72e96 forward-ported --disable-wrapping-as-root from nano 1.0.x
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1311 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-25 16:08:53 +00:00
Chris Allegretta e8ad5ed2f4 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1310 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-25 03:15:48 +00:00
Chris Allegretta 2257893ac2 GNU nano 1.1.12 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1308 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-25 03:14:11 +00:00
Chris Allegretta 2a15c584f1 Add DLR's --disable-nls to version info
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1307 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-25 01:51:13 +00:00
Chris Allegretta d45c5992d3 Ken's ngettext fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1306 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-25 01:41:31 +00:00
David Lawrence Ramsey 2ab03f6896 miscellaneous bug fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1303 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-17 02:19:31 +00:00
Chris Allegretta e42df73644 - Disable VSTOP keystroke. Stops people accidentally locking up, nano (suggested by David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1302 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-15 00:27:55 +00:00
Chris Allegretta 1dd0bc98a2 Remove malloc.h completely and add color synatx highlighting toggle
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1300 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-13 18:43:45 +00:00
Jordi Mallach dab0299d88 Swedish, Galician and Polish updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1295 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-06 23:35:19 +00:00
Chris Allegretta 71fb1f5bd1 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1291 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-02 00:21:31 +00:00
Chris Allegretta 136a38af2f nanorc.sample: - Add some examples for HTML and TeX files (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1288 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-10-02 00:05:40 +00:00
David Lawrence Ramsey 1f28b8f400 DB's rewrite of the screen update and color routines
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1285 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-27 14:21:59 +00:00
Chris Allegretta 4300092919 Newer version of DLR's patch based on DB's tab thing
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1283 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-21 15:41:33 +00:00
Chris Allegretta 81dea02ca7 Add DLR's fixes to the wrapping behavior
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1282 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-21 02:19:45 +00:00
Chris Allegretta 079b5495c8 winio.c:edit_refresh() - Turn on leaveok() so the cursor doesn't bounce around the screen while we're updating it (most noticeable when using color syntax over a very slow connection)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1281 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-19 23:54:53 +00:00
Chris Allegretta 0ae5c722bd Make that ChangeLog for do_wrap a little less overly verbose
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1280 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-19 23:20:26 +00:00
Chris Allegretta 67ca2aa874 nano.c:do_wrap() - Restore the wrapping behavior to the previous wrapping point behavior (pre 1.1.10) (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1279 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-19 23:19:34 +00:00
Chris Allegretta de852623ee - rcfile.c:parse_colors() - Stop infinite loop when syntax doesn't begin with " char
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1278 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-18 00:28:57 +00:00
Chris Allegretta 3f9c3bf10b - Add a better string matching sequence that includes escaped quotes (thanks to Carl E. Lindberg, who doesn't even know he helped ;-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1277 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-18 00:00:12 +00:00
Chris Allegretta 515ba32513 - nano.h: - Add support for HP-UX's curses, which doesn't seem to support KEY_HOME and KEY_END
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1276 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-14 21:16:40 +00:00
David Lawrence Ramsey e21adfa181 David Benbennick's minor fixes, plus one of mine
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1275 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-13 18:14:04 +00:00
David Lawrence Ramsey 605165e292 DLR: Document minor typo fix for the FAQ.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1274 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-11 01:48:14 +00:00
David Lawrence Ramsey ad40fdba59 DLR: prototype overhaul, etc.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1270 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-06 20:35:28 +00:00
Chris Allegretta f7c6811e36 - Changed do_insertfile to (a) report multibuffer status at the prompt and allowing it to be toggled, taking into account the need to keep the translatable strings, and (b) added a variable inspath to keep track of what the string was before toggling. I'm sure there's bugs, have at it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1269 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-09-03 22:58:40 +00:00
David Lawrence Ramsey 768e8f0810 DLR: Spell Jeff DeFouw's name right in the Changelog
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1268 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-08-22 04:03:45 +00:00
Chris Allegretta 79cdfdc204 - nanorc.sample: - Fix the c-file regex for all caps words to be extended regex format ({} instead of \{\}) (found by DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1267 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-08-22 02:58:55 +00:00
Chris Allegretta 82559b3ab0 - configure.ac: - Changed --enable-color warning to be slightly less severe
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1266 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-08-22 01:12:41 +00:00
Jordi Mallach 1f1022faaa Upgrade to Gettext 0.11.5.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1265 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-08-21 18:19:53 +00:00
David Lawrence Ramsey 0341b58c05 DLR: minor bits
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1264 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-08-21 16:10:37 +00:00
Chris Allegretta d865da108f DLR's latest and greatest
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1256 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-29 23:46:38 +00:00
Jordi Mallach 25daa05bf6 Swedish translation updates (Christian Rose).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1252 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-29 00:16:38 +00:00
Jordi Mallach cb7c8d8172 Added pt_BR to ALL_LINGUAS.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1248 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-27 02:49:46 +00:00
Chris Allegretta 52069c6bb2 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1247 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-25 22:27:50 +00:00
Chris Allegretta 720a9e0f8a GNU nano 1.1.10 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1245 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-25 22:26:33 +00:00
Chris Allegretta 7d5f3077ea Take out the DB color ChangeLog entry as I didn't put it in
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1242 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-24 01:19:40 +00:00
Chris Allegretta dffa207320 Everything from DB's patch that makes any sense to me
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1241 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-24 01:02:26 +00:00
Chris Allegretta c46337b9c7 Credit DLR for the tabs/spaces fixes in nano.h
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1240 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-23 00:34:48 +00:00
Chris Allegretta 1c5c338f95 Fix to parsing getopt args for -I/--ignorercfiles (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1239 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-23 00:33:07 +00:00
Chris Allegretta c4e3d9ed01 Another DLR fixin: credits and DOS/Mac compatibility. Also get rid of those colons in ChangeLog after function names
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1237 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-21 15:44:13 +00:00
Chris Allegretta cf287c87cd More DLR updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1236 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-20 13:57:41 +00:00
Chris Allegretta 6df90f5787 DLR and DB fixes mega-merge
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1235 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-19 01:08:59 +00:00
Jordi Mallach 7d401345c2 Merged acconfig.h into configure.ac.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1229 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-05 23:46:31 +00:00
Jordi Mallach d9797bddc2 New Bahasa Melayu translation (Sharuzzaman Ahmat Raslan).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1226 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-07-03 09:49:20 +00:00
David Lawrence Ramsey 5db0cdc4c9 Carl Drinkwater's backup patch, plus miscellaneous fixes by David
Benbennick and me


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1225 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-06-28 22:45:14 +00:00
David Lawrence Ramsey c5967551f6 Carl Drinkwater's titlebar spacing fixes, David Benbennick's help browser
fixes, and my regexp searching bug fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1223 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-06-21 03:20:06 +00:00
David Lawrence Ramsey f21cd10a3f DLR: latest patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1221 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-06-13 00:40:19 +00:00
Jordi Mallach 790d362f41 Updated credits.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1220 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-06-03 12:44:05 +00:00
Jordi Mallach bd338658be Upgraded to gettext 0.11.2.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1219 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-06-03 12:32:28 +00:00
Chris Allegretta 5c6379d64f nanorc.sample - Put in much less crappy example regex rules for c-file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1216 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-18 03:13:03 +00:00
Chris Allegretta 6fe98d7d76 - global.c:shortcut_init() - Rework IFHELP macro (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1215 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-16 23:30:14 +00:00
Jordi Mallach 1f22687cd8 Italian, Galician, Catalan and Spanish updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1213 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-13 15:05:38 +00:00
Chris Allegretta 8b75a78f6f GNU nano 1.1.9 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1211 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-13 00:09:30 +00:00
Chris Allegretta 5e76fe9997 Add same regfree call to color.c:update_color()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1208 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-12 20:54:16 +00:00
Chris Allegretta 3674c1da71 - winio.c:edit_add() - Add in the necessary regfree() calls to stop nano from leaking memory like a sieve when using color syntax highlighting :-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1207 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-12 20:43:49 +00:00
Chris Allegretta 6232d6659f DB's latest patch, minus one totsize--. Also fixed a < in help_init that should be <=
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1206 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-12 19:52:15 +00:00
Chris Allegretta 4dc03d5733 DLR's latest patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1204 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-11 03:04:44 +00:00
Chris Allegretta 7c27be42d0 added an update_color, updated edit_add, i18ned a string and changed some getopt handlers in main to mallocstrcpy
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1203 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-05 23:03:54 +00:00
Jordi Mallach ca76fa9b39 Swedish translation updates (Christian Rose).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1202 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-05 15:04:26 +00:00
Chris Allegretta 21c433dca6 Global flag -Y, --syntax to specify the type on the command line, if there's no good filename regex to use. Global variable syntaxstr. Made some errors in the rc file less fatal
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1200 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-04 04:24:29 +00:00
Chris Allegretta 09900ff808 Global flag -Y, --syntax to specify the type on the command line, if there's no good filename regex to use. Global variable syntaxstr. Made some errors in the rc file less fatal
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1199 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-04 04:23:30 +00:00
Chris Allegretta b6c5dc29ef - Added syntax command to .nanorc file, to allow multiple syntaxes. New function color.c:update_color(), calls in various files.c places, syntaxtype struct, global variables syntaxes, syntaxfile_regexp and synfilematches
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1197 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-05-04 03:47:33 +00:00
Jordi Mallach 42c6405572 s/Debian GNU/Linux/Debian GNU/g
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1196 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-30 02:33:14 +00:00
Jordi Mallach 934b76b0ed Indonesian translation updates (Tedi Heriyanto).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1195 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-25 22:24:48 +00:00
Chris Allegretta dab017e786 - More cleanups with DISABLE flags, better free_shortcutage and free_toggle, and get rid of unnecessary variable decls with NANO_SMALL in shortcut_init() by David Benbennick
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1194 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-23 10:56:06 +00:00
Chris Allegretta 0547eb36c4 - General: - Change from read() and write() to file streams by Jay Carlson. Allows OS to implement read and write ahead rather than making us do it. Hopefully merged properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1192 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-22 23:52:34 +00:00
Chris Allegretta 2542274250 Prepend fixes for O_CREAT & append compatibililty by David Benbennick
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1191 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-21 23:15:36 +00:00
Jordi Mallach 0417a7b7f2 Russian and Ukrainian updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1189 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-19 21:59:35 +00:00
Chris Allegretta 0e9b7aa16d - General: - Preliminary prepend code. This may be a bad idea, but I've been wanting it for awhile now and we'll see how bad it messes everything up. Changes to files.c:do_writeout(), write_file()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1188 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-16 03:15:47 +00:00
Jordi Mallach 7f80e6639f Italian translation updates (Marco Colombo).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1185 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-13 16:31:03 +00:00
Jordi Mallach d301e10372 Dutch translation updates (Guus Sliepen).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1184 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-13 14:46:26 +00:00
Jordi Mallach b18bc69b88 Swedish updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1174 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-10 16:26:17 +00:00
Chris Allegretta f2387fbdf7 - Change to openfilestruct for multibuffer mode by DLR. New functions nano.c:make_new_opennode(), free_openfilestruct(), delete_opennode(), unlink_opennode(), splice_opennode(), new struct openfilestruct in nano.h
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1173 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-10 02:31:20 +00:00
Chris Allegretta 70feb4f8e5 Back that out, as it braks Linux :(
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1172 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-08 17:48:15 +00:00
Chris Allegretta 108ff58956 - FreeBSD compat. Remove KEY_DC from the delete shortcut in global.c:shortcut_init(), add case for 330 under nano.c:main()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1171 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-08 17:44:10 +00:00
Chris Allegretta 7162e3d686 DB's latest patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1170 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-06 05:02:14 +00:00
Chris Allegretta 66f373f3e7 - nano.h: - NANO_ALT_COMMAND and NANO_ALT_PERIOD were reversed (lol) (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1169 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-05 23:33:09 +00:00
Jordi Mallach 0ab011f54a ca, de, es, fr, gl updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1167 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-04-05 11:25:00 +00:00
Chris Allegretta 8902ebad43 - nano.spec.in: - Don't put Chris' name as the Packager in the distribution by default (Im an idiot)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1166 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-30 18:02:54 +00:00
Chris Allegretta 32b4c960ac Back to CVS ver
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1165 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-30 16:58:55 +00:00
Chris Allegretta 06d62372dc - Added new nano.spec file from Brett <brett@bad-sports.com>, added because maintaining the spec file is getting to be a large
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1161 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-30 16:51:38 +00:00
Chris Allegretta 78f0fc61ff rcfile fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1160 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-29 19:41:57 +00:00
Chris Allegretta 77777d4c0d Add David Benbennick's changes to open_pipe() and move it to nano.c, and add his nperror function
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1159 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-29 16:31:29 +00:00
Chris Allegretta 9b4055c4da Bah, don't fix what isn't broken
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1158 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-29 16:00:59 +00:00
Chris Allegretta 8e207bf03f - nano.c: - Move the termios things in main() up to signal_init(), where they should probably be anyway
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1156 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-29 15:31:54 +00:00
Chris Allegretta f3a07b2d7e - winio.c:do_cursorpos() - Make col numbering start from 1 (suggested by Andrew Ho)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1155 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-29 15:15:38 +00:00
Chris Allegretta e373909037 - files.c:do_insertfile() - Handle cancel from ExtCmd properly (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1154 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-29 15:06:05 +00:00
Jordi Mallach 465a0ffa15 Danish updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1153 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-29 00:46:05 +00:00
Chris Allegretta 2598c66d81 DLR's patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1152 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-28 01:59:34 +00:00
Jordi Mallach 7afc6d9468 Italian updates (Marco Colombo).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1151 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-27 16:34:46 +00:00
Chris Allegretta d1c2c1ca76 - search.c:do_gotoline() - Set placewewant if we actually move to a different line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1150 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-26 17:58:42 +00:00
Chris Allegretta f6cba64376 David's fixes for read_file and the assert stuff for renumber
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1147 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-26 13:05:54 +00:00
Chris Allegretta bb88ece93c Rocco's mods to open_pipe
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1145 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-25 13:40:39 +00:00
Chris Allegretta f21f3fcc1e - nano.c:do_int_speller() - Fix zombie processes and spelling buffer issues (Rocco Corsi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1143 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-25 03:26:27 +00:00
Chris Allegretta 3533a348fc General - Added separate regex variable (color_regex and colormatches) so that color syntax and regex search/replace can coexist
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1140 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-24 23:19:32 +00:00
Chris Allegretta cf1d812ccb - nano.c:do_justify() - More fixes for indented justify (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1137 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-21 19:53:36 +00:00
Chris Allegretta 52c5a6ea48 External command code and fix for BUG #70
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1136 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-21 05:07:28 +00:00
Jordi Mallach 7fa082dc90 French translation updates (Jean-Philippe Guérard).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1133 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-17 00:35:41 +00:00
Chris Allegretta dce44abec7 winio.c:do_credits() - Add Thomas Dickey
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1131 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-16 01:03:41 +00:00
Jordi Mallach b83e61aea0 Polish translation updates (Wojciech Kotwica).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1130 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-15 15:15:13 +00:00
Jordi Mallach 057c3c4aba Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1128 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-14 11:00:56 +00:00
Jordi Mallach 5477e1028a Galician translatin updates (Jacobo Tarrio).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1126 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-12 16:15:50 +00:00
Jordi Mallach 558b5d8774 French translation updates (Jean-Philippe Guérard).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1125 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-11 13:23:33 +00:00
Chris Allegretta 45329a127a Rocco's fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1124 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-10 01:22:21 +00:00
Chris Allegretta b479c89594 - nano.c:help_init() - Various fixes and string changes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1122 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-09 20:03:10 +00:00
Chris Allegretta 3fc5d5722c - nano.c:usage() - Rewritten to encompass systems with and without GETOPT_LONG. New function print1opt does most of the dirty work, stops duplication of effort and eases translator's jobs. Also breaks all the current translations ;-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1119 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-09 18:51:58 +00:00
Jordi Mallach 4e803aa59b Catalan, Indonesian and Spanish translation updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1118 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-09 18:05:53 +00:00
Chris Allegretta 97e6fe6331 - nano.c:usage() - Add -N to short format (no GETOPT_LONG) strings (noticed by Jordi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1117 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-09 17:38:47 +00:00
Jordi Mallach 4951c66adc German & Swedish translation updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1116 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-07 14:12:53 +00:00
Chris Allegretta 5902f9672d - nano.c:help_init() - Capitalize Meta altkeys
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1115 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-07 12:40:39 +00:00
Chris Allegretta e8e10347a9 - rcfile.c:parse_rcfile() - Don't use i for both for loop and atoi(), fixes lots of potential crashes, 1st reported by Jean-Philippe Gue'rard
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1114 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-07 00:47:22 +00:00
Chris Allegretta 1596d38698 - rcfile.c:parse_rcfile() - Don't use i for both for loop and atoi(), fixes lots of potential crashes, 1st reported by Jean-Philippe Gue'rard
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1113 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-07 00:46:17 +00:00
Chris Allegretta 564535a6f7 - files.c:check_writable_directory() - Stat full_path, not path (Steven Kneizys)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1111 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-06 15:32:17 +00:00
Chris Allegretta 40ecbad296 NANO_SMALL issues
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1110 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-06 15:27:44 +00:00
Chris Allegretta bef1297c6d Type misalignments and mem leaks in renumber_all, do_justify and do_spell (Rocco & Steven Kneizys)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1108 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-06 03:30:40 +00:00
Chris Allegretta 26d59eae5f Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1107 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-05 23:49:14 +00:00
Chris Allegretta 97489d211f GNU nano 1.1.7 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1105 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-05 23:47:44 +00:00
Chris Allegretta 46c1b9e344 nano.c:do_justify() - Don't continue to justify string if it's indented more (quoting wise) than the beginning of the justification
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1104 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-05 19:58:45 +00:00
Chris Allegretta d4fa0d3904 justify_format(), do_justify() - Various fixes for starting blank spaces, spaces after punctuation, & segfault with quoting strings (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1103 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-05 19:55:55 +00:00
Jordi Mallach 87435d9223 Removed m4 stuff from topdir Makefile.am, again.
Added a small macro that tells configure.ac where to look for macros.
Removed cruftly stamp-h.in from rep.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1101 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-05 17:58:34 +00:00
Jordi Mallach a3322fd65d Polish translation updates (Wojciech Kotwica).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1100 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-05 11:23:17 +00:00
Chris Allegretta 40639ddc0c Fixed broken mouse handling with new shortcut setup
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1095 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-04 12:25:34 +00:00
Chris Allegretta e4f940dbaa - Preliminary quoting support for justify. New arg -Q, --quotestr, changes to do_justify(), global variable quotestr()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1092 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-03 22:36:36 +00:00
Chris Allegretta 6f746000c0 Back out M4 stuff in Makefile.am since it doesn't seem to be needed - wtf
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1090 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-03-01 00:34:49 +00:00
Chris Allegretta 99ed9dc9fe - utils.c:strcasestr(),revstrcasestr() - Renamed to stristr and revstristr since strcasestr has not been confirmed to be detected properly on various Linux systems
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1089 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-28 00:57:18 +00:00
Chris Allegretta 2d698b7132 Makefile.am: - Re-added M4DIR & ACLOCAL_AMFLAGS, make seems to fail without it Jordi ;-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1086 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-27 04:16:52 +00:00
Chris Allegretta f5de33a6ef - Many malloc() cleanups and files.c tweaks by Steven Kneizys, new functions utils.c:free_shortcutage() (got to love that name\!) & free_toggles(), and big cleanup program thanks_for_all_the_fish() (originally thanks_for_the_memories()). Mods to shortcut_init() by Chris
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1085 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-27 04:14:16 +00:00
Jordi Mallach 3c5653d83e Move to autoconf 2.5.
configure.in moved to configure.ac, to make things completely obvious.
Removed m4/largefile.m4, which is provided by ac2.5, and add Makefile.am for that dir.
Updated README.CVS to reflect this.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1082 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-23 18:23:43 +00:00
Chris Allegretta 48b06708ff Multiple unnamed buffers allowed, multiple filename extensions on die_save_file(), more DLR fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1081 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-22 04:30:50 +00:00
Jordi Mallach 62d2171745 Dutch translation updates (Guus Sliepen).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1078 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-20 16:21:27 +00:00
Chris Allegretta ff8a68c258 rcfile.c:do_rcfile() - Parse rcfile in as well (Dwayne Rightler)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1077 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-16 20:34:57 +00:00
Chris Allegretta bc72e366d2 Added Ken's patch, DLR's latest fixes and a little cleanup to bottombars()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1076 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-16 20:03:44 +00:00
Chris Allegretta 9caa193fe1 407 == ^z fix, get rid of unusaed variables
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1074 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-15 20:08:05 +00:00
Chris Allegretta a8c225787b DLR's patch merged, Static toggles and shortcut gone, lots of stuff changed
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1073 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-15 19:17:02 +00:00
Jordi Mallach e46d43d299 Norwegian bokmål translation updates (Stig E Sandoe).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1070 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-15 17:13:11 +00:00
Jordi Mallach 507c361bcf Danish translation updates (Keld Simonsen).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1069 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-14 18:57:23 +00:00
Chris Allegretta f27c69703d - winio.c:do_cursorpos() - Rewritten to show col place as well as charcter place, without needing an entirely separate flag
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1067 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-12 01:57:24 +00:00
Chris Allegretta 40b85e7aca - Makefile.am: - Change localedir line to 1.0's version
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1064 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-09 21:56:09 +00:00
Jordi Mallach b3b28c19b5 Russian and Ukrainian translation updates (Sergey A. Ribalchenko).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1062 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-07 13:51:00 +00:00
Jordi Mallach 8bfd3114be Hungarian translation updates (Gergely Nagy).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1061 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-06 20:53:04 +00:00
Jordi Mallach 94def068ef Partial Czech translation updates (Vaclav Haisman).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1060 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-06 12:14:25 +00:00
Chris Allegretta 3d8e759a4c Allow " symbol to be in regex without leading by checking for *ptr+1 is not the end of the regex
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1057 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-02-02 07:13:02 +00:00
Chris Allegretta 8dbfb5c2ce Re-add the changes since the CVS tarball was made *argh*
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1052 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-28 15:56:15 +00:00
Jordi Mallach 8636f7b66a French, German and Norwegian nynorsk updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1051 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-26 19:23:37 +00:00
Chris Allegretta 3c597d0b91 - nanorc.sample - Mention unset in the sample nanorc
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1050 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-26 03:42:14 +00:00
Jordi Mallach 9c34a167d8 French and Swedish translation updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1048 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-26 00:46:47 +00:00
Chris Allegretta 14b3ca94b7 - General - New flag RELATIVECHARS to show column positino relative to the current line instead of the current file. New flag -C, --relative, changes to do_cursorpos()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1046 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-25 21:59:02 +00:00
Jordi Mallach 83ffefbfdd Catalan and Spanish updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1045 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-25 21:00:18 +00:00
Chris Allegretta 121b9b99f9 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1043 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-25 17:04:18 +00:00
Chris Allegretta 491029ed8d GNU nano 1.1.6 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1041 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-25 17:02:32 +00:00
Chris Allegretta 4756de366e No Im not releasing 1.1.6 yet
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1035 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-23 02:38:52 +00:00
Chris Allegretta 05f4065960 Add the codeset.m4 and iconv.m4 entries to Makefile.am
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1034 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-23 02:37:36 +00:00
Chris Allegretta 24e48d8314 Downgraded from automake 1.5, as there are severe security implications
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1031 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-23 01:06:20 +00:00
Chris Allegretta 34f8098045 - rcfile.c:General - Added stdarg.h to includes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1030 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-22 20:09:20 +00:00
Chris Allegretta 1c2fddcb40 - search.c:do_search() - Check position of cursor and return value of findnextstr and tell user if search string only occurs once (Rocco & Chris)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1029 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-21 20:40:14 +00:00
Chris Allegretta 23b74b226e - nano.c:do_int_spell_fix() - Temporarily unset REVERSE_SEARCH if it's set (Rocco Corsi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1028 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-21 20:32:22 +00:00
Chris Allegretta b2cd10d57c - nano.c:do_char() - Run edit_refresh() if ENABLE_COLOR is defined so adding multi-liners will update (e.g. /* in C)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1027 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-20 00:54:42 +00:00
Chris Allegretta 9963b0e885 - .cvsignore - Added config.guess config.sub install-sh missing & mkinstalldirs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1026 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-19 19:35:12 +00:00
Chris Allegretta 3351ce15a9 - Upgraded missing and installdirs scripts
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1024 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-19 19:23:21 +00:00
Chris Allegretta 15b23f46c3 - Upgrade to gettext 0.10.40, probably broke everything again :)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1022 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-19 19:15:18 +00:00
Chris Allegretta 6c1e6612ad - General - Added multiple-line regex support. Format in .nanorc is start=regex end=regex. Cleaned up nanorc:parse_colors(), added parse_next_regex(), changes to edit_add in winio.c(), changes to colortype, cleaning up some old cruft
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1021 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-19 16:52:34 +00:00
Jordi Mallach 3a23a55018 Danish translation update (Keld Simonsen).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1017 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-18 23:04:16 +00:00
Chris Allegretta f478f8361e Latest color and regex fixes. Multi-line color doesn't work yet, just syncing in case of disaster
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1016 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-18 21:54:35 +00:00
Jordi Mallach 5285ca9d0a Show --enable-multibuffer independently of --enable-extra.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1015 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-17 12:40:33 +00:00
Jordi Mallach d6481e4fc1 Hm, fix entry.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1011 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-17 12:14:23 +00:00
Jordi Mallach 83d5cede73 Added new Norwegian translations, fixed THANKS.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1010 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-17 12:06:49 +00:00
Chris Allegretta ea250e8b90 - color.c:do_colorinit() - Moved some comments and braces around so color can work w/slang (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1005 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-16 01:09:11 +00:00
Chris Allegretta 438f713b3f - nano.c:do_wrap() - Move right increment to part where new line is created, should change (fix?) some wrapping problems with autoindent
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1004 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-16 00:54:47 +00:00
Chris Allegretta e29697d210 - search.c:findnextstr() - Fix off by one in check for wrap around (Rocco Corsi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1002 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-14 03:31:10 +00:00
Chris Allegretta 5bbce6a847 Oops, make that Bug #68 :-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@994 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-10 12:48:16 +00:00
Chris Allegretta 7b0667fa7a - nano.c:do_suspend() - Call tcsetattr() to restore the old terminal settings, so tcsh can use ^C after suspend for example (fixes BUG #67)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@992 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-10 12:44:21 +00:00
Chris Allegretta 967a1e28f6 - General - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@991 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-10 00:50:38 +00:00
Chris Allegretta 1bc0c7e047 - Better partial word checking code. New function search.c:is_whole_word(), changes to findnextstr(), and nano.c:do_int_spell_fix() (Rocco Corsi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@989 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-08 15:00:24 +00:00
Jordi Mallach bf1a1e84e2 French, Russian and Ukrainian translation updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@988 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-08 14:07:39 +00:00
Chris Allegretta 044d1b1a6e - General - Add Meta-A as alternate keyystroke for ^^ for people with non-US keyboards, and fix one missed NANO_ALT_R that should be NANO_ALT_REPLACE_KEY
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@987 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-08 00:33:32 +00:00
Chris Allegretta f7dee92189 main() alt val - 32 check fix, and shortcut_init() fix in global.c for hard coded values
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@986 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-07 16:43:25 +00:00
Jordi Mallach d39698ff1f German translation update (Michael Piefel).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@985 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-07 15:16:26 +00:00
Jordi Mallach e36a15209a Swedish translation update.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@984 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-07 15:12:48 +00:00
Chris Allegretta 3d0739c384 - winio.c:edit_refresh() - Rename lines to nlines to fix AIX breakage (reported by Dennis Cranston, re-reported by arh14@cornell.edu)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@983 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-07 14:41:32 +00:00
Jordi Mallach 3da9139159 Catalan and Spanish translation updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@982 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-07 11:50:13 +00:00
Jordi Mallach 345a8467ae Fixed --keypad description.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@981 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-07 11:35:16 +00:00
Chris Allegretta d17519321e Back to CVS ver
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@980 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-05 20:01:53 +00:00
Chris Allegretta 110927bbc5 GNU nano 1.1.5 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@978 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-05 19:49:06 +00:00
Chris Allegretta a16e4e96c0 - winio.c:statusq() - Initialize "list"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@977 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-05 18:59:54 +00:00
Chris Allegretta 1bf8f5e9d2 - winio.c:edit_add() - Little fixes to let color highlights not bleed onto the next line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@974 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-05 03:30:10 +00:00
Chris Allegretta e5b9eacd89 winio.c:bottombars() - Get rid of that annoying reversed line when color is on! :)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@972 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-05 01:52:02 +00:00
Jordi Mallach 8ae5789447 Updated copyright notices to 2002.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@967 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-04 17:57:40 +00:00
Jordi Mallach 65f3e42de3 Polish translation update (Wojciech Kotwica).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@966 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-04 17:48:58 +00:00
Chris Allegretta fae0dce708 Add DLR to AUTHORS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@965 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-04 13:30:42 +00:00
Chris Allegretta 48bd37812b - The keypad handling has changed (again). We now use the keypad() function by default. New flag -K, --keypad allows the old behavior for those using the keypad arrow keys and rxvt-based terminals
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@964 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-03 21:26:34 +00:00
Jordi Mallach 13f3017d0f French translation update (Jean-Philippe Guérard).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@962 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-02 18:45:58 +00:00
Chris Allegretta 32da456ab0 DLR's latest patch: view+multibuffer, die() fixes, insert key fixes in main()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@961 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-02 15:12:21 +00:00
Chris Allegretta 180a569fdb - nano.c:help_init() - Typo in file switch string (found by David Lawrence Ramsey). main() - Handle Alt prev/next file keys (,.), as well as normal ones (<>).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@960 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-02 14:30:33 +00:00
Chris Allegretta 13fd44bfe4 Get rid of \n in abort check of parse_next_word(), new var helplen in help_init()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@959 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2002-01-02 13:59:11 +00:00
Jordi Mallach 327939843d German translation update (Michael Piefel).
Ukrainian translation update (Sergey A. Ribalchenko).


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@957 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-28 16:35:28 +00:00
Jordi Mallach 78e2c9d844 Italian translation update (Marco Colombo).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@956 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-27 22:06:38 +00:00
Chris Allegretta 64dd95dd75 files.c:read_file() - Make conversion message less confusing (suggested by Jordi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@955 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-27 20:53:54 +00:00
Jordi Mallach 05d8ce9adf Galician translation update (Jacobo Tarrío).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@954 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-27 20:34:42 +00:00
Jordi Mallach 1a58fb46f5 French translation update (Michel Robitaille).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@952 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-27 16:00:23 +00:00
Jordi Mallach cf9f783d26 Faq fixes.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@949 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-26 12:33:01 +00:00
Jordi Mallach a4ffccb321 New incomplete Polish translation, contributed by Cezary Sliwa <sliwa@cft.edu.pl>.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@947 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-26 00:31:17 +00:00
Jordi Mallach 414acab0ce Updated Catalan translation.
More Spanish fixes.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@943 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-26 00:15:16 +00:00
Jordi Mallach 11f39e7044 Updated Spanish translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@941 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-25 19:17:32 +00:00
Jordi Mallach 39d02c4796 Russian translation update (Sergey A. Ribalchenko).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@940 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-25 18:31:53 +00:00
Jordi Mallach 9335f91085 Made two strings translatable.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@939 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-23 00:03:18 +00:00
Jordi Mallach 77b12326c8 Swedish translation update (Christian Rose)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@938 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-22 23:23:40 +00:00
Chris Allegretta 3c57e50db8 - winio.c:update_line() - set realdata check to >= 1 && <= 31, lack of > 0 check screwed high ascii chars
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@937 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-19 16:20:43 +00:00
Chris Allegretta cf6807100b m4/gettext.m4: - Back down to 1.1.3 version
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@936 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-18 14:59:20 +00:00
Chris Allegretta 52db7a2c3d - winio.c:update_line() - back out check for (realdata[i] < 32) as it will screw high ascii characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@932 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-17 23:39:36 +00:00
Chris Allegretta 0bb70dcda5 VDSUSP fix from 1.0 tree
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@931 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-17 04:34:23 +00:00
Chris Allegretta 5fd6cacfa5 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@925 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-12 13:55:19 +00:00
Chris Allegretta 7bf2509a70 GNU nano 1.1.4 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@923 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-12 02:44:40 +00:00
Chris Allegretta 9c23a44907 Remove some debug code and update to mutt's gettext.m4
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@922 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-12 01:45:01 +00:00
Jordi Mallach df59ae64e9 French update, by Michel Robitaille <robitail@IRO.UMontreal.CA>
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@920 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-07 14:00:56 +00:00
Chris Allegretta 8083827088 do_spell() - Dont prompt for replace if we don't change the word in question (Rocco Corsi).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@917 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-12-02 06:03:22 +00:00
Chris Allegretta 2084acc37d At LONG last committed David's patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@912 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-11-29 03:43:08 +00:00
Chris Allegretta 08893e08e3 Preliminary syntax highlighting support. New functions colortoint() and parse_color() in rcfile.c, new code in edit_add() in winio.c to actually do the highlighting. It's not even close to pretty yet :P
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@910 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-11-29 02:42:27 +00:00
Jordi Mallach feebeb90ea Danish and Spanish updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@909 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-11-19 12:09:51 +00:00
Chris Allegretta 9b8b370132 Put 1.0 Hurd fixes in 1.1 tree (function keys, SIGTSTP sigaction
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@908 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-11-19 05:09:15 +00:00
Jordi Mallach 8c9c572309 Updated German, Swedish and Russian translations.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@904 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-31 13:02:12 +00:00
Jordi Mallach 773623c066 Typo fixes in help strings.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@896 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-28 21:00:49 +00:00
Chris Allegretta 0567bfe14c files.c:add_open_file() - Get rid of unsetting MARK_ISSET because otherwise writing marked text will automatically unset the marker with multibuffer enabled
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@894 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-28 14:42:18 +00:00
Chris Allegretta 8c8d370470 global.c: - Define currshortcut and currslen when either DISABLE_MOUSE or DISABLE_HELP or DISABLE_BROWSER is not defined (Silvan Minghetti)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@893 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-28 05:00:39 +00:00
Chris Allegretta 22ec59a073 global.c: - Define currshortcut and currslen when either DISABLE_MOUSE or DISABLE_BROWSER is not defined (Silvan Minghetti)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@892 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-28 04:56:08 +00:00
Chris Allegretta f3e80adbe4 Oops, typo in dec there, it's Alt-[-whatever
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@891 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-28 04:49:10 +00:00
Chris Allegretta 7bf7274d9f nano.c:main() - Add Esc-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@890 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-28 04:29:55 +00:00
Chris Allegretta 7b409bd6b6 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@889 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-26 16:15:58 +00:00
Chris Allegretta dc57bbab7a Nano 1.1.3 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@887 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-26 16:14:45 +00:00
Chris Allegretta 107864058b nano.h: Additional #define, SMALL_TOO to determine how long MAIN_LIST_LEN is. We need this because of the find matching bracket code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@879 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-24 17:27:46 +00:00
Chris Allegretta 2cd72b6aa2 Back out off by one fix that's not actually off by one, it was a different bug :-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@878 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-24 17:25:36 +00:00
Chris Allegretta 3a24f3f780 Changed header comments to say "version 2" instead of "version 1" as the COPYING file is actually version 2 of the GPL (bug noticed by Jordi Mallach)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@873 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-24 11:33:54 +00:00
Chris Allegretta 347c184b6f nano.c:main() - Moved #ifndef NANO_SMALL down past the case 0: line so control-space doesn't insert a \0 (ack!)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@872 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-24 01:37:13 +00:00
Chris Allegretta 48ebb81fb2 nano.c:main() - Fixed off by one when checking for MAIN_LIST_LEN. Ugh.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@871 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-24 01:34:15 +00:00
Chris Allegretta abf22a8fb2 - nano.c: - Added the #ifdefs around do_prev_word the code in main()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@870 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-24 00:58:19 +00:00
Chris Allegretta e7ee63f271 - cut.c: cut_marked_segment() - Fix off-by one in mem allocation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@868 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-23 12:58:42 +00:00
Chris Allegretta fa0c6963ce Fixed null_at to ACTUALLY DO SOMETHING with its arg. Again, this was causing nasty errors if the call to nrealloc moved where the data was located
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@866 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-22 23:22:19 +00:00
Chris Allegretta 878ced39bf - nano.c:do_prev_word() - Fixed goofy logic setting x pos to value of last line when hitting the beginning of first line, prog should simply abort.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@865 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-22 20:05:34 +00:00
Chris Allegretta b3655b4c5e DLR's cut and miscellaneous fixes, my cut fixes, and context-sensitive help, woohoo
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@864 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-22 03:15:31 +00:00
Chris Allegretta beead28619 - faq.html - Removed nano-editor.org FTP site address [deprecated] and added the GNU one
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@860 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-18 14:15:28 +00:00
Jordi Mallach eb94b9edcd Updated Ukrainian translation (Sergey A. Ribalchenko).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@859 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-15 14:26:48 +00:00
Chris Allegretta 76e291beee Added conversion messages for DOS and Mac files, and Alt-space as do-previous-word
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@858 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-14 19:05:10 +00:00
Jordi Mallach ab23fbd019 Updated Russian translation (Sergey A. Ribalchenko).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@856 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-08 14:05:36 +00:00
Jordi Mallach 26f4603a89 Style updates for Spanish, by Santiago Vila.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@855 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-07 15:53:27 +00:00
Jordi Mallach 2476ebd31b Updated Danish translation (Keld Simonsen).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@854 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-07 00:26:26 +00:00
Jordi Mallach 482d165ab5 Updated Swedish translation (Christian Rose).
Updated gl.po from TP.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@853 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-06 02:36:25 +00:00
Chris Allegretta 9a39789cb6 Back to CVS version
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@843 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-04 01:25:43 +00:00
Chris Allegretta 03260b40fa GNU nano 1.1.2 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@841 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-04 01:24:07 +00:00
Jordi Mallach 780f3205f1 Finnish update for 1.1.2pre3, by Pauli Virtanen.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@834 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-03 20:47:47 +00:00
Chris Allegretta ca1a82ecab - rcfile.c: - Fix incorrect argument in fill and tabsize error message (Nathan Heagy)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@828 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-03 15:18:41 +00:00
Jordi Mallach f57b886bed Documentation updates for nano 1.1.2 (texi and manpage).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@827 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-03 12:45:22 +00:00
Chris Allegretta 31b2b81e53 Add filebot magic line bug as bug #66
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@823 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-03 01:51:33 +00:00
Chris Allegretta 5e4b1085b4 Add single line bug as Bug #65
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@822 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-03 00:45:06 +00:00
Chris Allegretta b516d8e3f3 - nano.c:main() - Added var constcheck as a CRC-like check of whether cursor pos has changed and if so update the pos with -c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@820 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-03 00:01:36 +00:00
Chris Allegretta 66c33b8731 Add tabsize support to rc file (Nathan Heagy)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@819 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-02 23:57:31 +00:00
Chris Allegretta dc2ca88718 - cut.c:do_cut_text() - Don't recenter the line when cutting one line (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@818 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-02 23:55:09 +00:00
Jordi Mallach a2d849bcd4 * Added notes about the Free Translation Project.
* Updated the ChangeLog, so it has some meaning :)


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@817 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-02 19:13:03 +00:00
Chris Allegretta e10f389e9c Take out the unneeded case sensitive and reverse stuff from -tiny
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@813 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-02 03:54:40 +00:00
Chris Allegretta 92f5fdc230 Finally, do the ChangeLog
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@810 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-02 02:58:07 +00:00
Chris Allegretta 7fdbd05b41 Readded DISABLE_CURPOS cause we can't get away without it (Search Wrapped msgs) and Ken's findnextr fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@807 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-02 00:55:38 +00:00
Chris Allegretta d948edc4f3 DLR's latest smooth scroll fix, case where there's not a full half page up from the cursor to fileage screws up the cursor position
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@806 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-02 00:38:56 +00:00
Chris Allegretta 222a0863fa cut.c:cut_marked_segment() - Add magic line when cutting a selection including filebot (discovered by DLR, fixed by DLR & Chris)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@805 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-02 00:24:37 +00:00
Jordi Mallach 1e36fd8f69 Italian updates for 1.1.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@804 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-10-01 17:24:24 +00:00
Chris Allegretta 1b3381bee8 Initialize totsize in files.c:new_file() and let do_gotopos keep current position when invoking the alternate speller (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@799 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-28 21:59:01 +00:00
Chris Allegretta 2bef18210a Fixes to bracket_msg in global.c by DLR
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@798 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-28 19:53:11 +00:00
Jordi Mallach c1917e7b66 Updated Catalan and Spanish translations to 1.1.2pre2.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@796 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-28 13:06:29 +00:00
Chris Allegretta a951f21c59 - nano.c: do_mouse() - Change k based on currslen to allow the new widths in bottombars()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@793 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-27 21:07:39 +00:00
Chris Allegretta 9519eb0c88 - files.c: do_writeout() - Expanded strings to not use %s and ?: to determine write/append string to be nice to translators
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@791 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-27 20:46:25 +00:00
Chris Allegretta 759d3523fc Search prompt changes, bracketed modifiers and to search at the front
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@790 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-27 13:04:10 +00:00
Chris Allegretta 56214c6aef DLR's fixes: arg for operatingdir's getopt_long text, changes to cases 2b and 2c in do_wrap for Pico compatibility, and new arg save_cutbuffer to global_init() to stop the cutbuffer from being lost with multiple buffers
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@789 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-27 02:46:53 +00:00
Chris Allegretta 5050d35e87 Fixes to paging (smooth scroll) by David Lawrence Ramsey
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@788 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-27 00:44:58 +00:00
Chris Allegretta ce78c1eb88 DLR's latest fixes for the tabcomp code and keys
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@783 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-23 01:18:03 +00:00
Chris Allegretta beb5497530 rcfile.c: - NUM_RCOPTS fix (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@782 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-22 23:54:45 +00:00
Chris Allegretta 8d990b5e8b - Bracket (brace, parens, etc) matching code by Ken Tyler. New functions do_find_bracket(), changes to findnextstr(), command is Meta-] (hope you dont mind since I already sold off Meta-O to the MacOS file code Ken...)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@780 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-22 22:14:25 +00:00
Chris Allegretta 3e3ae94084 - New smooth scroll code by Ken Tyler. New flag -S, --smooth, changes to page_up() and page_down()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@778 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-22 19:02:04 +00:00
Chris Allegretta 995177f2d9 Add Mac toggle Meta-O for Mac format
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@775 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-22 04:34:23 +00:00
Chris Allegretta 8fa1e28681 Added mac file support too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@774 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-22 04:20:25 +00:00
Chris Allegretta 7004c289f8 -D cmdline flag for DOS formatted files
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@773 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-22 00:42:10 +00:00
Chris Allegretta 6414b40d3d Make the Alt-key seqs work with the mouse
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@772 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-21 03:21:11 +00:00
Chris Allegretta 91841895e0 Code to read/write dos formatted files. Massive amounts of new code in read_line and write_file. New flag DOS_FILE
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@771 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-21 02:37:01 +00:00
Chris Allegretta e09cd1d4d1 Credit DLR for his code =-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@768 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-19 03:22:52 +00:00
Chris Allegretta e1f1452eb5 General: - New flag -o, --operatingdir, similar to Pico's -o mode. New function check_operating_dir(), changes to load_file (arg), open_file_dup_search (arg), new function do_gotopos for -F.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@767 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-19 03:19:43 +00:00
Chris Allegretta 0357c4d552 - nano.c: main() - Added vars oldcurrent and oldcurrent_x to check whether cursor pos has changed and if so update the pos with -c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@765 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-19 02:59:25 +00:00
Chris Allegretta ff98983602 Fix acconfig.h, NANO_SMALL leaves out Auto Indent
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@763 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-17 13:48:00 +00:00
Jordi Mallach 6c49b3f32c Updated Swedish translation (Christian Rose)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@762 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-15 22:47:05 +00:00
Jordi Mallach 90bbdd3c40 New Danish translation, by Keld Simonsen <keld@dkuug.dk>.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@760 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-12 19:06:59 +00:00
Jordi Mallach d1625cdfe6 Updated Galician translation; thanks, Jacobo Tarrío.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@757 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-10 11:36:45 +00:00
Jordi Mallach c6c35eafc8 Added recent translators to THANKS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@756 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-09 11:04:43 +00:00
Jordi Mallach 2cde0a24d4 Added Dutch translation, by Guus Sliepen <guus@nl.linux.org>.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@753 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-09-05 13:23:53 +00:00
Chris Allegretta 96eef7332b winio.c:bottombars() - Spread out the menu items, feedback definitely needed on this
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@750 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-08-25 16:41:37 +00:00
Chris Allegretta 9b3c7e8be7 winio.c: - Add David Lawrence Ramsey to credits
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@749 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-08-25 16:00:53 +00:00
Chris Allegretta c1049aced1 Add and fix bugs #63 and 64
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@744 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-08-17 00:03:46 +00:00
Jordi Mallach 372b1a0939 Corrected the Mouse Toggle help in the texinfo manual.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@743 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-08-08 19:35:23 +00:00
Chris Allegretta 47a2686e41 Back to CVS version
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@742 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-29 01:17:38 +00:00
Chris Allegretta 0e8c8d8cdc GNU nano 1.1.1 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@740 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-29 01:16:27 +00:00
Chris Allegretta 41ed01632f do_mark() - Temporarily disable cursorpos when enabled to be able to see the mark (un)set message (Ken Tyler)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@739 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-24 00:21:03 +00:00
Chris Allegretta 4839d23b11 Spelling fixes by DLR
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@738 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-19 22:03:51 +00:00
Chris Allegretta ef8f98d0c8 Reverted to gettext 0.10.35 in intl/ added m4/ directory to allow system independent rebuild of configure stuff
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@736 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-19 12:24:17 +00:00
Chris Allegretta e642197ff7 new_file() and close_open_file() fixes by DLR
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@735 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-18 01:03:36 +00:00
Chris Allegretta 5cce53b5a8 do_writeout() - Check for open_files == NULL before using it (Ryan Krebs)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@734 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-17 10:42:50 +00:00
Chris Allegretta 5f36c3760f Fixes for the nano.h #defines, shortcut_init() lists and search.c reverse search stuff when NANO_SMALL is used
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@733 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-16 00:48:53 +00:00
Chris Allegretta f372bd9f8c nano.h: - Fix type in INSERTFILE_LIST_LEN. && search_init() - add #ifdef NANO_SMALL around toggles code.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@732 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-15 22:24:24 +00:00
Chris Allegretta 307d4c8f6b Many multibuffer fixes by DLR
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@731 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-15 20:25:33 +00:00
Chris Allegretta 47f77b4715 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@730 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-15 16:13:18 +00:00
Chris Allegretta 9a74860957 Nano 1.1.0 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@728 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-15 16:07:23 +00:00
Chris Allegretta 355fbe5770 Moved --loadoninsert to --multibuffer and -F, --enable-extra defines --enable-multibuffer
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@727 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-14 19:32:47 +00:00
Chris Allegretta 2d7893d086 Added multi buffer (load on insert) code. This wont intoduce any bugs ;-)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@722 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-11 02:08:33 +00:00
Jordi Mallach df7d8b2e57 Added Norwegian and Swedish to HEAD.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@720 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-05 23:16:05 +00:00
Chris Allegretta b26ecb597e Oops, make that Alt-[-7.8
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@719 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-04 16:27:05 +00:00
Chris Allegretta 052f9d238e main() - Added Alt-[-[-7,8 support for home/end keys (Jeff Teunissen).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@718 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-04 16:06:21 +00:00
Chris Allegretta 049149f1da Make the THANKS file slightly less incomplete but far from perfect
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@711 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-02 01:57:44 +00:00
Chris Allegretta a2c02e9c8d do_browser() - More Picoish keystrokes for the browser, ^P, ^N, etc, for up, down, etc, and add the consistent ^C to exit (Jim Knoble)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@710 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-07-02 01:31:44 +00:00
Chris Allegretta 1a8b296adf write_file() - Increment lineswritten when the very last line isn't null. Fixes off by one count when writing selection to file.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@704 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-30 18:41:08 +00:00
Chris Allegretta ac899e5f80 do_suspend() - Added _POSIX_VDISABLE macro to fully ignore suspend keystroke. Eliminates the possibility that nano can be suspended when it's not supposed to be
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@703 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-30 04:09:09 +00:00
Chris Allegretta 521e00d761 rewrote suspend handler, added sigfillset before setting up handler with sigaction, allows nano to suspend properly with mutt
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@699 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-28 16:52:52 +00:00
Jordi Mallach 7fde37f006 Added THANKS, listing nano's friends :)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@693 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-22 23:26:19 +00:00
Jordi Mallach efd2236319 Updated Indonesian by Tedi Heriyanto
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@691 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-22 16:59:29 +00:00
Chris Allegretta 500b5e3539 do_cut_text(): Moved the case of current == mark_beginbuf into cut_marke segment, so do_writeout could call it when writing selection to file. Added some NANO_SMALL ifdefs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@689 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-21 23:58:47 +00:00
Chris Allegretta 40f45c8689 Last fixes, add reset of cutbuffer when uncutting marked text and reset marked_cut when cutbuffer reset
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@688 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-21 15:07:40 +00:00
Chris Allegretta 658399aeb9 Moved extension functions to meta keys, new macro TOGGLE() for toggling flags
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@686 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-14 02:54:22 +00:00
Chris Allegretta e4933a393a Reverse Search by Ken Tyler
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@685 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-13 02:35:44 +00:00
Chris Allegretta a75bc41faf Better for for -k bug
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@683 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-12 23:22:26 +00:00
Chris Allegretta 1cde322359 Don't keep cutbufer on reset, fix -k cut on first line if blank
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@682 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-11 06:56:10 +00:00
Chris Allegretta 3ba29535a3 do_cut_text() - If the next line is empty when using -k, create a dummy line and add it to the cutbuffer (fixes bug #61)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@680 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-10 20:41:20 +00:00
Chris Allegretta ecc3d7f39e write_file() - New arg, nonamechange, means whether or not to update the current filename after writing the file out.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@677 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-06-05 23:24:55 +00:00
Chris Allegretta cc197ef0ea Added selection write to file and append codes, main changes to files.c stuff, new shortcut list for inserting files, new args to do_writeout and write_file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@672 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-29 04:21:44 +00:00
Chris Allegretta d46156258b do_browser() - Don't shift the size of the file is it's less than 1K. Fixed files less than 1K being displayed as 0B (Rocco)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@669 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-23 21:54:47 +00:00
Chris Allegretta 6fe61499e8 All the updates that I've been waiting all weekend to commit, no desc, tough
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-21 12:56:25 +00:00
Chris Allegretta 53ea9d162b Add BUG #60
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@664 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-18 19:58:33 +00:00
Chris Allegretta 88b091510b Changed all string allocations to charalloc(), new function designed to take nmalloc argument but call calloc based on (char *) size.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@661 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-17 11:35:43 +00:00
Chris Allegretta 9fe015cca3 cut_marked_segment() - Add bizarre copy of bot node, else *BSD goes ballistic.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@660 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-17 03:41:00 +00:00
Chris Allegretta 63ba2d63ff po/it.po - Updated Italian translation by Marco Colombo.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@659 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-16 12:16:28 +00:00
Jordi Mallach 92b3bd2de6 New Russian translation by Sergey A. Ribalchenko.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@658 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-16 09:10:31 +00:00
Chris Allegretta 99afb85752 strcasestr() - Replaced by mutt's mutt_stristr function, because the thought of dynamically allocating memory and copying each line in a file to do a search or replace was causing me to lose sleep
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@654 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-16 04:20:57 +00:00
Jordi Mallach 64bacd20b5 gl.po status update (it's not new, it's been released already)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@652 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-14 13:55:30 +00:00
Jordi Mallach 3bf6bf45b7 Added Ukrainian translation by Sergey A. Ribalchenko.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@651 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-14 13:11:56 +00:00
Chris Allegretta 4cb991dda1 add_to_cutbuffer() - Remove useless statements (Rocco).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@644 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-10 22:55:16 +00:00
Chris Allegretta 051fc6e05a Added file clicking ability in file browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@640 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-05 23:17:36 +00:00
Chris Allegretta 88520c93be Various spelling updates by David Lawrence Ramsey
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@639 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-05 17:45:54 +00:00
Jordi Mallach 725490495c Updated FAQ, updated Spanish and Catalan, added utils.c to translations and
little typo fixes here and there.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@633 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-05-02 17:18:17 +00:00
Chris Allegretta b0bce4b429 Mention config.whatever files in ChangeLog
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@629 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-30 12:22:21 +00:00
Jordi Mallach 3f8db49622 Hugo van der Merwe pointed out that -r was missing in the manpage.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@621 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-30 10:30:43 +00:00
Jordi Mallach 9634571dd6 Added Galician translation by Jacobo Tarrío <jtarrio@trasno.net>.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@619 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-29 10:38:07 +00:00
Chris Allegretta 6cb4e885f2 page_up() - Rewritten with a loop to make screen updates work when mark is set (fixes bug #59).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@618 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-29 02:26:17 +00:00
Chris Allegretta 6efda54a6c Move config.h up in include lists and remove actual_x inline tag
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@616 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-28 18:03:52 +00:00
Chris Allegretta 316e4d9a67 ABCD(), main() - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D].
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@615 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-28 16:31:19 +00:00
Chris Allegretta 18d70f1478 added --enable-color and updated nanorc description in ChangeLog
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@613 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-28 15:53:28 +00:00
Chris Allegretta 5050aa6ae7 Addand fix bug #59
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@612 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-22 07:10:21 +00:00
Rocco Corsi 4dfaf93bcd Alt Speller returns to same line & do_gotoline optimizations
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@609 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-20 01:59:55 +00:00
Chris Allegretta 8d8e01224b Added rcfile.c source code and basic .nanorc functionality
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@598 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-18 04:28:54 +00:00
Rocco Corsi 12f294c651 "Goto Directory" added and minor fixes in the browser
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@597 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-14 06:50:24 +00:00
Chris Allegretta ea066c8413 Added --enable-nanorc to configure
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@596 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-13 02:32:06 +00:00
Chris Allegretta 84de552b28 Added --disable-mouse option
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@595 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2001-04-12 14:51:48 +00:00