David Lawrence Ramsey
69e1ce56df
per Benno Schulenberg's patch with a few tweaks by me, add minor wording
...
fixes to various messages
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3635 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-08 02:37:45 +00:00
David Lawrence Ramsey
9e553b21f3
per Benno Schulenberg's patch, add a wording fix to help_init()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3634 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-08 02:16:37 +00:00
David Lawrence Ramsey
f94b993535
per Benno Schulenberg's patch, add single quotes around the invalid
...
string argument in the error message about unterminated strings, to
avoid confusion
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3633 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-08 02:13:37 +00:00
David Lawrence Ramsey
c923eb9c6a
add minor documentation fixes from John M. Gabriele
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3629 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-06 22:15:44 +00:00
David Lawrence Ramsey
96dce26401
various minor include fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3627 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-06 18:41:58 +00:00
David Lawrence Ramsey
0e963be59d
mention the removal of the workaround for glibc 2.2.3's broken regexec()
...
in UPGRADE too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3625 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-05 15:44:55 +00:00
David Lawrence Ramsey
b5a7bbf4f3
remove the workaround for glibc 2.2.3's broken regexec(), and replace it
...
with a FAQ entry explaining the problem, since it could break anything
using extended regular expressions, and glibc 2.2.3 is old
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3624 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-05 15:41:23 +00:00
David Lawrence Ramsey
57d81ecef9
update changelog entries
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3623 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-04 18:05:17 +00:00
David Lawrence Ramsey
7d9e5bfb36
in faq.html, add minor punctuation and wording fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3621 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-04 17:22:16 +00:00
David Lawrence Ramsey
4dbdbd4660
per Benno Schulenberg's patch, fix changelog entry
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3618 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-04 13:27:50 +00:00
David Lawrence Ramsey
497a9a2032
in ngetdelim(), set errno to EINVAL if stream is not a valid file
...
stream; this matches the manual page
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3617 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-04 00:15:56 +00:00
David Lawrence Ramsey
106c1bf3d1
beep when we get an unhandled shortcut or toggle, as Pico does
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3616 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-03 19:36:02 +00:00
David Lawrence Ramsey
f70f67bd10
more miscellaneous minor fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3615 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-03 17:31:52 +00:00
David Lawrence Ramsey
299ab27363
add minor nanorc regex tweaks by John M. Gabriele, and minor sh regex
...
tweaks by Benno Schulenberg
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3614 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-03 12:41:02 +00:00
David Lawrence Ramsey
a95bdee2cf
cosmetic fix
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3613 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-03 02:09:10 +00:00
David Lawrence Ramsey
e4157968fb
move the nanorc regexes to a separate file too
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3607 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 18:35:39 +00:00
David Lawrence Ramsey
5e6434cf54
move color regexes into separate files, and restructure things so that
...
they're installed properly and nanorc.sample references them properly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3604 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 17:23:28 +00:00
David Lawrence Ramsey
17ab6ed580
in doc/man/Makefile.am, simplify the setting of SUBDIRS
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3603 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 16:53:03 +00:00
David Lawrence Ramsey
6119fabdcc
in nanorc.sample, per John M. Gabriele's patch with a few tweaks by me,
...
add regexes for Ruby
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3602 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 02:19:54 +00:00
David Lawrence Ramsey
5f90b4fbd8
in nanorc.sample, per John M. Gabriele's patch, tweak the "nanorc"
...
regexes to color keywords bright green instead of cyan
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3601 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 01:58:42 +00:00
David Lawrence Ramsey
3dc0e23e0c
in nanorc.sample, simplify the extensions associated with the "nanorc"
...
regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3600 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 01:54:41 +00:00
David Lawrence Ramsey
c1662f2eb7
in nanorc.sample, per John M. Gabriele's patch, tweak the "nanorc"
...
regexes to color comments bright blue instead of blue
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3599 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 01:51:41 +00:00
David Lawrence Ramsey
95ff10ec47
in nanorc.sample, per Benno Schulenberg's patch, tweak the "shellscript"
...
regexes to properly color all special variables, such as $? and $@
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3598 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-06-01 01:26:35 +00:00
David Lawrence Ramsey
2888964c76
miscellaneous minor fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3596 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-30 20:51:15 +00:00
David Lawrence Ramsey
f397dae5c5
in src/Makefile.am, remove "-Iintl" from INCLUDES, as we don't use an
...
intl directory inside the source directory anymore
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3595 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-28 22:33:14 +00:00
David Lawrence Ramsey
8d2d0d9a11
in various functions in rcfile.c, add quotes around invalid string
...
arguments in error messages, for consistency; also, move
color_to_short() dowm so that it's near parse_colors(), for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3593 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-28 19:00:16 +00:00
David Lawrence Ramsey
5cadadd4c2
in color_update(), fix incorrect setting of defcolor, which prevented
...
the reserved "default" syntax from being handled correctly
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3592 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-28 18:51:48 +00:00
David Lawrence Ramsey
5c7d88dc16
in parse_verbatim_kbinput(), don't include the ability to enter a
...
Unicode sequence via verbatim input mode if we're not in a UTF-8 locale
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3588 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-28 16:25:15 +00:00
David Lawrence Ramsey
100bc30d63
in check_statusblank(), avoid redundant updates when statusblank is 0
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3586 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 18:06:11 +00:00
David Lawrence Ramsey
184955d0c1
in faq.html, update section 3.8 to mention the new "Unicode Input"
...
prompt, and how Unicode input only works when Unicode support is enabled
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3585 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 17:58:41 +00:00
David Lawrence Ramsey
6fb6689f0f
various input/output fixes: allow normal typing of high-bit control
...
characters, as Pico does; in do_verbatim_input(), unconditionally blank
the statusbar as soon as we're finished getting input; and in
parse_verbatim_kbinput(), don't include the ability to enter a Unicode
sequence via verbatim input mode if ENABLE_UTF8 isn't defined
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3584 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 17:39:19 +00:00
David Lawrence Ramsey
f451d6a64a
add Benno Schulenberg's translator comments, and fix typos in the last
...
changelog entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3582 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 16:02:48 +00:00
David Lawrence Ramsey
12e3708ead
per Benno Schulenberg's patch with a few tweaks by me, if we're using
...
verbatim input to enter a Unicode sequence, indicate it on the
statusbar; also, refactor the Unicode sequence handler function to
remove redundant code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3581 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 15:52:26 +00:00
David Lawrence Ramsey
9a5139e9d3
add missing changelog entry
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3580 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-27 15:18:05 +00:00
David Lawrence Ramsey
5566e442b1
in parse_rcfile(), properly handle rcfiles that don't end in newlines
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3576 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 13:49:00 +00:00
David Lawrence Ramsey
db39a5e80d
in parse_rcfile(), change variable i from an int to a size_t, for
...
consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3575 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 13:38:49 +00:00
David Lawrence Ramsey
558d34f5ba
handle all syntaxes without associated colors in parse_rcfile()
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3574 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 13:27:28 +00:00
David Lawrence Ramsey
0b4920adc9
in parse_rcfile(), properly generate an error if we've read in a syntax
...
without any associated color command
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3573 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 12:56:30 +00:00
David Lawrence Ramsey
d5228b3d82
in edit_redraw(), fix problem where not all lines would be updated
...
properly if we'd scrolled off the screen and the mark was on
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3568 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-26 03:04:24 +00:00
David Lawrence Ramsey
1320d29267
remove duplicate escape sequence-interpreting code
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3566 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-25 22:10:27 +00:00
David Lawrence Ramsey
d6eb17515d
in parse_kbinput(), if we get Escape followed by an escape sequence,
...
interpret the escape sequence for consistency; also ignore unhandled
function keys for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3565 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-25 21:39:25 +00:00
David Lawrence Ramsey
e328ae9423
in shortcut_init(), remove the "Go To Line" shortcut in the replace
...
shortcut list, for compatibility with Pico
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3564 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-25 04:02:50 +00:00
David Lawrence Ramsey
0c9551a4dd
per Benno Schulenberg's patch, with a few tweaks by me, add miscellaneous
...
minor fixes to nanorc.sample
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3562 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 21:07:10 +00:00
David Lawrence Ramsey
2a56ce79c5
per Benno Schulenberg's patch with some additions of mine, explain the
...
mouse support in more detail, and sync the text of its description across
all documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 20:55:44 +00:00
David Lawrence Ramsey
305d889e9d
more cleanly ignore unhandled meta key sequences and escape sequences;
...
to get this to work properly, add a shortcut for moving to the next
search/replace string
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3559 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 19:48:03 +00:00
David Lawrence Ramsey
3af1e50855
per Benno Schulenberg's patch, fix the statusbar's not blanking properly
...
after verbatim input
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3557 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 18:23:21 +00:00
David Lawrence Ramsey
8e341e1b22
ignore unhandled meta key sequences and escape sequences, and indicate
...
it on the statusbar when we get an unhandled shortcut or toggle, as Pico
does
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3554 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-24 17:36:00 +00:00
David Lawrence Ramsey
5538150e0a
more miscellaneous documentation fixes
...
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3553 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-23 16:23:10 +00:00
David Lawrence Ramsey
ef0d5a7637
handle prepending of wrapped text in one place instead of many, so that
...
it always works consistently
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3547 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-22 02:08:49 +00:00
David Lawrence Ramsey
be231d39ad
per Benno Schulenberg's patch, add more shortcut description and
...
translator comment tweaks
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3543 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2006-05-21 21:37:21 +00:00