]> git.wh0rd.org Git - nano.git/log
nano.git
20 years agotweak justification so that it works the same way as the current version
David Lawrence Ramsey [Mon, 17 May 2004 20:32:51 +0000 (20:32 +0000)]
tweak justification so that it works the same way as the current version
of Pico does

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

20 years agoremove some unneeded edit_update()s in do_para_search() and do_justify()
David Lawrence Ramsey [Mon, 17 May 2004 16:11:18 +0000 (16:11 +0000)]
remove some unneeded edit_update()s in do_para_search() and do_justify()
per DB's patch, and simplify an if statement in do_justify()

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

20 years agoif multibuffer support is compiled in, properly read in multiple files
David Lawrence Ramsey [Fri, 14 May 2004 17:57:00 +0000 (17:57 +0000)]
if multibuffer support is compiled in, properly read in multiple files
at the command line even if multibuffer mode isn't turned on

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

20 years agoin main(), don't open the first file in quiet mode, since if we do, an
David Lawrence Ramsey [Fri, 14 May 2004 17:39:19 +0000 (17:39 +0000)]
in main(), don't open the first file in quiet mode, since if we do, an
error message won't be shown if it's unreadable

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

20 years agoone last comment fix
David Lawrence Ramsey [Fri, 14 May 2004 03:50:49 +0000 (03:50 +0000)]
one last comment fix

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

20 years agothe last of the minor fixes
David Lawrence Ramsey [Fri, 14 May 2004 01:17:25 +0000 (01:17 +0000)]
the last of the minor fixes

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

20 years agocomment fix
David Lawrence Ramsey [Thu, 13 May 2004 23:19:01 +0000 (23:19 +0000)]
comment fix

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

20 years agoone last minor cosmetic change
David Lawrence Ramsey [Thu, 13 May 2004 23:05:14 +0000 (23:05 +0000)]
one last minor cosmetic change

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

20 years agominor cosmetic fixes
David Lawrence Ramsey [Thu, 13 May 2004 22:23:58 +0000 (22:23 +0000)]
minor cosmetic fixes

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

20 years agominor cosmetic fixes
David Lawrence Ramsey [Thu, 13 May 2004 18:04:31 +0000 (18:04 +0000)]
minor cosmetic fixes

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

20 years agoreformat the test programs in configure.ac to be on multiple lines for
David Lawrence Ramsey [Thu, 13 May 2004 17:46:57 +0000 (17:46 +0000)]
reformat the test programs in configure.ac to be on multiple lines for
greater readability, and remove unnecessary inclusion of stdio.h in the
slang tests

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

20 years agoadd support for Pico's ability to justify the entire file at once ("full
David Lawrence Ramsey [Thu, 13 May 2004 17:28:03 +0000 (17:28 +0000)]
add support for Pico's ability to justify the entire file at once ("full
justify", accessible via ^W^J)

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

20 years agoadd isblank() equivalent and use it instead of checking for (tab or
David Lawrence Ramsey [Thu, 13 May 2004 17:19:54 +0000 (17:19 +0000)]
add isblank() equivalent and use it instead of checking for (tab or
space) all over the code, properly detect whether we have strcasestr()
and only use nstristr() if we don't, and bump up CVS build requirements
to account for setting _GNU_SOURCE when running the test programs for
both

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

20 years agonanorc.sample updates: add missing mouse entry, and add backupdir and
David Lawrence Ramsey [Sat, 8 May 2004 00:06:15 +0000 (00:06 +0000)]
nanorc.sample updates: add missing mouse entry, and add backupdir and
mouse entries to the nanorc sample regexes

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

20 years agofix more info page inaccuracies
David Lawrence Ramsey [Fri, 7 May 2004 18:00:20 +0000 (18:00 +0000)]
fix more info page inaccuracies

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

20 years agodisable "Where Is Next" in tiny mode
David Lawrence Ramsey [Wed, 5 May 2004 21:36:50 +0000 (21:36 +0000)]
disable "Where Is Next" in tiny mode

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

20 years agofix minor inconsistency
David Lawrence Ramsey [Sat, 1 May 2004 04:13:06 +0000 (04:13 +0000)]
fix minor inconsistency

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

20 years agoclarifications to comments explaining exactly what control characters
David Lawrence Ramsey [Sat, 1 May 2004 01:21:38 +0000 (01:21 +0000)]
clarifications to comments explaining exactly what control characters
and escape sequences are supported

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

20 years agoadd DB's overhaul of regexp_init() and a few other regex-related bits,
David Lawrence Ramsey [Fri, 30 Apr 2004 19:40:03 +0000 (19:40 +0000)]
add DB's overhaul of regexp_init() and a few other regex-related bits,
and convert REGEXP_COMPILED to a static int in search.c, since it's only
used there

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

20 years agoadd restricted mode, per IO ERROR's patch
David Lawrence Ramsey [Fri, 30 Apr 2004 04:49:02 +0000 (04:49 +0000)]
add restricted mode, per IO ERROR's patch

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

20 years agoin edit_add(), do minor cosmetic reformatting and remove unused int
David Lawrence Ramsey [Thu, 29 Apr 2004 06:30:36 +0000 (06:30 +0000)]
in edit_add(), do minor cosmetic reformatting and remove unused int
searched_later_lines

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

20 years agoremove another unused prototype
David Lawrence Ramsey [Wed, 28 Apr 2004 21:49:30 +0000 (21:49 +0000)]
remove another unused prototype

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

20 years agospell Christian Weisgerber's name right
David Lawrence Ramsey [Tue, 27 Apr 2004 21:06:11 +0000 (21:06 +0000)]
spell Christian Weisgerber's name right

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

20 years agouse napms() instead of nanosleep(), as it does the same thing (aside
David Lawrence Ramsey [Sat, 24 Apr 2004 18:30:23 +0000 (18:30 +0000)]
use napms() instead of nanosleep(), as it does the same thing (aside
from taking an argument in milliseconds instead of microseconds) and
curses includes it

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

20 years agowork around the NumLock glitch
David Lawrence Ramsey [Fri, 23 Apr 2004 18:02:37 +0000 (18:02 +0000)]
work around the NumLock glitch

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

20 years agomake the verbatim and escape sequence input routines use size_t's to
David Lawrence Ramsey [Thu, 22 Apr 2004 03:41:04 +0000 (03:41 +0000)]
make the verbatim and escape sequence input routines use size_t's to
hold lengths, and use a properly cast nrealloc() instead of an uncast
realloc() in the former

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

20 years agocosmetic changelog fix
David Lawrence Ramsey [Wed, 21 Apr 2004 23:04:55 +0000 (23:04 +0000)]
cosmetic changelog fix

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

20 years agoa few more minor cleanups
David Lawrence Ramsey [Wed, 21 Apr 2004 22:25:16 +0000 (22:25 +0000)]
a few more minor cleanups

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

20 years agofix info page inaccuracies
David Lawrence Ramsey [Tue, 20 Apr 2004 19:19:21 +0000 (19:19 +0000)]
fix info page inaccuracies

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

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