]> git.wh0rd.org Git - nano.git/log
nano.git
20 years agoset the associated function for unjustify to 0 instead of
David Lawrence Ramsey [Sun, 29 Feb 2004 20:07:14 +0000 (20:07 +0000)]
set the associated function for unjustify to 0 instead of
do_uncut_text(), since it's currently unused

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1676 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agofix typo
David Lawrence Ramsey [Sat, 28 Feb 2004 16:30:28 +0000 (16:30 +0000)]
fix typo

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1675 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoMartin Ehmsen's backup directory patch, with a few minor changes
David Lawrence Ramsey [Sat, 28 Feb 2004 16:24:31 +0000 (16:24 +0000)]
Martin Ehmsen's backup directory patch, with a few minor changes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1674 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd another blank line
David Lawrence Ramsey [Sat, 28 Feb 2004 02:08:15 +0000 (02:08 +0000)]
add another blank line

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1673 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agofix too-long line
David Lawrence Ramsey [Sat, 28 Feb 2004 01:58:21 +0000 (01:58 +0000)]
fix too-long line

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1672 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd blank line
David Lawrence Ramsey [Fri, 27 Feb 2004 20:50:01 +0000 (20:50 +0000)]
add blank line

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1671 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agodecouple the paragraph searching code and the justification code
David Lawrence Ramsey [Fri, 27 Feb 2004 18:54:04 +0000 (18:54 +0000)]
decouple the paragraph searching code and the justification code

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1670 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agominor cosmetic fixes
David Lawrence Ramsey [Fri, 27 Feb 2004 03:21:23 +0000 (03:21 +0000)]
minor cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1669 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoa few minor cleanups
David Lawrence Ramsey [Fri, 27 Feb 2004 03:06:28 +0000 (03:06 +0000)]
a few minor cleanups

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agominor comment fix
David Lawrence Ramsey [Thu, 26 Feb 2004 21:09:28 +0000 (21:09 +0000)]
minor comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1667 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agomove the leaveok() calls back to edit_refresh() from update_line()
David Lawrence Ramsey [Wed, 25 Feb 2004 06:25:12 +0000 (06:25 +0000)]
move the leaveok() calls back to edit_refresh() from update_line()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1666 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoremove the redundant filestat() and replace it with stat() in the one
David Lawrence Ramsey [Wed, 25 Feb 2004 04:43:27 +0000 (04:43 +0000)]
remove the redundant filestat() and replace it with stat() in the one
place it's called

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1665 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoand update the dates on the documentation
David Lawrence Ramsey [Wed, 25 Feb 2004 04:01:33 +0000 (04:01 +0000)]
and update the dates on the documentation

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1664 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoclarify the -T/--tabsize option in the documentation too
David Lawrence Ramsey [Wed, 25 Feb 2004 03:58:46 +0000 (03:58 +0000)]
clarify the -T/--tabsize option in the documentation too

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1663 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoclarify the description of -T/--tabsize a bit in usage(), and add extra
David Lawrence Ramsey [Wed, 25 Feb 2004 03:19:29 +0000 (03:19 +0000)]
clarify the description of -T/--tabsize a bit in usage(), and add extra
{}'s to sunder() and unsunder() to make them a bit easier to read

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1662 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoonly include time.h in winio.c if NANO_EXTRA is defined, since we only
David Lawrence Ramsey [Tue, 24 Feb 2004 20:48:12 +0000 (20:48 +0000)]
only include time.h in winio.c if NANO_EXTRA is defined, since we only
need it for nanosleep() in do_credits()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1661 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd DB's refactored search code and a few of his minor display code
David Lawrence Ramsey [Tue, 24 Feb 2004 20:41:39 +0000 (20:41 +0000)]
add DB's refactored search code and a few of his minor display code
changes, plus a few minor search and display fixes of mine

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1660 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoUpdated Malay translation by Sharuzzaman Ahmat Raslan.
Jordi Mallach [Tue, 24 Feb 2004 14:01:20 +0000 (14:01 +0000)]
Updated Malay translation by Sharuzzaman Ahmat Raslan.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1657 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agohandle pending sigwinches better, etc.
David Lawrence Ramsey [Mon, 16 Feb 2004 20:32:40 +0000 (20:32 +0000)]
handle pending sigwinches better, etc.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1652 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd more intuitive Meta-key aliases for ^W^W and ^W^O
David Lawrence Ramsey [Sat, 7 Feb 2004 05:03:25 +0000 (05:03 +0000)]
add more intuitive Meta-key aliases for ^W^W and ^W^O

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1651 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agofix comment inaccuracy
David Lawrence Ramsey [Sat, 7 Feb 2004 03:39:48 +0000 (03:39 +0000)]
fix comment inaccuracy

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1650 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agominor cosmetic fix
David Lawrence Ramsey [Sat, 7 Feb 2004 03:38:02 +0000 (03:38 +0000)]
minor cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1649 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoforgot a cast
David Lawrence Ramsey [Sat, 7 Feb 2004 03:07:01 +0000 (03:07 +0000)]
forgot a cast

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1648 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agomake the saving of marked status in open_files->file_flags work properly
David Lawrence Ramsey [Fri, 6 Feb 2004 21:20:05 +0000 (21:20 +0000)]
make the saving of marked status in open_files->file_flags work properly
again; a tweak to the ISSET() macro in 1.3.0 to make it only return 0 or
1 broke it

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1647 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoget_verbatim_kbinput() should use an int*, not a char*, for consistency
David Lawrence Ramsey [Fri, 6 Feb 2004 03:07:10 +0000 (03:07 +0000)]
get_verbatim_kbinput() should use an int*, not a char*, for consistency
with get_kbinput()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1646 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoone last minor comment fix
David Lawrence Ramsey [Tue, 3 Feb 2004 17:36:55 +0000 (17:36 +0000)]
one last minor comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1645 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agodon't allow verbatim input in view mode
David Lawrence Ramsey [Sun, 1 Feb 2004 06:27:59 +0000 (06:27 +0000)]
don't allow verbatim input in view mode

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1644 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agominor comment clarification
David Lawrence Ramsey [Sat, 31 Jan 2004 16:43:20 +0000 (16:43 +0000)]
minor comment clarification

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1643 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agofix minor FAQ inaccuracy
David Lawrence Ramsey [Fri, 30 Jan 2004 21:31:57 +0000 (21:31 +0000)]
fix minor FAQ inaccuracy

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1642 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoand switch to cbreak mode in handle_sigwinch() too
David Lawrence Ramsey [Fri, 30 Jan 2004 04:29:52 +0000 (04:29 +0000)]
and switch to cbreak mode in handle_sigwinch() too

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1641 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoset keypad() to TRUE in handle_sigwinch() in case we resize during
David Lawrence Ramsey [Fri, 30 Jan 2004 04:20:28 +0000 (04:20 +0000)]
set keypad() to TRUE in handle_sigwinch() in case we resize during
verbatim input, and fix backwards _POSIX_VDISABLE #ifdefs so that raw()
and cbreak() are called properly in get_verbatim_kbinput()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1640 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd function key alias for unjustify
David Lawrence Ramsey [Thu, 29 Jan 2004 04:16:23 +0000 (04:16 +0000)]
add function key alias for unjustify

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1639 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agouse raw mode in get_verbatim_kbinput(), so that we don't have to deal
David Lawrence Ramsey [Wed, 28 Jan 2004 18:21:21 +0000 (18:21 +0000)]
use raw mode in get_verbatim_kbinput(), so that we don't have to deal
with interrupt-generating keys there

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1638 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoset keypad() to FALSE while reading in verbatim input, to deal with a
David Lawrence Ramsey [Tue, 27 Jan 2004 07:12:47 +0000 (07:12 +0000)]
set keypad() to FALSE while reading in verbatim input, to deal with a
bit of xterm weirdness, and update a few keypad-related comments

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1637 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoactually block SIGQUIT in signal_init()
David Lawrence Ramsey [Mon, 26 Jan 2004 20:56:20 +0000 (20:56 +0000)]
actually block SIGQUIT in signal_init()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1636 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agocomment accuracy fix
David Lawrence Ramsey [Mon, 26 Jan 2004 20:18:52 +0000 (20:18 +0000)]
comment accuracy fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1635 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agominor capitalization fix
David Lawrence Ramsey [Sun, 25 Jan 2004 21:36:38 +0000 (21:36 +0000)]
minor capitalization fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1634 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd the ability to spell-check only marked text when the mark is on
David Lawrence Ramsey [Fri, 23 Jan 2004 19:34:03 +0000 (19:34 +0000)]
add the ability to spell-check only marked text when the mark is on

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1633 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd support for escape sequences for F1-F14 where conflicts don't occur
David Lawrence Ramsey [Fri, 23 Jan 2004 19:26:17 +0000 (19:26 +0000)]
add support for escape sequences for F1-F14 where conflicts don't occur
(and resurrect abcd() to make that job easier), additional comments, and
a few minor cosmetic cleanups

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1632 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoconsistency tweak for get_page_start()
David Lawrence Ramsey [Thu, 22 Jan 2004 07:25:31 +0000 (07:25 +0000)]
consistency tweak for get_page_start()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1631 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd explanatory comment to do_credits()
David Lawrence Ramsey [Mon, 19 Jan 2004 18:15:03 +0000 (18:15 +0000)]
add explanatory comment to do_credits()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1630 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agodon't use "kbinput = wgetch(win)" as a switch value in
David Lawrence Ramsey [Fri, 16 Jan 2004 19:12:46 +0000 (19:12 +0000)]
don't use "kbinput = wgetch(win)" as a switch value in
get_accepted_kbinput()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1629 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoand document my tweak to do_writeout() from before
David Lawrence Ramsey [Thu, 15 Jan 2004 16:08:42 +0000 (16:08 +0000)]
and document my tweak to do_writeout() from before

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1628 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd DB's fix for a do_replace_loop() segfault
David Lawrence Ramsey [Thu, 15 Jan 2004 05:47:03 +0000 (05:47 +0000)]
add DB's fix for a do_replace_loop() segfault

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1627 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agowrt DB's overhaul of the cutting code and related file-writing code:
David Lawrence Ramsey [Thu, 15 Jan 2004 05:12:41 +0000 (05:12 +0000)]
wrt DB's overhaul of the cutting code and related file-writing code:
document the changes to the latter (in write_file() and do_writeout())
in the Changelog; I stupidly forgot to do this before

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1626 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoremove other spurious "L"
David Lawrence Ramsey [Wed, 14 Jan 2004 22:45:05 +0000 (22:45 +0000)]
remove other spurious "L"

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1625 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoremove spurious "L"
David Lawrence Ramsey [Wed, 14 Jan 2004 22:40:38 +0000 (22:40 +0000)]
remove spurious "L"

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1624 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agouse nanosleep() instead of usleep(); the latter is only standard under
David Lawrence Ramsey [Wed, 14 Jan 2004 19:26:29 +0000 (19:26 +0000)]
use nanosleep() instead of usleep(); the latter is only standard under
BSD, whereas the former is POSIX compliant

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1623 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agotypo fix
David Lawrence Ramsey [Wed, 14 Jan 2004 16:51:06 +0000 (16:51 +0000)]
typo fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1622 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoif color support is enabled, we only need to call edit_refresh() to
David Lawrence Ramsey [Wed, 14 Jan 2004 06:38:00 +0000 (06:38 +0000)]
if color support is enabled, we only need to call edit_refresh() to
properly paint multi-line color regexes when COLOR_SYNTAX is set

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1621 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoon systems that need raw(), call it once instead of every time through
David Lawrence Ramsey [Mon, 12 Jan 2004 03:28:06 +0000 (03:28 +0000)]
on systems that need raw(), call it once instead of every time through
the input/output loop in main()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1620 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoremove a few more unneeded spaces
David Lawrence Ramsey [Sat, 10 Jan 2004 06:12:04 +0000 (06:12 +0000)]
remove a few more unneeded spaces

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1619 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agominor fixes for the README
David Lawrence Ramsey [Sat, 10 Jan 2004 06:02:05 +0000 (06:02 +0000)]
minor fixes for the README

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1618 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoBack to CVS
David Lawrence Ramsey [Fri, 9 Jan 2004 23:26:54 +0000 (23:26 +0000)]
Back to CVS

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1617 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoGNU nano 1.3.1 v1.3.1
David Lawrence Ramsey [Fri, 9 Jan 2004 23:22:02 +0000 (23:22 +0000)]
GNU nano 1.3.1

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1615 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoupdate the year in do_credits() too
David Lawrence Ramsey [Fri, 9 Jan 2004 23:06:54 +0000 (23:06 +0000)]
update the year in do_credits() too

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1614 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoupdate the copyright years on the source files to 2004 (adding a few
David Lawrence Ramsey [Fri, 9 Jan 2004 23:04:55 +0000 (23:04 +0000)]
update the copyright years on the source files to 2004 (adding a few
minor comment tweaks so that all the source files are covered)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1613 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoremove now-unnecessary initialization of kbinput in main()
David Lawrence Ramsey [Fri, 9 Jan 2004 22:38:09 +0000 (22:38 +0000)]
remove now-unnecessary initialization of kbinput in main()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1612 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd formatting and typo fixes for NEWS, and add version numbers (minus
David Lawrence Ramsey [Tue, 6 Jan 2004 17:12:28 +0000 (17:12 +0000)]
add formatting and typo fixes for NEWS, and add version numbers (minus
"-cvs" suffixes) to the manpages

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1611 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agominor comment fixes
David Lawrence Ramsey [Tue, 6 Jan 2004 01:45:04 +0000 (01:45 +0000)]
minor comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1610 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd verbatim input question and a few minor fixes to the faq
David Lawrence Ramsey [Mon, 5 Jan 2004 19:01:53 +0000 (19:01 +0000)]
add verbatim input question and a few minor fixes to the faq

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1609 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agofind all beginning-of-line and/or end-of-line regexes once per line, not
David Lawrence Ramsey [Sat, 3 Jan 2004 21:42:25 +0000 (21:42 +0000)]
find all beginning-of-line and/or end-of-line regexes once per line, not
just the zero-length ones; this fixes multiple replaces occurring with
them in conjunction with "*"

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1608 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoclean up a bit of weirdness in do_replace_loop()
David Lawrence Ramsey [Mon, 29 Dec 2003 02:15:23 +0000 (02:15 +0000)]
clean up a bit of weirdness in do_replace_loop()

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1606 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agocomment addition, minor cosmetic fixes
David Lawrence Ramsey [Sun, 28 Dec 2003 03:56:04 +0000 (03:56 +0000)]
comment addition, minor cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1605 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agotypo fix
David Lawrence Ramsey [Wed, 24 Dec 2003 21:47:28 +0000 (21:47 +0000)]
typo fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1603 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoand wrap the zero-length regex displaying code in a HAVE_REGEX_H #define
David Lawrence Ramsey [Wed, 24 Dec 2003 08:29:49 +0000 (08:29 +0000)]
and wrap the zero-length regex displaying code in a HAVE_REGEX_H #define

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1602 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agodisplay a highlighted space for zero-length regex matches, so that we
David Lawrence Ramsey [Wed, 24 Dec 2003 08:17:54 +0000 (08:17 +0000)]
display a highlighted space for zero-length regex matches, so that we
have a reference point when we're replacing them

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1601 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agoadd DB's overhaul of the cutting code and related file-writing code, his
David Lawrence Ramsey [Wed, 24 Dec 2003 08:03:54 +0000 (08:03 +0000)]
add DB's overhaul of the cutting code and related file-writing code, his
fixes to check_operating_dir(), and a few minor cleanups and fixes of
mine

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1600 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agothe last of the low-level input overhaul: make the global shortcut list
David Lawrence Ramsey [Wed, 24 Dec 2003 03:33:09 +0000 (03:33 +0000)]
the last of the low-level input overhaul: make the global shortcut list
use NANO_NO_KEY to represent no key value, add the NANO_HISTORY_KEY
sentinel value, add support for many more escape sequences for those
terminals that generate them, add DB's extensibility tweaks to
do_yesno(), make ASCII 128 act like Backspace when -d is used, add
various cleanups to the low-level input functions, and make the last of
the low-level input routines use the new low-level input functions

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1599 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

20 years agofix search/replace misbehaviors for good (I hope)
David Lawrence Ramsey [Wed, 24 Dec 2003 03:13:44 +0000 (03:13 +0000)]
fix search/replace misbehaviors for good (I hope)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1598 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agominor redundancy fix
David Lawrence Ramsey [Sun, 30 Nov 2003 02:22:22 +0000 (02:22 +0000)]
minor redundancy fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1597 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoanother low-level input overhaul: split out low-level mouse input,
David Lawrence Ramsey [Fri, 28 Nov 2003 19:47:42 +0000 (19:47 +0000)]
another low-level input overhaul: split out low-level mouse input,
remove references to ncurses key values from the global shortcut list
and restructure it to specify function key values when needed, hook up
verbatim input to the edit window, and do a few miscellaneous cleanups

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1596 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoreplace the old fix for infinite regex replacement loops with something
David Lawrence Ramsey [Fri, 28 Nov 2003 16:04:24 +0000 (16:04 +0000)]
replace the old fix for infinite regex replacement loops with something
that works better and is less hackish

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1595 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoUpdated Romanian translation by Laurentiu Buzdugan.
Jordi Mallach [Tue, 25 Nov 2003 11:30:05 +0000 (11:30 +0000)]
Updated Romanian translation by Laurentiu Buzdugan.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1594 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoadd check for glib 2.x
David Lawrence Ramsey [Thu, 20 Nov 2003 00:15:52 +0000 (00:15 +0000)]
add check for glib 2.x

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1592 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agominor tabbing fix
David Lawrence Ramsey [Thu, 20 Nov 2003 00:14:16 +0000 (00:14 +0000)]
minor tabbing fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1591 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agodon't prompt if we're saving only a selection of a file under a
David Lawrence Ramsey [Wed, 19 Nov 2003 23:59:14 +0000 (23:59 +0000)]
don't prompt if we're saving only a selection of a file under a
different name

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1590 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoAdded Danilo Segan (Serbian).
Jordi Mallach [Thu, 6 Nov 2003 10:47:44 +0000 (10:47 +0000)]
Added Danilo Segan (Serbian).

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1589 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoAdded Serbian translation (Danilo Segan).
Jordi Mallach [Thu, 6 Nov 2003 10:39:38 +0000 (10:39 +0000)]
Added Serbian translation (Danilo Segan).
Recoded ChangeLog to UTF-8.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1586 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agominor cosmetic fixes
David Lawrence Ramsey [Wed, 5 Nov 2003 22:04:08 +0000 (22:04 +0000)]
minor cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1585 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoupdate nano.spec.in for the 1.3 branch
David Lawrence Ramsey [Tue, 4 Nov 2003 18:34:44 +0000 (18:34 +0000)]
update nano.spec.in for the 1.3 branch

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1584 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agowork around problem with Backspace's generating ASCII 127 on Linux
David Lawrence Ramsey [Tue, 4 Nov 2003 18:32:35 +0000 (18:32 +0000)]
work around problem with Backspace's generating ASCII 127 on Linux
sometimes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1583 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoallow WHEREIS_NEXT_KEY to be used in view mode
David Lawrence Ramsey [Mon, 3 Nov 2003 00:13:21 +0000 (00:13 +0000)]
allow WHEREIS_NEXT_KEY to be used in view mode

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1582 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoprompt before saving the current file under a different name
David Lawrence Ramsey [Fri, 31 Oct 2003 17:58:44 +0000 (17:58 +0000)]
prompt before saving the current file under a different name

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1581 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoavoid infinite loop when doing a forward regex replace of "$"
David Lawrence Ramsey [Fri, 31 Oct 2003 17:53:38 +0000 (17:53 +0000)]
avoid infinite loop when doing a forward regex replace of "$"

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1580 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoPatch from Martin-Eric Racine <q-funk@pp.fishpool.fi> to accept "Yy" and "Nn" as...
Jordi Mallach [Thu, 30 Oct 2003 13:10:32 +0000 (13:10 +0000)]
Patch from Martin-Eric Racine <q-funk@pp.fishpool.fi> to accept "Yy" and "Nn" as well as the Finnish letters in Yes/No prompts.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1579 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoBack to CVS
David Lawrence Ramsey [Thu, 23 Oct 2003 01:09:43 +0000 (01:09 +0000)]
Back to CVS

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1577 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoGNU nano 1.3.0 v1.3.0
David Lawrence Ramsey [Wed, 22 Oct 2003 17:15:12 +0000 (17:15 +0000)]
GNU nano 1.3.0

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1575 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agominor comment fix
David Lawrence Ramsey [Wed, 22 Oct 2003 16:27:18 +0000 (16:27 +0000)]
minor comment fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1574 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoavoid having duplicate case values when some key values are missing
David Lawrence Ramsey [Wed, 22 Oct 2003 16:20:47 +0000 (16:20 +0000)]
avoid having duplicate case values when some key values are missing
(assume ERR is -1 when doing so)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1573 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agodocument the setting of EXTRA_DIST
David Lawrence Ramsey [Wed, 22 Oct 2003 15:37:13 +0000 (15:37 +0000)]
document the setting of EXTRA_DIST

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1572 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoset EXTRA_DIST so that 'make dist" and "make distcheck" actually include
David Lawrence Ramsey [Wed, 22 Oct 2003 15:36:15 +0000 (15:36 +0000)]
set EXTRA_DIST so that 'make dist" and "make distcheck" actually include
the manual pages and their HTML versions

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1571 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoCreate html manpages when building nano.
Jordi Mallach [Sun, 19 Oct 2003 23:30:48 +0000 (23:30 +0000)]
Create html manpages when building nano.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1570 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoSunOS 5.9 doesn't define KEY_RESIZE either
David Lawrence Ramsey [Sat, 18 Oct 2003 20:21:52 +0000 (20:21 +0000)]
SunOS 5.9 doesn't define KEY_RESIZE either

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1569 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoUpdated Catalan translation.
Jordi Mallach [Sat, 18 Oct 2003 10:59:55 +0000 (10:59 +0000)]
Updated Catalan translation.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1568 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoChangelog update: fix problem with KEY_RESIZE's not being defined on
David Lawrence Ramsey [Fri, 10 Oct 2003 04:42:48 +0000 (04:42 +0000)]
Changelog update: fix problem with KEY_RESIZE's not being defined on
SunOS 5.7 and 5.8

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1567 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agofix problem with KEY_RESIZE's not being defined on SunOS 5.7 and 5.8
David Lawrence Ramsey [Fri, 10 Oct 2003 04:38:17 +0000 (04:38 +0000)]
fix problem with KEY_RESIZE's not being defined on SunOS 5.7 and 5.8

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1566 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agomiscellaneous #define cleanups
David Lawrence Ramsey [Fri, 3 Oct 2003 20:26:25 +0000 (20:26 +0000)]
miscellaneous #define cleanups

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1565 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agofix problems with the marking highlight's being drawn improperly in some
David Lawrence Ramsey [Fri, 3 Oct 2003 04:20:28 +0000 (04:20 +0000)]
fix problems with the marking highlight's being drawn improperly in some
cases

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1564 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

21 years agoadd missing set of parentheses
David Lawrence Ramsey [Tue, 30 Sep 2003 03:31:56 +0000 (03:31 +0000)]
add missing set of parentheses

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1563 35c25a1d-7b9e-4130-9fde-d3aeb78583b8