]>
git.wh0rd.org Git - nano.git/log
David Lawrence Ramsey [Sat, 29 May 2004 17:05:52 +0000 (17:05 +0000)]
add a few comment fixes and an explicit check in rcfile.c for
rcopts[i].name's being "tabsize" (to avoid a spurious error under some
circumstances about tabsize's being 0 when there's no tabsize entry in
the rcfile)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1785
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 29 May 2004 16:47:52 +0000 (16:47 +0000)]
a few last cosmetic reorderings and fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1784
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 29 May 2004 16:38:57 +0000 (16:38 +0000)]
allow the changing of closing punctuation and closing brackets (used in
justification) via the rcfile
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1783
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 29 May 2004 16:25:30 +0000 (16:25 +0000)]
add Mike Frysinger's patch (with minor modifications) to allow
displaying other characters, specified in the rcfile, for the first
characters of tabs and spaces
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1782
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 29 May 2004 15:36:58 +0000 (15:36 +0000)]
since KEEP_CUTBUFFER is only used in cut.c, make it a static variable in
cut.c instead of a flag, and unset it in other files via the new
function cutbuffer_reset()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1781
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 29 May 2004 14:13:02 +0000 (14:13 +0000)]
fix minor omission: the smarthome option was documented in nanorc.5 as
well as nano.1
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1780
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 29 May 2004 03:03:52 +0000 (03:03 +0000)]
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1779
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 29 May 2004 01:20:17 +0000 (01:20 +0000)]
add some comments better explaining what is disabled in restricted mode
and why
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1778
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 28 May 2004 23:45:25 +0000 (23:45 +0000)]
don't bother initializing the backup directory or reading $SPELL for the
alternative spell checker if we're in restricted mode, since both
backups and spell checking are disabled then
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1777
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 28 May 2004 22:42:41 +0000 (22:42 +0000)]
check $SPELL for an alternative spell checker if we didn't get one from
the command line and/or rcfile, as Pico does
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1776
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 28 May 2004 21:02:32 +0000 (21:02 +0000)]
add missing cast to char
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1775
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 28 May 2004 20:44:09 +0000 (20:44 +0000)]
overhaul the routines for movement and related things to eliminate
unneeded screen redraws
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1774
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 28 May 2004 17:23:33 +0000 (17:23 +0000)]
refactor the low-level input routines into main routines that get the
input and state machines that interpret the input
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1773
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 28 May 2004 15:05:56 +0000 (15:05 +0000)]
add code to statusq() to *really* not allow "Full Justify" while in view
mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1772
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 28 May 2004 14:42:50 +0000 (14:42 +0000)]
fix problems caused by cut and paste of the do_para_end() shortcut for
the do_full_justify() shortcut: don't allow the latter to work in view
mode, and have it display its own message instead of the do_para_end()
shortcut's message
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1771
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Fri, 28 May 2004 00:15:28 +0000 (00:15 +0000)]
make write_marked() always call write_file() with nonamechange set to
TRUE (and hence no longer take a namechange parameter itself) to fix a
bug where writing a selection would change the current filename, and
make die_save_file() do the same since we don't need to change the
current filename if we're writing emergency backup files
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1770
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 27 May 2004 20:09:52 +0000 (20:09 +0000)]
add DB's tweaks to do_enter() and remove the now-unused center_cursor()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1769
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 27 May 2004 18:39:16 +0000 (18:39 +0000)]
treat search_last_line as a boolean everywhere, and remove some unneeded
trailing spaces
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1768
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 25 May 2004 23:34:43 +0000 (23:34 +0000)]
properly account for padding in titlebar()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1767
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 25 May 2004 19:41:11 +0000 (19:41 +0000)]
per DB's patch, make finish() accept and return void, since none of the
calls to finish() set sigage to anything other than 0 or use its return
value
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1766
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 25 May 2004 02:33:27 +0000 (02:33 +0000)]
cosmetic fix: reorder enums
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1765
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 25 May 2004 01:49:58 +0000 (01:49 +0000)]
per DB's patch, also remove the now-unused center_cursor()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1764
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 May 2004 19:47:08 +0000 (19:47 +0000)]
per DB's patch, remove the now-unused edit_refresh_clearok()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1763
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 May 2004 18:40:41 +0000 (18:40 +0000)]
comment fixes for consistency: "Meta" -> "meta"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1762
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 May 2004 05:52:35 +0000 (05:52 +0000)]
convert do_para_search() to use an enum to specify its search type
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1761
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 May 2004 05:05:07 +0000 (05:05 +0000)]
comment fix for consistency: "magic line" -> "magicline"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1760
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 May 2004 02:58:05 +0000 (02:58 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1759
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 24 May 2004 02:35:02 +0000 (02:35 +0000)]
switch test around in do_prev_word() for consistency with do_next_word()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1758
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 23 May 2004 21:33:23 +0000 (21:33 +0000)]
move do_(first|last)_line() to move.c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1757
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 23 May 2004 21:23:23 +0000 (21:23 +0000)]
comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1756
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 23 May 2004 21:17:56 +0000 (21:17 +0000)]
add missing bit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1755
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sun, 23 May 2004 21:11:14 +0000 (21:11 +0000)]
add DB's changes to titlebar() (with a few tweaks of mine) to make it
handle shorter screen widths better and display the filename using
display_string(), my strnlen() equivalent so the new titlebar() will
work on systems without strnlen(), and a few of DB's other minor changes
to make other display-related functions handle shorter screen widths
better, among other things
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1754
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 22 May 2004 20:38:33 +0000 (20:38 +0000)]
cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1753
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 22 May 2004 20:19:15 +0000 (20:19 +0000)]
add missing #ifdefs around prototypes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1752
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Sat, 22 May 2004 20:15:20 +0000 (20:15 +0000)]
add smart home key
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1751
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 20 May 2004 14:31:15 +0000 (14:31 +0000)]
comment fix: justify_format() could have just left out a space at the
end of the line instead of removing it
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1750
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Thu, 20 May 2004 03:29:33 +0000 (03:29 +0000)]
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1749
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 May 2004 16:04:27 +0000 (16:04 +0000)]
go back to cbreak mode and disable_signals() instead of raw mode, as
disable_signals() doesn't take up much space and we need one fewer slang
workaround that way
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1748
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Wed, 19 May 2004 15:41:17 +0000 (15:41 +0000)]
comment fix: ^J should be Ctrl-J
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1747
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 May 2004 15:23:31 +0000 (15:23 +0000)]
add missing bit from DB's refactoring of do_credits(): translate the
messages in xlcredits[] after they're initialized in order to avoid an
error when compiling with -pedantic
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1746
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Tue, 18 May 2004 01:20:36 +0000 (01:20 +0000)]
minor overhaul of terminal-related things
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1745
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
David Lawrence Ramsey [Mon, 17 May 2004 20:38:00 +0000 (20:38 +0000)]
and remove unneccessary initialization
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1744
35c25a1d -7b9e-4130-9fde-
d3aeb78583b8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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