]> git.wh0rd.org Git - nano.git/log
nano.git
20 years agoDB's changes to do_delete(), and a few more minor bits
David Lawrence Ramsey [Mon, 19 Apr 2004 02:44:13 +0000 (02:44 +0000)]
DB's changes to do_delete(), and a few more minor bits

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

20 years agoremove apparently unneeded leaveok() calls per DB's patch, and make a
David Lawrence Ramsey [Fri, 16 Apr 2004 05:15:11 +0000 (05:15 +0000)]
remove apparently unneeded leaveok() calls per DB's patch, and make a
few cosmetic cleanups

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

20 years agofix debugging output in get_verbatim_kbinput()
David Lawrence Ramsey [Thu, 15 Apr 2004 06:15:55 +0000 (06:15 +0000)]
fix debugging output in get_verbatim_kbinput()

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

20 years agowrong place; signal_init() should be called after the input mode (cbreak
David Lawrence Ramsey [Wed, 7 Apr 2004 01:07:50 +0000 (01:07 +0000)]
wrong place; signal_init() should be called after the input mode (cbreak
or raw) is set in order to work properly; also clarify related comments

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

20 years agothe signal_init() should be called before the other input mode-changing
David Lawrence Ramsey [Wed, 7 Apr 2004 00:51:41 +0000 (00:51 +0000)]
the signal_init() should be called before the other input mode-changing
code in handle_sigwinch()

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

20 years agomake sure the special control keys are handled the same way after a
David Lawrence Ramsey [Wed, 7 Apr 2004 00:44:35 +0000 (00:44 +0000)]
make sure the special control keys are handled the same way after a
continue or a window resize

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

20 years agomiscellaneous fixes
David Lawrence Ramsey [Mon, 5 Apr 2004 01:08:14 +0000 (01:08 +0000)]
miscellaneous fixes

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

20 years agoBack to CVS
David Lawrence Ramsey [Wed, 31 Mar 2004 18:53:07 +0000 (18:53 +0000)]
Back to CVS

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

20 years agoGNU nano 1.3.2 v1.3.2
David Lawrence Ramsey [Wed, 31 Mar 2004 18:42:52 +0000 (18:42 +0000)]
GNU nano 1.3.2

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

20 years agominor tweaks; also remove the need for the JUSTIFY_MODE flag
David Lawrence Ramsey [Tue, 30 Mar 2004 04:17:10 +0000 (04:17 +0000)]
minor tweaks; also remove the need for the JUSTIFY_MODE flag

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

20 years agofix error in changelog and add missing size_t cast
David Lawrence Ramsey [Mon, 29 Mar 2004 23:09:08 +0000 (23:09 +0000)]
fix error in changelog and add missing size_t cast

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

20 years agoset the input mode before turning the keypad on, and don't turn the
David Lawrence Ramsey [Mon, 29 Mar 2004 18:36:39 +0000 (18:36 +0000)]
set the input mode before turning the keypad on, and don't turn the
keypad on in a window before that window's initialized (oddly, ncurses
didn't segfault on the latter, but slang did)

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

20 years agominor bits
David Lawrence Ramsey [Fri, 19 Mar 2004 21:57:56 +0000 (21:57 +0000)]
minor bits

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

20 years agorename a few variables and make a few cosmetic cleanups
David Lawrence Ramsey [Fri, 19 Mar 2004 21:46:34 +0000 (21:46 +0000)]
rename a few variables and make a few cosmetic cleanups

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

20 years agofix entry
David Lawrence Ramsey [Fri, 19 Mar 2004 20:47:57 +0000 (20:47 +0000)]
fix entry

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

20 years agoavoid any more editbot-related segfaults by removing the last of the
David Lawrence Ramsey [Fri, 19 Mar 2004 02:15:42 +0000 (02:15 +0000)]
avoid any more editbot-related segfaults by removing the last of the
references to it, as in DB's patch

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

20 years agotypo fix
David Lawrence Ramsey [Fri, 19 Mar 2004 01:35:57 +0000 (01:35 +0000)]
typo fix

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

20 years agofix potential memory corruption problems caused by passing answer in as
David Lawrence Ramsey [Mon, 15 Mar 2004 20:26:30 +0000 (20:26 +0000)]
fix potential memory corruption problems caused by passing answer in as
the value of def in statusq(), etc.

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

20 years agorevert the Meta-P and Meta-N aliases for the paragraph searches for now;
David Lawrence Ramsey [Mon, 15 Mar 2004 20:03:01 +0000 (20:03 +0000)]
revert the Meta-P and Meta-N aliases for the paragraph searches for now;
Meta-P was being interpreted as such even when it was used for the
Prepend toggle at the writeout prompt

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

20 years agoadd DB's similar simplification of do_prev_word() too
David Lawrence Ramsey [Sun, 14 Mar 2004 01:42:17 +0000 (01:42 +0000)]
add DB's similar simplification of do_prev_word() too

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

20 years agoadd DB's patch to simplify do_next_word() and remove references to
David Lawrence Ramsey [Sat, 13 Mar 2004 19:42:58 +0000 (19:42 +0000)]
add DB's patch to simplify do_next_word() and remove references to
editbot in it so as to avoid a segfault

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

20 years agominor bits
David Lawrence Ramsey [Thu, 11 Mar 2004 02:20:25 +0000 (02:20 +0000)]
minor bits

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

20 years agominor comment fix
David Lawrence Ramsey [Mon, 8 Mar 2004 19:53:11 +0000 (19:53 +0000)]
minor comment fix

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

20 years agofix error I made when porting over DB's refactored search code: the
David Lawrence Ramsey [Sun, 7 Mar 2004 21:16:18 +0000 (21:16 +0000)]
fix error I made when porting over DB's refactored search code: the
strstr() call used in forward case-sensitive searches was using the
wrong variable, which made all such searches fail

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

20 years agochange instances of "int main ()" to "int main(void)"
David Lawrence Ramsey [Sun, 7 Mar 2004 15:14:56 +0000 (15:14 +0000)]
change instances of "int main ()" to "int main(void)"

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

20 years agoremove trailing space
David Lawrence Ramsey [Fri, 5 Mar 2004 20:47:15 +0000 (20:47 +0000)]
remove trailing space

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

20 years agowrap one reference to NANO_EXTCMD_KEY in a NANO_SMALL #ifdef
David Lawrence Ramsey [Fri, 5 Mar 2004 20:04:44 +0000 (20:04 +0000)]
wrap one reference to NANO_EXTCMD_KEY in a NANO_SMALL #ifdef

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

20 years agominor comment fix
David Lawrence Ramsey [Fri, 5 Mar 2004 19:54:58 +0000 (19:54 +0000)]
minor comment fix

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

20 years agoremove redundant line
David Lawrence Ramsey [Fri, 5 Mar 2004 03:14:52 +0000 (03:14 +0000)]
remove redundant line

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

20 years agoTODO update: clarify the paragraph searching item, and add item for
David Lawrence Ramsey [Thu, 4 Mar 2004 23:48:26 +0000 (23:48 +0000)]
TODO update: clarify the paragraph searching item, and add item for
filename searches in the file browser

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

20 years agoadd function key aliases for NANO_FIRSTLINE_KEY and NANO_LASTLINE_KEY,
David Lawrence Ramsey [Thu, 4 Mar 2004 19:30:53 +0000 (19:30 +0000)]
add function key aliases for NANO_FIRSTLINE_KEY and NANO_LASTLINE_KEY,
and make sure statusbar input handles both them and NANO_HELP_FKEY
properly

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

20 years agoTom Bates' nsr-tandem-nsk port, plus a few tweaks of mine, take 2
David Lawrence Ramsey [Thu, 4 Mar 2004 06:33:52 +0000 (06:33 +0000)]
Tom Bates' nsr-tandem-nsk port, plus a few tweaks of mine, take 2
(according to comments, including floss.h in nano.h does work)

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

20 years agorevert the tweaked nsr-tandem-nsk port for now, pending further comment
David Lawrence Ramsey [Wed, 3 Mar 2004 06:00:22 +0000 (06:00 +0000)]
revert the tweaked nsr-tandem-nsk port for now, pending further comment

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

20 years agominor capitalization fixes
David Lawrence Ramsey [Wed, 3 Mar 2004 01:25:46 +0000 (01:25 +0000)]
minor capitalization fixes

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

20 years agocosmetic #ifdef tweak
David Lawrence Ramsey [Tue, 2 Mar 2004 22:52:57 +0000 (22:52 +0000)]
cosmetic #ifdef tweak

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

20 years agoTom Bates' nsr-tandem-nsk port, plus a few tweaks of mine
David Lawrence Ramsey [Tue, 2 Mar 2004 21:31:31 +0000 (21:31 +0000)]
Tom Bates' nsr-tandem-nsk port, plus a few tweaks of mine

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

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