David Lawrence Ramsey
7097d7b6d2
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
2004-05-17 16:11:18 +00:00
David Lawrence Ramsey
1d43db879e
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
2004-05-14 17:57:00 +00:00
David Lawrence Ramsey
97133f5963
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
2004-05-14 17:39:19 +00:00
David Lawrence Ramsey
fda18c3935
one last comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1738 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-14 03:50:49 +00:00
David Lawrence Ramsey
d4693cb0be
the last of the minor fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1737 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-14 01:17:25 +00:00
David Lawrence Ramsey
021960dfb7
comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1736 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-13 23:19:01 +00:00
David Lawrence Ramsey
68a44a4905
one last minor cosmetic change
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1735 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-13 23:05:14 +00:00
David Lawrence Ramsey
f613ca78c6
minor cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1734 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-13 22:23:58 +00:00
David Lawrence Ramsey
94e7094cee
minor cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1733 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-13 18:04:31 +00:00
David Lawrence Ramsey
8d3e7f3217
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
2004-05-13 17:28:03 +00:00
David Lawrence Ramsey
9830d7500f
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
2004-05-13 17:19:54 +00:00
David Lawrence Ramsey
5aa39834aa
disable "Where Is Next" in tiny mode
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1727 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-05 21:36:50 +00:00
David Lawrence Ramsey
a849ab12ea
fix minor inconsistency
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1726 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-01 04:13:06 +00:00
David Lawrence Ramsey
0381c2199d
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
2004-05-01 01:21:38 +00:00
David Lawrence Ramsey
4b741b9c7b
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
2004-04-30 19:40:03 +00:00
David Lawrence Ramsey
d893fa946d
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
2004-04-30 04:49:02 +00:00
David Lawrence Ramsey
e5b2f83031
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
2004-04-29 06:30:36 +00:00
David Lawrence Ramsey
d62b63492a
remove another unused prototype
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1721 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-04-28 21:49:30 +00:00
David Lawrence Ramsey
dc35cb8e16
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
2004-04-24 18:30:23 +00:00
David Lawrence Ramsey
0a25808f34
work around the NumLock glitch
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1718 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-04-23 18:02:37 +00:00
David Lawrence Ramsey
805547fed0
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
2004-04-22 03:41:04 +00:00
David Lawrence Ramsey
f38230ae6d
a few more minor cleanups
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1715 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-04-21 22:25:16 +00:00
David Lawrence Ramsey
604caf3d6c
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
2004-04-19 02:44:13 +00:00
David Lawrence Ramsey
07d3febe1b
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
2004-04-16 05:15:11 +00:00
David Lawrence Ramsey
e1e7cb250e
fix debugging output in get_verbatim_kbinput()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1711 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-04-15 06:15:55 +00:00
David Lawrence Ramsey
edc1ea4c16
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
2004-04-07 01:07:50 +00:00
David Lawrence Ramsey
d7db0a6dbf
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
2004-04-07 00:51:41 +00:00
David Lawrence Ramsey
5520e85ee4
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
2004-04-07 00:44:35 +00:00
David Lawrence Ramsey
a3370c4232
miscellaneous fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1707 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-04-05 01:08:14 +00:00
David Lawrence Ramsey
44e7f82e0e
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
2004-03-30 04:17:10 +00:00
David Lawrence Ramsey
0b047c561d
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
2004-03-29 23:09:08 +00:00
David Lawrence Ramsey
ce991bb3ad
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
2004-03-29 18:36:39 +00:00
David Lawrence Ramsey
fd1768a902
minor bits
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1700 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-19 21:57:56 +00:00
David Lawrence Ramsey
1576d537a6
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
2004-03-19 21:46:34 +00:00
David Lawrence Ramsey
b977515bd7
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
2004-03-19 02:15:42 +00:00
David Lawrence Ramsey
6aec4b85e6
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
2004-03-15 20:26:30 +00:00
David Lawrence Ramsey
dc10ecbbd6
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
2004-03-15 20:03:01 +00:00
David Lawrence Ramsey
b6aa42864e
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
2004-03-14 01:42:17 +00:00
David Lawrence Ramsey
bf3c93e268
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
2004-03-13 19:42:58 +00:00
David Lawrence Ramsey
c6908f28b7
minor bits
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1691 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-11 02:20:25 +00:00
David Lawrence Ramsey
58924035c8
minor comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1690 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-08 19:53:11 +00:00
David Lawrence Ramsey
2a464cb07d
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
2004-03-07 21:16:18 +00:00
David Lawrence Ramsey
221ebcdf70
remove trailing space
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1687 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-05 20:47:15 +00:00
David Lawrence Ramsey
da35251e98
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
2004-03-05 20:04:44 +00:00
David Lawrence Ramsey
a9cd41c42d
minor comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1685 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-05 19:54:58 +00:00
David Lawrence Ramsey
37be3edebc
remove redundant line
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1684 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-05 03:14:52 +00:00
David Lawrence Ramsey
d7f5ad9786
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
2004-03-04 19:30:53 +00:00
David Lawrence Ramsey
a619ae69bf
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
2004-03-04 06:33:52 +00:00
David Lawrence Ramsey
8911e235ba
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
2004-03-03 06:00:22 +00:00
David Lawrence Ramsey
ea43a1dbca
cosmetic #ifdef tweak
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1678 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-02 22:52:57 +00:00
David Lawrence Ramsey
b34c683f3f
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
2004-03-02 21:31:31 +00:00
David Lawrence Ramsey
ba7b1681a2
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
2004-02-29 20:07:14 +00:00
David Lawrence Ramsey
04e42a6bcc
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
2004-02-28 16:24:31 +00:00
David Lawrence Ramsey
6a2877d399
add another blank line
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1673 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-28 02:08:15 +00:00
David Lawrence Ramsey
807681ac7e
add blank line
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1671 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-27 20:50:01 +00:00
David Lawrence Ramsey
281e0563c6
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
2004-02-27 18:54:04 +00:00
David Lawrence Ramsey
95b7bdbdb0
minor cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1669 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-27 03:21:23 +00:00
David Lawrence Ramsey
24ae56cd4b
a few minor cleanups
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1668 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-27 03:06:28 +00:00
David Lawrence Ramsey
60b942c64f
minor comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1667 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-26 21:09:28 +00:00
David Lawrence Ramsey
b55e382dfc
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
2004-02-25 06:25:12 +00:00
David Lawrence Ramsey
3af54d3ff5
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
2004-02-25 04:43:27 +00:00
David Lawrence Ramsey
a7c9364641
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
2004-02-25 03:19:29 +00:00
David Lawrence Ramsey
f5300af90a
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
2004-02-24 20:48:12 +00:00
David Lawrence Ramsey
1044d74fd3
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
2004-02-24 20:41:39 +00:00
David Lawrence Ramsey
369732ff81
handle pending sigwinches better, etc.
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1652 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-16 20:32:40 +00:00
David Lawrence Ramsey
795a16b959
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
2004-02-07 05:03:25 +00:00
David Lawrence Ramsey
b7e5cf6538
fix comment inaccuracy
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1650 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-07 03:39:48 +00:00
David Lawrence Ramsey
d390dd8ea7
minor cosmetic fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1649 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-07 03:38:02 +00:00
David Lawrence Ramsey
815cba87e5
forgot a cast
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1648 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-07 03:07:01 +00:00
David Lawrence Ramsey
cb34a67ea1
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
2004-02-06 21:20:05 +00:00
David Lawrence Ramsey
ee383dbd6c
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
2004-02-06 03:07:10 +00:00
David Lawrence Ramsey
1bc9219beb
one last minor comment fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1645 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-03 17:36:55 +00:00
David Lawrence Ramsey
00c2054780
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
2004-02-01 06:27:59 +00:00
David Lawrence Ramsey
250267777c
minor comment clarification
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1643 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-31 16:43:20 +00:00
David Lawrence Ramsey
53809440f3
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
2004-01-30 04:29:52 +00:00
David Lawrence Ramsey
273d2ce2d5
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
2004-01-30 04:20:28 +00:00
David Lawrence Ramsey
c91696e6df
add function key alias for unjustify
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1639 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-29 04:16:23 +00:00
David Lawrence Ramsey
d03216a1ac
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
2004-01-28 18:21:21 +00:00
David Lawrence Ramsey
58f6d836d9
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
2004-01-27 07:12:47 +00:00
David Lawrence Ramsey
2897d2b8b8
actually block SIGQUIT in signal_init()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1636 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-26 20:56:20 +00:00
David Lawrence Ramsey
0ee54d9fb2
comment accuracy fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1635 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-26 20:18:52 +00:00
David Lawrence Ramsey
35961c4252
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
2004-01-23 19:34:03 +00:00
David Lawrence Ramsey
c2c5a51e52
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
2004-01-23 19:26:17 +00:00
David Lawrence Ramsey
66081d4e70
consistency tweak for get_page_start()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1631 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-22 07:25:31 +00:00
David Lawrence Ramsey
fdece4621f
add explanatory comment to do_credits()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1630 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-19 18:15:03 +00:00
David Lawrence Ramsey
250613665f
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
2004-01-16 19:12:46 +00:00
David Lawrence Ramsey
41151ac50d
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
2004-01-15 05:47:03 +00:00
David Lawrence Ramsey
62187d9ced
remove other spurious "L"
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1625 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-14 22:45:05 +00:00
David Lawrence Ramsey
9da0831dbf
remove spurious "L"
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1624 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-14 22:40:38 +00:00
David Lawrence Ramsey
e97c8d5918
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
2004-01-14 19:26:29 +00:00
David Lawrence Ramsey
760a2dc9b2
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
2004-01-14 06:38:00 +00:00
David Lawrence Ramsey
c53a92d973
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
2004-01-12 03:28:06 +00:00
David Lawrence Ramsey
6481c3fb2d
update the year in do_credits() too
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1614 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-09 23:06:54 +00:00
David Lawrence Ramsey
f28f50e6b5
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
2004-01-09 23:04:55 +00:00
David Lawrence Ramsey
f8ddf31bfb
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
2004-01-09 22:38:09 +00:00
David Lawrence Ramsey
9b5bd42978
minor comment fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1610 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-06 01:45:04 +00:00
David Lawrence Ramsey
e190ff30f2
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
2004-01-03 21:42:25 +00:00
David Lawrence Ramsey
afb75f22b2
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
2003-12-29 02:15:23 +00:00
David Lawrence Ramsey
32559294e8
comment addition, minor cosmetic fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1605 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-12-28 03:56:04 +00:00
David Lawrence Ramsey
2a4ab6d29d
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
2003-12-24 08:29:49 +00:00