Compare commits

...

303 Commits

Author SHA1 Message Date
David Lawrence Ramsey
e1151561ad GNU nano 1.3.3
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1827 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-28 13:17:33 +00:00
David Lawrence Ramsey
dbde9d7577 refactor the code to search for the beginning of a paragraph a bit to
fix some inaccuracies and eliminate the need for recursion; it now uses
almost the same logic as the code to search for the end of a paragraph,
which makes it somewhat easier to understand


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1823 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-27 00:54:08 +00:00
David Lawrence Ramsey
524534405b a few last minor cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1822 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-26 15:24:16 +00:00
Jordi Mallach
21ad762998 Add a translation comment so translators use both their shortcuts as well as the English ones.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1818 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-25 22:43:09 +00:00
Jordi Mallach
d350727726 Fix XSI:ism in config.rpath.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1817 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-25 22:34:18 +00:00
David Lawrence Ramsey
91bc83a97a call justify_format() just after backup_lines() instead of inside it, so
that full justification doesn't erroneously justify non-paragraph lines
in the file


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1815 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-25 01:52:10 +00:00
David Lawrence Ramsey
537a880856 minor cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1814 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-24 22:39:24 +00:00
David Lawrence Ramsey
85529b37c6 make the former flag same_line_wrap use TRUE and FALSE, add missing part
of DB's do_wrap() tweaks (the initialization of new_line_wrap to 0), and
wrap a few overly long comments


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1813 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-22 15:38:47 +00:00
David Lawrence Ramsey
973a96be62 add minor comment fixes, and also fix a problem where the escape
sequence for F3 on the FreeBSD console wasn't interpreted properly


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1812 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-22 14:30:18 +00:00
David Lawrence Ramsey
4e1a98c9c3 fix inaccurate comment
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1810 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-15 01:48:51 +00:00
David Lawrence Ramsey
45eda52d7e do_yesno() comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1809 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-12 21:20:33 +00:00
David Lawrence Ramsey
74af3a7419 clean up main() a bit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1808 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-12 21:03:14 +00:00
David Lawrence Ramsey
3b0729cf5d fix slightly misplaced break
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1807 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-12 02:10:07 +00:00
David Lawrence Ramsey
2b6c3018b0 remove unneeded justify_format() call from do_justify() which caused
problems if the original paragraph was one line long and ended with a
tab or tabs; unjustification would restore the justify_format()ted line
instead of the original line


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1806 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-10 01:35:02 +00:00
David Lawrence Ramsey
452513750b per CHAO Wei-Lun's patch, add missing "[dir]" and missing _()'s to the
"-E [dir]/--backupdir=[dir]" strings in usage()


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1805 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-09 08:36:46 +00:00
David Lawrence Ramsey
a9a6ce09d6 justification fix: if the last line of a justified paragraph has a space
on the end of it, the space should be removed


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1804 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-05 22:09:56 +00:00
David Lawrence Ramsey
7ea39efdbd document the functions that were removed when the input routines were
converted to use state machines


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1803 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-04 22:36:42 +00:00
David Lawrence Ramsey
d8974451f0 add an extra break and move an #endif down to fix a potential problem
when NANO_SMALL is defined or KEY_RESIZE isn't, and when PDCURSES isn't
defined


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1802 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-04 22:28:55 +00:00
David Lawrence Ramsey
e65e639465 properly handle it when get_escape_seq_kbinput() returns ERR for an
escape sequence that is recognized but which should be ignored


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1801 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-04 18:18:17 +00:00
David Lawrence Ramsey
16eb518dcd support KEY_A1, KEY_A3, KEY_C1, and KEY_C3 on the numeric keypad
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1800 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-03 20:26:12 +00:00
David Lawrence Ramsey
498e13df30 document the use of the SPELL environment variable
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1799 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-01 22:56:34 +00:00
David Lawrence Ramsey
ae064bf255 don't rely on the return value of curs_set(), as it's broken on e.g.
slang; instead, explicitly turn the cursor off where we need to


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1798 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-01 20:38:00 +00:00
David Lawrence Ramsey
e7638ea75f cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1797 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-01 19:49:38 +00:00
David Lawrence Ramsey
ce1d7652f3 edit_redraw() should update when we're not on the first page and/or when
we're not on the same page as before, not just in the former case


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1796 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-01 18:32:36 +00:00
Jordi Mallach
0675c2f355 Update docs about Chinese contributor.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1795 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-01 15:29:31 +00:00
Jordi Mallach
18b583d55b 2004-06-01 Jordi Mallach <jordi@gnu.org>
* zh_TW.po: Added Chinese (Taiwan) translation by
	CHAO Wei-Lun <chaoweilun@pcmail.com.tw>.
	* LINGUAS: Added "zh_TW".


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1794 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-06-01 15:13:19 +00:00
David Lawrence Ramsey
9a527f5a17 add DB's tweaks to do_wrap(), plus a few minor bits of mine (convert
some ints to size_t's and convert the int wrapping to use TRUE and FALSE
since it's used as a boolean)


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1793 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-31 14:58:59 +00:00
David Lawrence Ramsey
684b19380e fix comment inaccuracies
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1792 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-31 14:47:12 +00:00
David Lawrence Ramsey
4a80fcff4e oops; for consistency with e.g. color syntax highlighting (which, like
whitespace display, is specified in the rcfile), whitespace display
should be on by default


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1791 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-30 04:19:27 +00:00
David Lawrence Ramsey
f521b60f52 for consistency, whitespace display should be off by default, not on
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1790 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-30 03:56:52 +00:00
David Lawrence Ramsey
28260475bb add spaces to the ends of the "Overwrite" and "Different Name" prompts,
for consistency


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1789 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-30 03:23:39 +00:00
David Lawrence Ramsey
c21790d6d9 edit_redraw() fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1788 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-30 03:19:52 +00:00
David Lawrence Ramsey
be26561620 add DB's changes to allow scrolling through the help browser text with
the arrow keys as well as the paging keys


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1787 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-29 20:38:08 +00:00
David Lawrence Ramsey
b6a4b10daf document cosmetic reorganization of rcfile.c, and readd an "else" I
accidentally removed while doing it


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1786 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-29 17:20:01 +00:00
David Lawrence Ramsey
8d911991a3 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
2004-05-29 17:05:52 +00:00
David Lawrence Ramsey
89bb93733a a few last cosmetic reorderings and fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1784 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-29 16:47:52 +00:00
David Lawrence Ramsey
2c62b07d2b 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
2004-05-29 16:38:57 +00:00
David Lawrence Ramsey
483ea32c75 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
2004-05-29 16:25:30 +00:00
David Lawrence Ramsey
c833d9e80f 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
2004-05-29 15:36:58 +00:00
David Lawrence Ramsey
12e066f9d4 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
2004-05-29 14:13:02 +00:00
David Lawrence Ramsey
9d325a03d9 cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1779 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-29 03:03:52 +00:00
David Lawrence Ramsey
32e3b88e09 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
2004-05-29 01:20:17 +00:00
David Lawrence Ramsey
dd7cc7230e 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
2004-05-28 23:45:25 +00:00
David Lawrence Ramsey
3aedb36e68 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
2004-05-28 22:42:41 +00:00
David Lawrence Ramsey
570ea8969b add missing cast to char
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1775 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-28 21:02:32 +00:00
David Lawrence Ramsey
2ed225f78d 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
2004-05-28 20:44:09 +00:00
David Lawrence Ramsey
48ae986730 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
2004-05-28 17:23:33 +00:00
David Lawrence Ramsey
d12fd4b1fb 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
2004-05-28 15:05:56 +00:00
David Lawrence Ramsey
0aa2264687 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
2004-05-28 14:42:50 +00:00
David Lawrence Ramsey
2f0d03b4a2 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
2004-05-28 00:15:28 +00:00
David Lawrence Ramsey
228148b87a 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
2004-05-27 20:09:52 +00:00
David Lawrence Ramsey
c372488179 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
2004-05-27 18:39:16 +00:00
David Lawrence Ramsey
8328fc2439 properly account for padding in titlebar()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1767 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-25 23:34:43 +00:00
David Lawrence Ramsey
da141063e3 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
2004-05-25 19:41:11 +00:00
David Lawrence Ramsey
0d29555a13 cosmetic fix: reorder enums
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1765 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-25 02:33:27 +00:00
David Lawrence Ramsey
c279a63100 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
2004-05-25 01:49:58 +00:00
David Lawrence Ramsey
5a8995a097 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
2004-05-24 19:47:08 +00:00
David Lawrence Ramsey
32613fa3f6 comment fixes for consistency: "Meta" -> "meta"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1762 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-24 18:40:41 +00:00
David Lawrence Ramsey
2e3aeae5bc 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
2004-05-24 05:52:35 +00:00
David Lawrence Ramsey
32d19ce47c comment fix for consistency: "magic line" -> "magicline"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1760 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-24 05:05:07 +00:00
David Lawrence Ramsey
a9fcaa589a comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1759 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-24 02:58:05 +00:00
David Lawrence Ramsey
1b525e9ad6 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
2004-05-24 02:35:02 +00:00
David Lawrence Ramsey
4be15f0158 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
2004-05-23 21:33:23 +00:00
David Lawrence Ramsey
4178db0328 comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1756 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-23 21:23:23 +00:00
David Lawrence Ramsey
1dcf36a370 add missing bit
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1755 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-23 21:17:56 +00:00
David Lawrence Ramsey
fa394047ba 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
2004-05-23 21:11:14 +00:00
David Lawrence Ramsey
bcebe325f0 cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1753 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-22 20:38:33 +00:00
David Lawrence Ramsey
14bf80399f add missing #ifdefs around prototypes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1752 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-22 20:19:15 +00:00
David Lawrence Ramsey
c7acf69cb2 add smart home key
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1751 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-22 20:15:20 +00:00
David Lawrence Ramsey
684e7ebd37 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
2004-05-20 14:31:15 +00:00
David Lawrence Ramsey
8e4adcdac3 comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1749 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-20 03:29:33 +00:00
David Lawrence Ramsey
e608f94a6f 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
2004-05-19 16:04:27 +00:00
David Lawrence Ramsey
fd462b164e comment fix: ^J should be Ctrl-J
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1747 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-19 15:41:17 +00:00
David Lawrence Ramsey
837a02b256 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
2004-05-18 15:23:31 +00:00
David Lawrence Ramsey
d7fd200a6a minor overhaul of terminal-related things
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1745 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-18 01:20:36 +00:00
David Lawrence Ramsey
36e363f525 and remove unneccessary initialization
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1744 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-17 20:38:00 +00:00
David Lawrence Ramsey
1cadddd111 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
2004-05-17 20:32:51 +00:00
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
1122c85e34 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
2004-05-13 17:46:57 +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
71d0a1fab3 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
2004-05-08 00:06:15 +00:00
David Lawrence Ramsey
2c4c788477 fix more info page inaccuracies
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1728 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-05-07 18:00:20 +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
b88234049d spell Christian Weisgerber's name right
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1720 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-04-27 21:06:11 +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
45108343c8 cosmetic changelog fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1716 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-04-21 23:04:55 +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
9be546b2f3 fix info page inaccuracies
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1714 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-04-20 19:19:21 +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
befb25a4e6 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1706 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-31 18:53:07 +00:00
David Lawrence Ramsey
f70f0cf6bd GNU nano 1.3.2
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1704 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-31 18:42:52 +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
7947544460 fix entry
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1698 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-19 20:47:57 +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
aca5d04f42 typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1696 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-19 01:35:57 +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
35557c555c 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
2004-03-07 15:14:56 +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
5ae684fc81 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
2004-03-04 23:48:26 +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
ce364e2a57 minor capitalization fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1679 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-03-03 01:25:46 +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
588ca6b79e fix typo
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1675 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-28 16:30:28 +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
81e157cd38 fix too-long line
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1672 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-28 01:58:21 +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
37853fd4ce and update the dates on the documentation
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1664 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-25 04:01:33 +00:00
David Lawrence Ramsey
475a2a7410 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
2004-02-25 03:58:46 +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
Jordi Mallach
656dd9c7eb Updated Malay translation by Sharuzzaman Ahmat Raslan.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1657 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-02-24 14:01:20 +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
be66a6b078 fix minor FAQ inaccuracy
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1642 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-30 21:31:57 +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
1eadebe21f minor capitalization fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1634 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-25 21:36:38 +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
70bd6e0dcb 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
2004-01-15 16:08:42 +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
3e3fab5a0f 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
2004-01-15 05:12:41 +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
9591ee5d0a typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1622 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-14 16:51:06 +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
d5be947021 remove a few more unneeded spaces
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1619 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-10 06:12:04 +00:00
David Lawrence Ramsey
f0b3009400 minor fixes for the README
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1618 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-10 06:02:05 +00:00
David Lawrence Ramsey
606dfda47a Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1617 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-09 23:26:54 +00:00
David Lawrence Ramsey
fa1497b38f GNU nano 1.3.1
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1615 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2004-01-09 23:22:02 +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
9e45a47054 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
2004-01-06 17:12:28 +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
47162bc428 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
2004-01-05 19:01:53 +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
c2946fbe09 typo fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1603 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-12-24 21:47:28 +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
David Lawrence Ramsey
76c4b33ef4 display a highlighted space for zero-length regex matches, so that we
have a reference point when we're replacing them


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1601 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-12-24 08:17:54 +00:00
David Lawrence Ramsey
8213850df6 add DB's overhaul of the cutting code and related file-writing code, his
fixes to check_operating_dir(), and a few minor cleanups and fixes of
mine


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1600 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-12-24 08:03:54 +00:00
David Lawrence Ramsey
f427694400 the last of the low-level input overhaul: make the global shortcut list
use NANO_NO_KEY to represent no key value, add the NANO_HISTORY_KEY
sentinel value, add support for many more escape sequences for those
terminals that generate them, add DB's extensibility tweaks to
do_yesno(), make ASCII 128 act like Backspace when -d is used, add
various cleanups to the low-level input functions, and make the last of
the low-level input routines use the new low-level input functions


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1599 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-12-24 03:33:09 +00:00
David Lawrence Ramsey
18394ac621 fix search/replace misbehaviors for good (I hope)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1598 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-12-24 03:13:44 +00:00
David Lawrence Ramsey
d29146040b minor redundancy fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1597 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-30 02:22:22 +00:00
David Lawrence Ramsey
a593f538dd another low-level input overhaul: split out low-level mouse input,
remove references to ncurses key values from the global shortcut list
and restructure it to specify function key values when needed, hook up
verbatim input to the edit window, and do a few miscellaneous cleanups


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1596 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-28 19:47:42 +00:00
David Lawrence Ramsey
45cfbece4c replace the old fix for infinite regex replacement loops with something
that works better and is less hackish


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1595 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-28 16:04:24 +00:00
Jordi Mallach
895e65ce1a Updated Romanian translation by Laurentiu Buzdugan.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1594 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-25 11:30:05 +00:00
David Lawrence Ramsey
4dca76f2e9 add check for glib 2.x
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1592 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-20 00:15:52 +00:00
David Lawrence Ramsey
82a8f91392 minor tabbing fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1591 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-20 00:14:16 +00:00
David Lawrence Ramsey
bc503c80db don't prompt if we're saving only a selection of a file under a
different name


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1590 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-19 23:59:14 +00:00
Jordi Mallach
a5d8e54ab9 Added Danilo Segan (Serbian).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1589 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-06 10:47:44 +00:00
Jordi Mallach
10dd6c7714 Added Serbian translation (Danilo Segan).
Recoded ChangeLog to UTF-8.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1586 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-06 10:39:38 +00:00
David Lawrence Ramsey
4e25410680 minor cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1585 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-05 22:04:08 +00:00
David Lawrence Ramsey
637f6e50c0 update nano.spec.in for the 1.3 branch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1584 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-04 18:34:44 +00:00
David Lawrence Ramsey
7776ef9149 work around problem with Backspace's generating ASCII 127 on Linux
sometimes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1583 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-04 18:32:35 +00:00
David Lawrence Ramsey
8fa1976796 allow WHEREIS_NEXT_KEY to be used in view mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1582 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-11-03 00:13:21 +00:00
David Lawrence Ramsey
7127857924 prompt before saving the current file under a different name
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1581 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-31 17:58:44 +00:00
David Lawrence Ramsey
b7cb6a38c8 avoid infinite loop when doing a forward regex replace of "$"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1580 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-31 17:53:38 +00:00
Jordi Mallach
b78649b664 Patch from Martin-Eric Racine <q-funk@pp.fishpool.fi> to accept "Yy" and "Nn" as well as the Finnish letters in Yes/No prompts.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1579 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-30 13:10:32 +00:00
David Lawrence Ramsey
95114c1bc4 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1577 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-23 01:09:43 +00:00
David Lawrence Ramsey
133f7b16ea GNU nano 1.3.0
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1575 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-22 17:15:12 +00:00
David Lawrence Ramsey
8bbd1eb89f minor comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1574 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-22 16:27:18 +00:00
David Lawrence Ramsey
f6cf4a7d7c avoid having duplicate case values when some key values are missing
(assume ERR is -1 when doing so)


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1573 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-22 16:20:47 +00:00
David Lawrence Ramsey
13dfdb2493 document the setting of EXTRA_DIST
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1572 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-22 15:37:13 +00:00
David Lawrence Ramsey
699412175d set EXTRA_DIST so that 'make dist" and "make distcheck" actually include
the manual pages and their HTML versions


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1571 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-22 15:36:15 +00:00
Jordi Mallach
3a420879d6 Create html manpages when building nano.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1570 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-19 23:30:48 +00:00
David Lawrence Ramsey
c1f630e914 SunOS 5.9 doesn't define KEY_RESIZE either
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1569 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-18 20:21:52 +00:00
Jordi Mallach
5f34d6e3b0 Updated Catalan translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1568 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-18 10:59:55 +00:00
David Lawrence Ramsey
25307257c9 Changelog update: fix problem with KEY_RESIZE's not being defined on
SunOS 5.7 and 5.8


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1567 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-10 04:42:48 +00:00
David Lawrence Ramsey
bb7e2cbfad fix problem with KEY_RESIZE's not being defined on SunOS 5.7 and 5.8
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1566 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-10 04:38:17 +00:00
David Lawrence Ramsey
f5b256bb9f miscellaneous #define cleanups
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1565 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-03 20:26:25 +00:00
David Lawrence Ramsey
4dcd070cdf fix problems with the marking highlight's being drawn improperly in some
cases


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1564 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-10-03 04:20:28 +00:00
David Lawrence Ramsey
0362c58b37 add missing set of parentheses
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1563 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-30 03:31:56 +00:00
David Lawrence Ramsey
99bede34e7 have nano handle SIGHUP/SIGTERM properly when it's suspended
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1562 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-29 07:21:11 +00:00
David Lawrence Ramsey
2dd7ed14bc a few last missing minor bits of DB's refactored display code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-29 05:15:24 +00:00
David Lawrence Ramsey
f03c78b382 DB's minor efficiency tweak for do_mark()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1560 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-28 21:26:49 +00:00
David Lawrence Ramsey
5dcba30395 a few missing minor bits of DB's refactored display code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1559 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-28 19:15:18 +00:00
David Lawrence Ramsey
7bf00de84f set fileformat back to 0 after reading in a file to prevent erroneous
conversion messages from showing up when we read in more files


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1558 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-23 04:25:05 +00:00
David Lawrence Ramsey
a3831ab2b8 minor cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1557 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-22 16:26:40 +00:00
David Lawrence Ramsey
f0b7dcaa99 remove abcd(); the low-level input overhaul left it unused
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1556 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-22 15:46:21 +00:00
David Lawrence Ramsey
9eff7465d9 all our memmove() function calls work on char*'s, so we can use the
charmove() macro for them instead


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1554 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-16 02:04:00 +00:00
David Lawrence Ramsey
da8fd8f894 a few minor fixes for low-level keyboard input
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1553 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-16 01:22:31 +00:00
David Lawrence Ramsey
5ffbec56f6 port over some of DB's refactored display code, most importantly the
display_string() function, and convert some parts of nano to use it


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1552 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-16 01:16:49 +00:00
Jordi Mallach
b23554fa25 2003-09-12 Jordi Mallach <jordi@gnu.org>
* POTFILES.in: Updated path to sources.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1551 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-12 00:25:04 +00:00
David Lawrence Ramsey
1356a0a72d change enum "topmidbotnone" to "topmidnone", since we no longer have a
BOTTOM option


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1550 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-10 20:31:02 +00:00
David Lawrence Ramsey
c97acfb2d6 since the SAMELINEWRAP flag is only used in nano.c, convert it to a
static int there and free up space for one more flag; also make a few
misc. cleanups involving #ifdefs


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1549 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-10 20:08:00 +00:00
David Lawrence Ramsey
14509a3aa2 capitalize one last rcfile message I missed before
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1548 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-10 17:15:12 +00:00
David Lawrence Ramsey
7f47d42289 don't let the user type in ASCII 127 at the statusbar prompt
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1547 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-08 18:01:49 +00:00
David Lawrence Ramsey
d91ab6e912 DB's movement code overhaul (smooth paging, etc.) with a few of my fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1546 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-07 23:57:24 +00:00
David Lawrence Ramsey
dc9c40a56d Brand Huntsman's improved nanorc regexes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1545 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-07 23:54:57 +00:00
David Lawrence Ramsey
e0a9f50a64 fix slang compilation problem
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1544 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-07 05:32:24 +00:00
Jordi Mallach
298b975264 Major package reorganization:
- Move code to src/.
- Move docs to doc/:
  + texi doc to doc/texinfo/
  + original manual pages to doc/man/
  + translated manual pages to doc/man/xx/


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1543 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-07 00:44:12 +00:00
David Lawrence Ramsey
417b03a4c3 make sure the "historylog" option isn't included in tiny mode
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1542 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-06 21:44:37 +00:00
David Lawrence Ramsey
21cc550752 minor nanorc.sample fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1541 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-06 19:04:02 +00:00
David Lawrence Ramsey
3bd9628b38 minor rcfile fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1540 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-06 05:09:32 +00:00
David Lawrence Ramsey
74ea836fcc slightly simplify paragraph searching code
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1539 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-04 23:22:47 +00:00
David Lawrence Ramsey
8faf305d0c add paragraph searching ability
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1538 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-04 20:25:29 +00:00
Jordi Mallach
954b00de74 Updated French translation by Jean-Philippe Guérard.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1537 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-01 21:54:27 +00:00
David Lawrence Ramsey
79c849a4a9 fix indentation of a label
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1536 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-09-01 16:34:12 +00:00
David Lawrence Ramsey
cb7ee0e491 one last documentation fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1535 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-31 17:08:59 +00:00
David Lawrence Ramsey
aaad3af523 documentation updates
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1534 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-31 16:44:10 +00:00
David Lawrence Ramsey
ec290f2385 fix bug where calculated filename space on the titlebar is short by one
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1533 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-30 19:05:40 +00:00
David Lawrence Ramsey
27863665ca fix Meta-X's turning the keypad off under ncurses
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1532 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-29 21:31:37 +00:00
David Lawrence Ramsey
ba6fd42b3c move line wrapping toggle entry to global.c
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1531 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-23 21:16:02 +00:00
David Lawrence Ramsey
e04970675f Wouter van Hemel's "Where Is Next" patch
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1530 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-23 21:11:06 +00:00
Jordi Mallach
222feaa953 Updated Turkish translation by A. Murat EREN.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1526 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-17 19:41:07 +00:00
David Lawrence Ramsey
10187610f8 minor changelog fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1525 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-17 05:40:45 +00:00
David Lawrence Ramsey
a9cebd8054 remove unneeded breaks at the ends of default: clauses
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1524 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-17 03:31:57 +00:00
David Lawrence Ramsey
4d7c260270 low-level input overhaul
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1523 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-17 02:48:43 +00:00
Chris Allegretta
f3fee5db91 Update the ChangeLog too
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1522 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-12 02:40:47 +00:00
Chris Allegretta
21599f805b Update stable/development series maintainership in the AUTHORS file
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1519 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-12 02:37:01 +00:00
Chris Allegretta
6954f05276 add 1.3 fork info, change version to 1.2.99-cvs
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1518 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-12 02:34:03 +00:00
Chris Allegretta
194c26f879 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1517 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-12 02:01:17 +00:00
Chris Allegretta
3364214200 GNU nano 1.2.2 release
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1515 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-12 01:49:20 +00:00
Chris Allegretta
c30fc242c3 - winio.c:nanogetstr() - Fix problem where pressing down,up,down does not blank the search prompt but keeps the previous search (DLR)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1514 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-11 00:32:45 +00:00
Jordi Mallach
66d60099a2 Updated Catalan translation.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1513 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-05 21:39:12 +00:00
Jordi Mallach
f9390afbd1 Remove gettext marks from debug messages.
Add translator comments for short statusbar messages.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1512 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-05 19:31:12 +00:00
Chris Allegretta
4f5335d93e Add DLR's excellent workaround for strcasecmp not being available
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1511 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-04 02:51:12 +00:00
Chris Allegretta
653d614439 Use DLR's home/end patch instead of mine, because it's cleaner and remove some unneeded code in do_help()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1510 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-04 02:12:03 +00:00
Chris Allegretta
13f094e80e - winio.c:nanogetstr() - Add handler for Alt-[-H and F as home and end when -K is used. Basically a workaround until a cleaner way can be found.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1509 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-08-04 00:59:27 +00:00
David Lawrence Ramsey
6d97d18fba faq update for inability to see color when nano is compiled w/color support
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1508 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-07-02 14:20:11 +00:00
David Lawrence Ramsey
b764eb6663 a few more manpage fixes, and a resync of their html versions
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1507 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-29 02:25:46 +00:00
David Lawrence Ramsey
70047eef7d miscellaneous cleanups, updates, and fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1506 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-14 20:41:34 +00:00
Jordi Mallach
d995e9a762 More formatting fixes for nanorc.5 from Jean-Philippe.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1505 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-11 16:38:35 +00:00
Jordi Mallach
9e74ade187 Add Geir Helland to THANKS.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1504 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-11 15:52:34 +00:00
Jordi Mallach
a1475aedd2 Updated Norwegian bokmal translation by Geir Helland.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1503 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-11 15:50:58 +00:00
Jordi Mallach
5b63eafd83 Formatting fixes for nano.1 from Jean-Philippe.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1502 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-11 10:17:20 +00:00
Jordi Mallach
67fa8935aa More French updates.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1501 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-10 14:35:19 +00:00
Jordi Mallach
b111f57082 Updated French translation by Jean-Philippe Guérard.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1500 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-10 13:12:49 +00:00
Jordi Mallach
023e9cda99 Updated German translation by Michael Piefel.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1499 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-06-02 12:34:57 +00:00
Jordi Mallach
4654cd19bd Updated Malay translation by Sharuzzaman Ahmat Raslan.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1498 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-05-06 14:02:44 +00:00
Jordi Mallach
2e6d0ca131 Added Laurentiu Buzdugan, for Romanian.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1497 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-04-24 18:23:56 +00:00
Jordi Mallach
d8ce36e6e1 Added "ro" (Romanian).
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1496 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-04-24 18:21:38 +00:00
Jordi Mallach
cccc511fef New Romanian translation and Indonesian update.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1495 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-04-24 18:20:11 +00:00
Chris Allegretta
ffe575f509 Back to CVS
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1494 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
2003-04-20 16:25:46 +00:00
76 changed files with 21119 additions and 14129 deletions

View File

@@ -18,10 +18,7 @@ depcomp
install-sh
missing
mkinstalldirs
nano
nano.info
nano.spec
stamp-h
stamp-h.in
stamp-h1
texinfo.tex

13
AUTHORS
View File

@@ -4,7 +4,13 @@ editor. Please see the ChangeLog for specific changes by author.
-------------------------------------------------------------------------
Chris Allegretta <chrisa@asty.org>
* Main program author and maintainer.
* Original program author, stable series maintainer.
David Lawrence Ramsey <pooka_regent@sluggy.net>
* Development series maintainer. Multiple buffer support,
operating dir (-o) option, bug fixes for display routines,
wrapping code, spelling fixes, const mode and various other
fixes.
Jordi Mallach <jordi@sindominio.net>
* Debian package maintainer, fellow bug squasher.
@@ -25,11 +31,6 @@ Rocco Corsi <rocco.corsi@sympatico.ca>
findnextstr and search-related functions, various display and
file handling fixes.
David Lawrence Ramsey <pooka_regent@sluggy.net>
* Multiple buffer support, operating dir (-o) option, bug fixes
for display routines, wrapping code, spelling fixes, const
mode and various other fixes.
David Benbennick <dbenbenn@math.cornell.edu>
* Wrap and justify bugfixes/enhancements, new color syntax
code, memleak fixes and other miscellaneous fixes.

1179
ChangeLog

File diff suppressed because it is too large Load Diff

View File

@@ -1,36 +1,11 @@
## $Id$
AUTOMAKE_OPTIONS = gnu no-dependencies
DEFS= -DSYSCONFDIR=\"$(sysconfdir)\"
SUBDIRS = doc m4 po src
bin_PROGRAMS = nano
nano_SOURCES = color.c \
cut.c \
files.c \
global.c \
move.c \
nano.c \
nano.h \
proto.h \
rcfile.c \
search.c \
utils.c \
winio.c
man_MANS = nano.1 nanorc.5
nano_LDADD = @GLIB_LIBS@ @LIBINTL@
info_TEXINFOS = nano.texi
MAKEINFO = makeinfo --no-split
EXTRA_DIST = ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
README THANKS TODO UPGRADE config.rpath install-sh missing \
mkinstalldirs nano.1.html nanorc.5.html faq.html \
nanorc.sample nano.spec $(man_MANS)
SUBDIRS = po m4
localedir = $(datadir)/locale
INCLUDES = -Iintl -DLOCALEDIR=\"$(localedir)\" -I@includedir@
mkinstalldirs nano.spec
ACLOCAL_AMFLAGS = -I m4

913
NEWS

File diff suppressed because it is too large Load Diff

45
README
View File

@@ -7,19 +7,20 @@ Overview
wonderfully easy-to-use and friendly Pico text editor.
First and foremost is its license: the Pine suite does not use the
GPL or a GPL-friendly license, and has unclear restrictions on
redistribution. Because of this, Pine and Pico are not included with
many GNU/Linux distributions. Also, other features (like goto line
number or search and replace) were unavailable until recently or
require a command line flag. Yuck.
GPL or a GPL-friendly license, and has unclear restrictions on
redistribution. Because of this, Pine and Pico are not included
with many GNU/Linux distributions. Also, other features (like goto
line number or search and replace) were unavailable until recently
or require a command line flag. Yuck.
nano aims to solve these problems by emulating the functionality of
Pico as closely as possible while addressing the problems above and
perhaps providing other extra functionality.
The nano editor is now an official GNU package. For more information
on GNU and the Free Software Foundation please see http://www.gnu.org.
The nano editor is now an official GNU package. For more
information on GNU and the Free Software Foundation please see
http://www.gnu.org.
How to compile and install nano
Download the nano source code, then:
@@ -28,37 +29,41 @@ How to compile and install nano
./configure
make
make install
It's that simple. Use --prefix with configure to override the
It's that simple. Use --prefix with configure to override the
default installation directory of /usr/local.
Web Page
http://www.nano-editor.org
Mailing List and Bug Reports
Savannah hosts all the nano-related mailing-lists.
+ info-nano@gnu.org is a very low traffic list
used to announce new Nano versions or other important information
about the project.
used to announce new nano versions or other important
information about the project.
+ help-nano@gnu.org is for those seeking to get help without
wanting to hear about the technical details of its
development.
+ nano-devel@gnu.org is the list used by the people
that make Nano and a general development discussion list, with
that make nano and a general development discussion list, with
moderate traffic.
To subscribe, send email to nano-<name>-request@gnu.org
with a subject of "subscribe", where <name> is the list you want to
To subscribe, send email to nano-<name>-request@gnu.org with a
subject of "subscribe", where <name> is the list you want to
subscribe to.
For general bug reports, send a description of the problem to
nano@nano-editor.org or directly to the development list.
Current Status
GNU nano has reaching its second major milestone, 1.2.x. Development
of new features will continue in the 1.3.x branch, while 1.2.x
versions will be dedicated to bugfixing and polishing.
GNU nano has reached its second major milestone, 1.2.x.
Development of new features will continue in the 1.3.x branch,
while 1.2.x versions will be dedicated to bugfixing and
polishing.
Chris Allegretta (chrisa@asty.org)

View File

@@ -7,8 +7,8 @@ more care than the official stable and unstable tarballs.
To successfully compile GNU nano from CVS, you'll need the
following packages:
- autoconf (version >= 2.52)
- automake (version >= 1.6, 1.7.x recommended)
- autoconf (version >= 2.54)
- automake (version >= 1.7)
- gettext (version >= 0.11.5)
- texinfo
- cvs

6
THANKS
View File

@@ -2,13 +2,16 @@ The following people have helped GNU nano in some way or another.
If we missed you here, let us know!
Sharuzzaman Ahmat Raslan <sharuzzaman@excite.com>
Bahasa Melayu translator
Malay translator
Laurentiu Buzdugan <buzdugan@voyager.net> Romanian translator
CHAO Wei-Lun <chaoweilun@pcmail.com.tw> Traditional Chinese translator
Ricardo Cárdenes Medina <ricardo@conisys.com> Spanish translator
Marco Colombo <magicdice@inwind.it> Italian translator
Karl Eichwalder <keichwa@gmx.net> German translator
Doruk Fisek <dfisek@fisek.com.tr> Turkish translator
Jean-Philippe Guérard <jean-philippe.guerard@laposte.net>
French translator
Geir Helland Norwegian bokmål translator
Tedi Heriyanto <tedi_h@gmx.net> Indonesian translator
Václav Haisman <V.Haisman@sh.cvut.cz> Czech translator
Szabolcs Horvath <horvaths@janus.gimsz.sulinet.hu>
@@ -26,6 +29,7 @@ Sergey A. Ribalchenko <fisher@obu.ck.ua> Russian, Ukrainian translator
Michel Robitaille <robitail@IRO.UMontreal.CA> French translator
Christian Rose <menthos@menthos.com> Swedish translator
Stig E Sandoe <stig@ii.uib.no> Norwegian bokmål translator
Danilo Segan <dsegan@gmx.net> Serbian translator
Keld Simonsen <keld@dkuug.dk> Danish translator
Guus Sliepen <guus@nl.linux.org> Dutch translator
Cezary Sliwa <sliwa@cft.edu.pl> Polish translator

41
TODO
View File

@@ -1,34 +1,41 @@
TODO file (? means the feature may be implemented, but not definitely)
-----------------------------------------------------------------------------
For version 1.2:
- Single line scroll up/down? [DONE]
- Color syntax highlighting? (certainly seems like there's a demand for it.)
- .nanorc [DONE]
- Backup making (filename~)? [DONE]
- Search (etc.) string history [DONE]
- Implement Pico's -j and -g flags, as they are pretty easy to do. [DONE]
- Make mouse support work with clicking on the shortcuts (-m). Must
make global variable pointing to current shortcut list to determine what
keystroke to ungetch(). [DONE].
- Implement -o (chroot of sorts) [DONE]
- Allow -r to take a negative argument, meaning right margin instead of
left (allows resizing that way), formerly -W arg. [DONE]
For version 1.4:
- UTF-8 support.
- Support for Pico's paragraph searching ability.
- Support for paragraph searches. [DONE]
- Support for justifying the entire file at once. [DONE]
- Support for filename searches in the file browser.
- Undo/Redo key?
- Rebindable keys?
- Keystroke to implement "Add next sequence as raw" like vi's ^V.
- Spell check selected text only.
[DONE for edit window, needs to be done for statusbar prompt]
- Spell check selected text only. [DONE]
- Make "To line" (^W^T) and "Read from Command" (^R^X) re-enter their
parent menu when their keystroke is entered a second time (^W^T^T and
(^R^X^X)(requires figuring out when to keep cursor pos and when not to).
(^R^X^X)(requires figuring out when to keep cursor pos and when not
to).
- Fix resetstatuspos global which we shouldn't have.
- Rewrite the nano FAQ in SGML.
Old requests:
For version 1.2:
- Single line scroll up/down? [DONE]
- Color syntax highlighting? (certainly seems like there's a demand for
it.) [DONE]
- .nanorc [DONE]
- Backup making (filename~)? [DONE]
- Search (etc.) string history [DONE]
- Implement Pico's -j and -g flags, as they are pretty easy to do.
[DONE]
- Make mouse support work with clicking on the shortcuts (-m). Must
make global variable pointing to current shortcut list to determine
what keystroke to ungetch(). [DONE].
- Implement -o (chroot of sorts) [DONE]
- Allow -r to take a negative argument, meaning right margin instead of
left (allows resizing that way), formerly -W arg. [DONE]
For version 1.0:
- Implement Spelling [DONE]
- Implement Help [DONE]

View File

@@ -125,7 +125,7 @@ if test "$with_gnu_ld" = yes; then
ld_shlibs=no
;;
beos*)
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
if $LD --help 2>&1 | grep -E ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
@@ -137,9 +137,9 @@ if test "$with_gnu_ld" = yes; then
hardcode_libdir_flag_spec='-L$libdir'
;;
solaris* | sysv5*)
if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
if $LD -v 2>&1 | grep -E 'BFD 2\.8' > /dev/null; then
ld_shlibs=no
elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
elif $LD --help 2>&1 | grep -E ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
@@ -149,7 +149,7 @@ if test "$with_gnu_ld" = yes; then
hardcode_direct=yes
;;
*)
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
if $LD --help 2>&1 | grep -E ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no

View File

@@ -2,31 +2,32 @@
#
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
#
# GNU Nano is free software; you can redistribute it and/or modify
# GNU nano is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# GNU Nano is distributed in the hope that it will be useful,
# GNU nano is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Nano; if not, write to the Free Software
# along with GNU nano; if not, write to the Free Software
# Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
AC_INIT([GNU Nano], [1.2.1], [nano-devel@gnu.org], [nano])
AC_CONFIG_SRCDIR([nano.c])
AC_INIT([GNU nano], [1.3.3], [nano-devel@gnu.org], [nano])
AC_CONFIG_SRCDIR([src/nano.c])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([config.h:config.h.in])
AC_PREREQ(2.52)
AC_PREREQ(2.54)
dnl Checks for programs.
AC_GNU_SOURCE
AC_PROG_CC
AC_ISC_POSIX
AC_SYS_LARGEFILE
@@ -43,9 +44,18 @@ AC_CHECK_HEADER(regex.h,
AC_TRY_RUN([
#include <sys/types.h>
#include <regex.h>
int main() { regex_t reg; size_t n; regmatch_t r; regcomp(&reg, ".", 0); regexec(&reg, "", n, &r, 0); return 0; }],
int main(void)
{
regex_t reg;
size_t n = 1;
regmatch_t r;
regcomp(&reg, "\\<", 0);
regexec(&reg, "", n, &r, 0);
regfree(&reg);
return 0;
}],
AC_MSG_RESULT(no),
AC_MSG_RESULT(yes); AC_DEFINE(BROKEN_REGEXEC, 1, [Define this if your regexec() function segfaults when passed an empty string.])
AC_MSG_RESULT(yes); AC_DEFINE(BROKEN_REGEXEC, 1, [Define this if your regexec() function segfaults when passed an empty string under certain conditions.])
)
)
@@ -199,9 +209,12 @@ AC_ARG_WITH(slang,
_libs=$LIBS
LIBS="$LIBS -lslang"
AC_TRY_RUN([
#include <stdio.h>
#include <slcurses.h>
int main () { SLtt_initialize (NULL); return 0; }],
int main(void)
{
SLtt_initialize(NULL);
return 0;
}],
[AC_MSG_RESULT(yes)
AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.])
slang_support=yes
@@ -221,9 +234,12 @@ int main () { SLtt_initialize (NULL); return 0; }],
AC_MSG_CHECKING([for SLtt_initialize in -lslang $tcap])
LIBS="$LIBS $tcap"
AC_TRY_RUN([
#include <stdio.h>
#include <slcurses.h>
int main () { SLtt_initialize (NULL); return 0; }],
int main(void)
{
SLtt_initialize(NULL);
return 0;
}],
[AC_MSG_RESULT(yes)
AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.])
slang_support=yes
@@ -238,9 +254,12 @@ int main () { SLtt_initialize (NULL); return 0; }],
AC_MSG_CHECKING([for SLtt_initialize in -lslang $tcap -lm])
LIBS="$LIBS -lm"
AC_TRY_RUN([
#include <stdio.h>
#include <slcurses.h>
int main () { SLtt_initialize (NULL); return 0; }],
int main(void)
{
SLtt_initialize(NULL);
return 0;
}],
[AC_MSG_RESULT(yes)
AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.])
slang_support=yes
@@ -270,17 +289,16 @@ AC_MSG_WARN([*** Can not use slang when cross-compiling])),
esac], [AC_MSG_RESULT(no)])
dnl Checks for functions
AC_CHECK_FUNCS(snprintf vsnprintf strcasecmp strncasecmp)
AC_CHECK_FUNCS(snprintf vsnprintf isblank strcasecmp strncasecmp strcasestr strnlen)
if test "x$ac_cv_func_snprintf" = "xno" -o "xac_cv_func_vsnprintf" = "xno"
then
AM_PATH_GLIB(1.2.4,,
[AC_MSG_ERROR([
AM_PATH_GLIB_2_0(2.0.0,,
[AM_PATH_GLIB(1.2.4,,
[AC_MSG_ERROR([
*** snprintf() and/or vsnprintf() not found. GLIB not found either.
*** You need both snprintf() and vsnprintf(). Alternatively you can
*** install the GLIB library which can be found at ftp://ftp.gtk.org/.])],
glib)
glib_cflags=`$GLIB_CONFIG --cflags glib`
glib_libs=`$GLIB_CONFIG --libs glib`
glib)])
fi
dnl Checks for typedefs, structures, and compiler characteristics.
@@ -327,24 +345,6 @@ fi
AC_CHECK_LIB([$CURSES_LIB_NAME], use_default_colors, AC_DEFINE(HAVE_USE_DEFAULT_COLORS, 1, [Define this if your curses library has the use_default_colors command.]))
if test x$slang_support != xyes; then
AC_CHECK_LIB([$CURSES_LIB_NAME], wresize, AC_DEFINE(HAVE_WRESIZE, 1, [Define this if you have the wresize function in your ncurses-type library.]))
AC_CHECK_LIB([$CURSES_LIB_NAME], resizeterm, AC_DEFINE(HAVE_RESIZETERM, 1, [Define this if you have the resizeterm function in your ncurses-type library.]))
# Taken from aumix (can't tell from the variable name?)
AC_CACHE_CHECK([for private member _use_keypad in WINDOW],
aumix_cv_struct_window_usekeypad,
[AC_TRY_COMPILE([#ifdef HAVE_NCURSES_H
#include <ncurses.h>
#else
#include <curses.h>
#endif], [WINDOW w; w._use_keypad;],
aumix_cv_struct_window_usekeypad=yes, aumix_cv_struct_window_usekeypad=no)])
if test $aumix_cv_struct_window_usekeypad = yes; then
AC_DEFINE(HAVE_USEKEYPAD, 1, [Define this if your curses lib has the _use_keypad flag.])
fi
fi
dnl Parse any configure options
@@ -352,14 +352,25 @@ LIBS="$LIBS $CURSES_LIB"
AC_SUBST(CURSES_LIB)
if test "x$glib_cflags" != "x"
if test "x$GLIB_CFLAGS" != "x"
then
CFLAGS="$CFLAGS $glib_cflags"
CFLAGS="$CFLAGS $GLIB_CFLAGS"
fi
if test "x$glib_libs" != "x"
if test "x$GLIB_LIBS" != "x"
then
LDFLAGS="$LDFLAGS $glib_libs"
LDFLAGS="$LDFLAGS $GLIB_LIBS"
fi
AC_CONFIG_FILES([Makefile m4/Makefile po/Makefile.in nano.spec])
AC_CONFIG_FILES([
Makefile
doc/Makefile
doc/man/Makefile
doc/man/fr/Makefile
doc/texinfo/Makefile
m4/Makefile
po/Makefile.in
src/Makefile
nano.spec
])
AC_OUTPUT

2
doc/.cvsignore Normal file
View File

@@ -0,0 +1,2 @@
Makefile
Makefile.in

3
doc/Makefile.am Normal file
View File

@@ -0,0 +1,3 @@
SUBDIRS = man texinfo
EXTRA_DIST = faq.html nanorc.sample

View File

@@ -29,16 +29,17 @@
<a href="#3.5">3.5. Nano should automatically run strip on the binary when installing it!</a><br>
<a href="#3.6">3.6. How can I make the executable smaller? This is too bloated!</a><br>
<a href="#3.7">3.7. Tell me more about this multibuffer stuff!</a><br>
<a href="#3.8">3.8. How do I make a .nanorc file that nano will read when I start it?</a></p></blockquote>
<a href="#3.8">3.8. Tell me more about this verbatim input stuff!</a><br>
<a href="#3.9">3.9. How do I make a .nanorc file that nano will read when I start it?</a></p></blockquote>
<h2><a href="#4">4. Running</a></h2>
<blockquote><p><a href="#4.1">4.1. Ack! My backspace/delete/enter/double bucky/meta key doesn't seem to work! What can I do?</a><br>
<a href="#4.2">4.2. Nano crashes when I type &lt;insert keystroke here&gt;!</a><br>
<a href="#4.3">4.3. Nano crashes when I resize my window. How can I fix that?</a><br>
<a href="#4.4">4.4. [version 1.1.12 and earlier] Why does nano show ^\ in the shortcut list instead of ^J?</a><br>
<a href="#4.5a">4.5a. [version 1.1.12 and earlier] When I type in a search string, the string I last searched for is already in front of my cursor! What happened?!</a><br>
<a href="#4.5b">4.5b. [version 1.2.1 and later] Hey, the search string behavior has reverted, it's now like Pico, what happened to the consistency?</a><br>
<a href="#4.6">4.6. I get the message &quot;NumLock glitch detected. Keypad will malfunction with NumLock off.&quot; What gives?</a><br>
<a href="#4.7">4.7. How do I make nano my default editor (in Pine, mutt, etc.)?</a></p></blockquote>
<a href="#4.5b">4.5b. [version 1.2.2 and later] Hey, the search string behavior has reverted, it's now like Pico, what happened to the consistency?</a><br>
<a href="#4.6">4.6. How do I make nano my default editor (in Pine, mutt, etc.)?</a><br>
<a href="#4.7">4.7. I've compiled nano with color support, but I don't see any color when I run it!</a></p></blockquote>
<h2><a href="#5">5. Internationalization</a></h2>
<blockquote><p><a href="#5.1">5.1. There's no translation for my language!</a><br>
<a href="#5.2">5.2. I don't like the translation for &lt;x&gt; in my language. How can I fix it?</a></p></blockquote>
@@ -77,7 +78,7 @@
<h2><a name="1.5"></a>1.5. Why the name change from TIP?</h2>
<blockquote><p>On January 10, 2000, TIP was officially renamed to nano because of a namespace conflict with another program called 'tip'. The original 'tip' program &quot;establishes a full duplex terminal connection to a remote host&quot;, and was included with many older Unix systems (and newer ones like Solaris). The conflict was not noticed at first because there is no 'tip' utility included with most GNU/Linux distributions (where nano was developed).</p></blockquote>
<h2><a name="1.6"></a>1.6. What is the current version of nano?</h2>
<blockquote><p>The current version of nano *should* be 1.2.1. Of course you should always check the nano homepage to see what the latest and greatest version is.</p></blockquote>
<blockquote><p>The current version of nano *should* be 1.3.3. Of course you should always check the nano homepage to see what the latest and greatest version is.</p></blockquote>
<h2><a name="1.7"></a>1.7. I want to read the man page without having to download the program!</h2>
<blockquote><p>Jeez, demanding, aren't we? Okay, look <a href="http://www.nano-editor.org/dist/v1.2/nano.1.html">here</a>.</p></blockquote>
<hr width="100%">
@@ -156,10 +157,14 @@
<b>--enable-multibuffer</b> Enables having multiple file buffers open
<b>--enable-all</b> Enables all of the above features</pre></blockquote>
<h2><a name="3.7"></a>3.7. Tell me more about this multibuffer stuff!</h2>
<blockquote><p>To use multiple file buffers, you must be using nano 1.1.12 or newer, and you must have configured nano with <b>--enable-multibuffer</b> or <b>--enable-extra</b> (use nano -V to check). Then when you want to enable inserting a file into its own buffer instead of into the current file, just hit <b>Meta-F</b>, then insert the file as normal with <b>^R</b>. If you always want files to be loaded into their own buffers, use the <b>--multibuffer</b> or <b>-F</b> flag when you invoke nano. </p>
<blockquote><p>To use multiple file buffers, you must be using nano 1.1.0 or newer, and you must have configured nano with <b>--enable-multibuffer</b> or <b>--enable-extra</b> (use nano -V to check). Then when you want to enable inserting a file into its own buffer instead of into the current file, just hit <b>Meta-F</b>, then insert the file as normal with <b>^R</b>. If you always want files to be loaded into their own buffers, use the <b>--multibuffer</b> or <b>-F</b> flag when you invoke nano.</p>
<p>You can move between the buffers you have open with the <b>Meta-&lt;</b> and <b>Meta-&gt;</b> keys, or more easily with <b>Meta-,</b> and <b>Meta-.</b> (clear as mud, right? =-). When you have more than one file buffer open, the ^X shortcut will say &quot;Close&quot;, instead of the normal &quot;Exit&quot; when only one buffer is open.</p></blockquote>
<h2><a name="3.8"></a>3.8. How do I make a .nanorc file that nano will read when I start it?</h2>
<blockquote>It's not hard at all! But, your version of nano must have been compiled with <b>--enable-nanorc</b>, and again must be version 1.1.12 or newer (use nano -V to check your version and compiled features). Then simply copy the <b>nanorc.sample</b> that came with the nano source or your nano package (most likely in /usr/doc/nano) to .nanorc in your home directory. If you didn't get one, the syntax is simple. Flags are turned on and off by using the word <b>set</b> and the getopt_long flag for the feature, for example &quot;set pico&quot; or &quot;set nowrap&quot;.</blockquote>
<h2><a name="3.8"></a>3.8. Tell me more about this verbatim input stuff!</h2>
<blockquote><p>To use verbatim input, you must be using nano 1.3.1 or newer. When you want to insert a literal character into the file you're editing, such as a control character that nano usually treats as a command, first press <b>Meta-V</b>. (If you're not at a prompt, you'll get the message &quot;Verbatim input&quot;.) Then press the key(s) that generate the character you want.</p>
<p>Alternatively, you can press <b>Meta-V</b> and then type a three-digit ASCII code from 000 to 255, and the character with that ASCII code will be inserted instead.</p>
<p><b>NOTE:</b> Verbatim input doesn't work at prompts right now. This will be fixed soon.</p></blockquote>
<h2><a name="3.9"></a>3.9. How do I make a .nanorc file that nano will read when I start it?</h2>
<blockquote><p>It's not hard at all! But, your version of nano must have been compiled with <b>--enable-nanorc</b>, and again must be version 1.1.12 or newer (use nano -V to check your version and compiled features). Then simply copy the <b>nanorc.sample</b> that came with the nano source or your nano package (most likely in /usr/doc/nano) to .nanorc in your home directory. If you didn't get one, the syntax is simple. Flags are turned on and off by using the word <b>set</b> and the getopt_long flag for the feature, for example &quot;set nowrap&quot; or &quot;set suspend&quot;.</p></blockquote>
<hr width="100%">
<h1><a name="4"></a>4. Running</h1>
<h2><a name="4.1"></a>4.1. Ack! My backspace/delete/enter/double bucky/meta key doesn't seem to work! What can I do?</h2>
@@ -175,12 +180,9 @@
<a name="4.5"></a>
<h2><a name="4.5a"></a>4.5a. [version 1.1.12 and earlier] When I type in a search string, the string I last searched for is already in front of my cursor! What happened?!</h2>
<blockquote><p>In nano version 0.9.20, the default is to have a completely consistent user interface across all user input functions. This means that regardless of whether you're being asked for a filename to insert or write, or a string to search for, the previous value is already inserted before the cursor. If you prefer the old behavior, use the Pico emulation mode (-p or --pico) or just hit Meta-P while in nano (see the ^G help text for more details).</p></blockquote>
<h2><a name="4.5b"></a>4.5b. [version 1.2.1 and later] Hey, the search string behavior has reverted, it's now like Pico, what happened to the consistency?</h2>
<h2><a name="4.5b"></a>4.5b. [version 1.2.2 and later] Hey, the search string behavior has reverted, it's now like Pico, what happened to the consistency?</h2>
<blockquote><p>It was decided that consistency was nice, but people are used to Pico's inconsistent behavior. Also, in version 1.1.99pre1, search and replace history was introduced. If you wish to edit your previous search/replace entry (or any previous entry), you can do so by hitting the up arrow to cycle through your history. This method allows the best of both worlds: You don't need to erase the previous string if you want to enter a new one, but you can with one keystroke recall previous entries for editing. Therefore there is now no "Pico mode", nano is and has always been a Pico <b>clone</b>, and clones by default should be compatible.</p></blockquote>
<h2><a name="4.6"></a>4.6. I get the message &quot;NumLock glitch detected. Keypad will malfunction with NumLock off.&quot; What gives?</h2>
<blockquote><p>Nano (and actually almost all console editors) has issues when cycling the NumLock key in certain X terminals (rxvt, aterm, wterm, etc...). When you switch NumLock from on to off, you put the terminal into an &quot;application mode&quot; that changes what sequences are sent by the keypad. These sequences vary sufficiently from terminal to terminal that it is nearly impossible to work around them from within nano.</p>
<p>In a nutshell, if you want to be able to use the keypad with the arrow and page up/down functionality, you have to exit nano and reset your terminal (presumably with &quot;reset&quot; or &quot;stty sane&quot; or similar) and then run nano again with NumLock off. If you know an easier way to restore &quot;normal mode&quot;, please mail <a href="mailto:nano@nano-editor.org">nano@nano-editor.org</a>.</p></blockquote>
<h2><a name="4.7"></a>4.7. How do I make nano my default editor (in Pine, mutt, etc.)?</h2>
<h2><a name="4.6"></a>4.6. How do I make nano my default editor (in Pine, mutt, etc.)?</h2>
<blockquote><p>You need to make nano your $EDITOR. If you want this to be saved, you should put a line like this in your <b>.bashrc</b> if you use bash (or <b>.zshrc</b> if you believe in zsh):</p>
<p><b>export EDITOR=/usr/local/bin/nano</b></p>
<p>or if you use tcsh put this in your <b>.cshrc</b> file:</p>
@@ -193,6 +195,8 @@
<p>Mutt users should see an effect immediately the next time you log in, no further configuration is needed. However, if you want to let people know you use nano to compose your email messages, you can put a line like this in your <b>.muttrc</b>:</p>
<p><b>my_hdr X-Composer: nano x.y.z</b></p>
<p>Again, replace x.y.z with the version of nano you use.</p></blockquote>
<h2><a name="4.7"></a>4.7. I've compiled nano with color support, but I don't see any color when I run it!</h2>
<blockquote><p>If you want nano to actually use color, you have to specify the color configurations you want it to use in your .nanorc. Some example configurations are in the <b>nanorc.sample</b> that comes with the nano source or your nano package. See Section <a href="#3.9">3.9</a>.</p></blockquote>
<hr width="100%">
<h1><a name="5"></a>5. Internationalization</h1>
<h2><a name="5.1"></a>5.1. There's no translation for my language!</h2>
@@ -233,8 +237,12 @@
<h2><a name="8"></a>8. ChangeLog</h2>
<blockquote>
<p>
2003/02/23 - Updated RPM links for nano 1.2.x. (DLR).<br>
2003/01/16 - Split section 4.5 into 4.5a and 4.5b for search string behavior. Added --enable-all docs.<br>
2004/04/07 - Removed NumLock glitch question, as it's no longer needed. (DLR)<br>
2004/01/30 - Fixed inaccuracy: multibuffer mode was first in nano 1.1.0, not 1.1.12. (DLR)<br>
2003/12/31 - Added question about the new verbatim input function, and a few minor fixes. Removed reference to &quot;set pico&quot; (DLR).<br>
2003/07/02 - Added question about nano's not showing color when it's compiled with color support (DLR; suggested by Jordi).<br>
2003/02/23 - Updated RPM links for nano 1.2.x (DLR).<br>
2003/01/16 - Split section 4.5 into 4.5a and 4.5b for search string behavior. Added --enable-all docs.<br>
2002/12/28 - More misc. fixes (David Benbennick, DLR).<br>
2002/10/25 - Misc. fixes and link updates (DLR).<br>
2002/09/10 - Another typo fix (DLR).<br>

4
doc/man/.cvsignore Normal file
View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
nanorc.5.html
nano.1.html

12
doc/man/Makefile.am Normal file
View File

@@ -0,0 +1,12 @@
SUBDIRS = fr
man_MANS = nano.1 nanorc.5
BUILT_SOURCES = nano.1.html nanorc.5.html
nano.1.html: nano.1
cat $< | groff -t -mandoc -Thtml > $@
nanorc.5.html: nanorc.5
cat $< | groff -t -mandoc -Thtml > $@
EXTRA_DIST = $(man_MANS) $(BUILT_SOURCES)

4
doc/man/fr/.cvsignore Normal file
View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
nanorc.5.html
nano.1.html

10
doc/man/fr/Makefile.am Normal file
View File

@@ -0,0 +1,10 @@
man_MANS = nano.1 nanorc.5
BUILT_SOURCES = nano.1.html nanorc.5.html
nano.1.html: nano.1
cat $< | groff -t -mandoc -Thtml > $@
nanorc.5.html: nanorc.5
cat $< | groff -t -mandoc -Thtml > $@
EXTRA_DIST = $(man_MANS) $(BUILT_SOURCES)

229
doc/man/fr/nano.1 Normal file
View File

@@ -0,0 +1,229 @@
.\" Hey, EMACS: -*- nroff -*-
.\" nano.1 is copyright (C) 1999, 2000, 2001, 2002, 2003 by
.\" Chris Allegretta <chrisa@asty.org>
.\"
.\" (c) 2003 Jean-Philippe Guérard <jean-philippe.guerard@corbeaunoir.org>
.\" pour l'adaptation française
.\"
.\" This is free documentation, see the latest version of the GNU General
.\" Public License for copying conditions. There is NO warranty.
.\"
.\" Ce document est libre. Reportez-vous à la dernière version de la
.\" licence publique générale GNU (GNU GPL) pour connaître ses
.\" conditions d'utilisation. AUCUNE garantie n'est offerte.
.\"
.TH NANO 1 "19 juin 2003 (v.f. du 25 août 2003)"
.\" Please adjust this date whenever revising the manpage.
.\" Merci de modifier ces dates à chaque mise à jour de cette page.
.SH NOM
nano \- NAno un NOuvel éditeur, un clone libre et amélioré de Pico
.SH SYNOPSIS
.B nano
.I [\+LIGNE]\ [options]\ [fichier]
.br
.SH DESCRIPTION
Cette page de manuel décrit brièvement la commande \fBnano\fP.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invoke bold face and italics,
.\" respectively.
\fBnano\fP est un petit éditeur sympathique et libre, qui vise à remplacer
Pico, l'éditeur par défaut du paquet non-libre Pine. \fBnano\fP ne se
contentant pas de copier l'interface et l'ergonomie de Pico, il offre
également certaines fonctionnalités manquantes (ou désactivées par
défaut) de Pico. Ces fonctionnalités sont, par exemple, les fonctions de
recherche et de remplacement, et la possibilité de sauter directement à
un numéro de ligne.
.SH OPTIONS
.TP
.B \+\fILIGNE\fP
Démarre avec le curseur positionné à la ligne numéro \fILIGNE\fP.
.TP
.B \-B (\-\-backup)
Lors de l'écriture d'un fichier, crée une copie de sécurité de la
version précédente, en ajoutant un tilde (~) au nom du fichier.
.TP
.B \-D (\-\-dos)
Écrit le fichier au format DOS.
.TP
.B \-F (\-\-multibuffer)
Active le mode multifichiers, autorisant l'édition simultanée de
plusieurs fichiers, si ce mode est disponible.
.TP
.B \-H (\-\-historylog)
Enregistre les chaînes ayant fait l'objet d'une recherche ou d'un
remplacement dans le fichier
.I ~/.nano_history
afin de permettre leur réutilisation. Ceci n'est possible que si
.B nano
est capable d'utiliser les fichiers
nanorc.
.TP
.B \-I (\-\-ignorercfiles)
N'utilise pas les fichiers
.I $SYSCONFDIR/nanorc
et
.IR ~/.nanorc ,
même si
.B nano
est capable de les utiliser.
.TP
.B \-K (\-\-keypad)
Essaie au maximum de ne pas utiliser les appels keypad() de ncurses.
Utilisez ce paramètre si vous vous apercevez que les flèches du pavé
numérique ne fonctionnent pas sous nano.
.TP
.B \-M (\-\-mac)
Écrit le fichier au format Mac.
.TP
.B \-N (\-\-noconvert)
Désactive la conversion automatique des fichiers depuis les
formats Mac et DOS.
.TP
.B \-Q \fIchaîne\fP (\-\-quotestr=\fIchaîne\fP)
Définit le préfixe par défaut des citations. Nano utilise ce préfixe
pour réaliser une justification correcte des citations.
Si nano est capable d'utiliser des expressions rationnelles, le préfixe
par défaut sera "^([\ \\t]*[|>:}#])+", sinon, ce sera ">\ ".
.TP
.B \-R (\-\-regexp)
Active l'utilisation d'expressions rationnelles lors des recherches,
ainsi que la possibilité d'utiliser \\\fIn\fP dans les chaînes de
remplacement pour faire référence à la \fIn\fP-ième sous-expression du
motif de recherche, si cette fonction est disponible.
.TP
.B \-S (\-\-smooth)
Active le défilement progressif. Le texte défilera ligne-par-ligne au
lieu de défiler morceau-par-morceau.
.TP
.B \-T \fInombre\fP (\-\-tabsize=\fInombre\fP)
Définit la taille (largeur) des tabulations.
.TP
.B \-V (\-\-version)
Affiche le numéro de version et l'auteur.
.TP
.B \-Y \fIchaîne\fP (\-\-syntax=\fIchaîne\fP)
Indique quel mode de colorisation syntaxique adopter, parmi les modes
définis dans le fichier
.IR .nanorc ,
si cette fonctionnalité est disponible.
.TP
.B \-c (\-\-const)
Affiche en permanence la position du curseur.
.TP
.B \-h (\-\-help)
Affiche de la liste des options disponibles en ligne de commande.
.TP
.B \-i (\-\-autoindent)
Indentation automatique. Commence chaque nouvelle ligne au même niveau
que la ligne précédente. Utile pour l'édition de code source.
.TP
.B \-k (\-\-cut)
^K coupe le texte du curseur à la fin de la ligne, au lieu de couper la
ligne entière.
.TP
.B \-l (\-\-nofollow)
Si le fichier édité est un lien symbolique, remplace le lien par le
nouveau fichier, sans le suivre. Ce mode ne serait-il pas utile pour
éditer les fichiers de
.IR /tmp \ ?
.TP
.B \-m (\-\-mouse)
Active l'utilisation de la souris (si elle est disponible sur votre
système).
.TP
.B \-o \fIrépertoire\fP (\-\-operatingdir=\fIrépertoire\fP)
Définit le répertoire de travail. Demande à nano de mettre en place
quelque-chose de similaire à une cage chroot.
.TP
.B \-p (\-\-preserve)
Préserve les séquences XON et XOFF (^Q et ^S), afin qu'elle soient
reçues par le terminal.
.TP
.B \-r \fIcolonne\fP (\-\-fill=\fIcolonne\fP)
Passe automatiquement à la ligne à la colonne \fIcolonne\fP. Par défaut,
le passage à la ligne se fait à la taille de l'écran moins huit. Si la
valeur indiquée est négative, le point de passage à la ligne sera
calculé relativement au bord droit de l'écran. Cela permet de faire
varier le point de passage à la ligne lorsque l'on change la taille de
l'écran.
.TP
.B \-s \fIprogramme\fP (\-\-speller=\fIprogramme\fP)
Choix d'un correcteur orthographique de remplacement.
.TP
.B \-t (\-\-tempfile)
S'il a été modifié, le fichier sera sauvegardé automatiquement sans
demande de confirmation. Identique à l'option -t de Pico.
.TP
.B \-v (\-\-view)
Mode visualisation (lecture seule).
.TP
.B \-w (\-\-nowrap)
Désactive le passage automatique à la ligne.
.TP
.B \-x (\-\-nohelp)
Désactive la barre d'aide affichée en bas de l'écran.
.TP
.B \-z (\-\-suspend)
Autorise à suspendre l'éditeur.
.TP
.B \-a, \-b, \-e, \-f, \-g, \-j
Ignoré, pour être compatible avec Pico.
.SH FICHIERS D'INITIALISATION
\fBnano\fP lit les fichiers d'initialisation dans l'ordre suivant\ :
\fI$SYSCONFDIR/nanorc\fP, puis \fI~/.nanorc\fP. Reportez-vous à la page
de manuel de \fBnanorc\fP(5) et au fichier-exemple \fInanorc.sample\fP
qui devrait être livré avec \fBnano\fP.
.SH NOTES
Dans certains cas, \fBnano\fP essaiera de sauvegarder le fichier en
cours d'édition dans un fichier de secours. Cela arrivera
principalement si \fBnano\fP reçoit un signal SIGHUP ou SIGTERM, ou
bien se trouve à court de mémoire. Le nom de ce fichier de secours sera
\fInano.save\fP si le fichier en cours n'avait pas encore de nom, ou
sera composé du nom du fichier en cours suivi du suffixe «\ .save\ ». Si
un fichier de ce nom existe déjà dans le répertoire, un «\ .save\ » et
un nombre seront ajoutée à la fin du nom du fichier en cours afin de le
rendre unique (par exemple, «\ .save.1\ »). En mode multifichiers,
\fBnano\fP réalisera une sauvegarde de tous les fichiers en cours dans
leurs fichiers de secours respectifs.
.SH BOGUES
Merci de nous faire parvenir vos commentaires et de nous signaler les
bogues, en écrivant, en anglais, à
.BR nano@nano-editor.org .
N'hésitez pas à faire parvenir vos suggestions et commentaires relatifs
à la version française de \fBnano\fP à
.BR jean-philippe.guerard@corbeaunoir.org .
La liste de discussion anglophone \fBnano\fP est disponible via
.BR nano-devel@gnu.org .
Pour vous abonner, envoyez un courrier électronique à
.BR nano-devel-request@gnu.org ,
ayant pour objet «\ subscribe\ ».
.SH SITE INTERNET
http://www.nano-editor.org/
.SH VOIR AUSSI
.PD 0
.TP
\fBnanorc\fP(5)
.PP
\fI/usr/share/doc/nano/\fP (ou son équivalent sur votre système)
.SH AUTEUR
Chris Allegretta <chrisa@asty.org> et d'autres (voir les fichiers
\fIAUTHORS\fP et \fITHANKS\fP pour plus d'information). Cette page de
manuel a été initialement rédigée par Jordi Mallach
<jordi@sindominio.net> pour le système GNU Debian (mais elle peut être
utilisée par d'autres).
.SH TRADUCTION
Jean-Philippe Guérard <jean-philippe.guerard@corbeaunoir.org>, 2003.

198
doc/man/fr/nanorc.5 Normal file
View File

@@ -0,0 +1,198 @@
.\" Hey, EMACS: -*- nroff -*-
.\" nanorc.5 is Copyright (C) 2003 Free Software Foundation, Inc.
.\"
.\" (c) 2003 Jean-Philippe Guérard <jean-philippe.guerard@corbeaunoir.org>
.\" pour l'adaptation française
.\"
.\" This is free documentation, see the latest version of the GNU General
.\" Public License for copying conditions. There is NO warranty.
.\"
.\" Ce document est libre. Reportez-vous à la dernière version de la
.\" licence publique générale GNU (GNU GPL) pour connaître ses
.\" conditions d'utilisation. AUCUNE garantie n'est offerte.
.\"
.TH NANORC 5 "19 juin 2003 (v.f. du 25 août 2003)"
.\" Please adjust this date whenever revising the manpage.
.\" Merci de modifier ces dates à chaque mise à jour de cette page.
.SH NAME
nanorc \- fichier de configuration de l'éditeur nano du projet GNU
.SH DESCRIPTION
Cette page de manuel décrit brièvement le fichier de configuration de
l'éditeur \fBnano\fP du projet GNU.
.PP
\fBnano\fP est un petit éditeur sympathique et libre, qui vise à
remplacer Pico, l'éditeur par défaut du paquet non-libre Pine.
\fBnano\fP ne se contentant pas de copier l'interface et l'ergonomie de
Pico, il offre également certaines fonctionnalités manquantes (ou
désactivées par défaut) de Pico. Ces fonctionnalités sont, par exemple,
les fonctions de recherche et de remplacement, et la possibilité de
sauter directement à un numéro de ligne.
.PP
Le fichier \fInanorc\fP contient les paramètres par défaut de
\fBnano\fP. Lors de son démarrage, nano commence par lire le fichier de
configuration général \fI$SYSCONFDIR/nanorc\fP, puis lit le fichier de
configuration personnel de l'utilisateur \fI~/.nanorc\fP.
.SH OPTIONS
Le fichier de configuration accepte une série de commandes «\ set\ »
(activer) et «\ unset\ » (désactiver), qui permettent de définir la
configuration de nano au démarrage sans avoir à utiliser d'options sur
la ligne de commande.
De plus, les mots clefs «\ syntax\ » (syntaxe) et «\ color\ » (couleur)
sont utilisés pour définir les règles de colorisation pour différents
motifs de texte. Nano lira une commande par ligne.
Les options du fichier de configuration ont priorité sur les valeurs par
défaut utilisées par nano. Les options données sur la ligne de commande
permettent d'outrepasser les options du fichier de configuration.
Les options sont désactivées (unset) par défaut, sauf les options
prenant un argument.
Les commandes et arguments reconnus sont\ :
.TP 3
\fBset/unset autoindent\fP
Active l'indentation automatique.
.TP
\fBset/unset backup\fP
Crée des copie de sécurité appelées
.IR nom_du_fichier~ .
.TP
\fBset/unset const\fP
Affiche en permanence la position du curseur dans la barre
d'information.
.TP
\fBset/unset cut\fP
Par défaut, utilise ^K pour couper le texte du curseur à la fin de la
ligne, au lieu de couper la ligne entière.
.TP
\fBset fill \fIn\fP\fP
Passe automatiquement à la ligne à la colonne \fIn\fP. Si la valeur
indiquée est 0 ou moins, la longueur de la ligne sera égale à la largeur
de l'écran moins \fIn\fP. La valeur par défaut est -8.
.TP
\fBset/unset historylog\fP
Active l'utilisation de
.I ~/.nano_history
pour enregistrer et relire les chaînes ayant fait l'objet d'une
recherche ou d'un remplacement.
.TP
\fBset/unset keypad\fP
Utilise l'autre gestion du pavé numérique.
.TP
\fBset/unset multibuffer\fP
Permet de charger simultanément plusieurs fichiers.
.TP
\fBset/unset noconvert\fP
Pas de conversion depuis les formats DOS et Mac.
.TP
\fBset/unset nofollow\fP
Ne suit pas les liens symboliques lors de l'écriture des fichiers.
.TP
\fBset/unset nohelp\fP
Désactive la barre d'aide affichée en bas de l'écran.
.TP
\fBset/unset nowrap\fP
Désactive le passage automatique à la ligne.
.TP
\fBset operatingdir "\fIrépertoire\fP"\fP
\fBnano\fP ne lira et n'écrira des fichiers qu'à l'intérieur du
\fIrépertoire\fP et de ses sous-répertoires. De plus, celui-ci devient
le répertoire courant, afin que les fichiers soient écrits dans ce
dossier. Par défaut, cette fonction est désactivée.
.TP
\fBset/unset preserve\fP
Préserve les séquences XON et XOFF (^Q et ^S).
.TP
\fBset quotestr "\fIchaîne\fP"\fP
Définit le préfixe par défaut utilisé pour les citations dans les
courriers électroniques. Ce préfixe est utilisé pour réaliser une
justification correcte de ces citations. Il s'agira, si votre système le
permet, d'une «\ expression rationnelle étendue\ ». Dans le cas
contraire, il s'agira d'une chaîne de texte brut. Si vous disposez des
expressions rationnelles, la valeur par défaut sera\ :
set quotestr "^([\ \\t]*[|>:}#])+"
Sinon, ce sera ">\ ". Notez que le «\ \\t\ » ci-dessus correspond à un
caractère de tabulation.
.TP
\fBset/unset regexp\fP
Utilise par défaut des expressions rationnelles pour les recherches.
.TP
\fBset/unset smooth\fP
Active le défilement ligne-par-ligne du texte.
.TP
\fBset speller \fIprogramme\fP\fP
Utilise le correcteur orthographique \fIprogramme\fP au lieu du
correcteur intégré, qui s'appuie sur \fIspell\fP.
.TP
\fBset/unset suspend\fP
Autorise à suspendre nano avec ^Z.
.TP
\fBset tabsize \fIn\fP\fP
Utilise une largeur de tabulation de \fIn\fP au lieu de la valeur par
défaut (8). Cette valeur doit être supérieur à 0.
.TP
\fBset/unset tempfile\fP
S'il a été modifié, le fichier sera sauvegardé automatiquement
sans demande de confirmation.
.TP
\fBset/unset view\fP
Interdit la modification du fichier.
.TP
.B syntax "\fIchaîne\fP" ["\fImotif_de_fichier\fP" ... ]
Définit une syntaxe nommée \fIchaîne\fP qui pourra être activé via
l'option \fB-Y\fP, ou qui sera automatiquement activé si le nom du
fichier en cours correspond au \fImotif_de_fichier\fP. Toutes les
instructions de colorisation \fBcolor\fP suivantes s'appliqueront à cette
syntaxe, jusqu'à la définition d'une nouvelle syntaxe.
.TP
.B color \fIcouleur_texte\fP[,\fIcouleur_fond\fP] "\fImotif\fP" ...
Pour la syntaxe en cours, affiche toutes les expressions correspondant à
l'expression rationnelle \fImotif\fP en utilisant la couleur de texte
\fIcouleur_texte\fP et éventuellement la couleur de fond
\fIcouleur_fond\fP. Les couleurs acceptées par \fBnano\fP pour le
texte et le fond sont\ : \fIwhite\fP (blanc), \fIblack\fP (noir),
\fIred\fP (rouge), \fIblue\fP (bleu), \fIgreen\fP (vert), \fIyellow\fP
(jaune), \fImagenta\fP, et \fIcyan\fP. Vous pouvez ajouter à
ces couleurs le préfixe \fIbright\fP pour obtenir une couleur plus
lumineuse. Si votre terminal est capable de gérer la transparence, ne
pas spécifier de \fIcouleur_fond\fP indique à \fBnano\fP d'essayer
d'utiliser un fond transparent.
.TP
.B color \fIcouleur_texte\fP[,\fIcouleur_fond\fP] start="\fImotif_début\fP" end="\fImotif_fin\fP"
Affiche les expressions commençant par \fImotif_début\fP et se terminant
par \fImotif_fin\fP en utilisant la couleur de texte \fIcouleur_texte\fP
et éventuellement la couleur de fond \fIcouleur_fond\fP. Cela permet à
la colorisation syntaxique de s'étendre sur plusieurs lignes. Notez que
toutes les occurrences successives de \fImotif_début\fP après le
\fImotif_début\fP initial seront colorées jusqu'à la prochaine instance
de \fImotif_fin\fP.
.SH FICHIERS
.TP
.I $SYSCONFDIR/nanorc
Fichier de configuration général
.TP
.I ~/.nanorc
Fichier de configuration personnel
.SH VOIR AUSSI
.PD 0
.TP
\fBnano\fP(1)
.PP
\fI/usr/share/doc/nano/examples/nanorc.sample\fP (ou son équivalent sur
votre système)
.SH AUTEUR
Chris Allegretta <chrisa@asty.org> et d'autres (voir les fichiers
\fIAUTHORS\fP et \fITHANKS\fP pour plus d'information). Cette page de
manuel a été rédigée par Jordi Mallach <jordi@gnu.org>.
.SH TRADUCTION
Jean-Philippe Guérard <jean-philippe.guerard@corbeaunoir.org>, 2003.

View File

@@ -3,10 +3,10 @@
.\" Chris Allegretta <chrisa@asty.org>
.\"
.\" This is free documentation, see the latest version of the GNU General
.\" Public License for copying conditions. There is NO warranty.
.\" Public License for copying conditions. There is NO warranty.
.\"
.\" $Id$
.TH NANO 1 "February 9, 2003"
.TH NANO 1 "version 1.3.3" "June 28, 2004"
.\" Please adjust this date whenever revising the manpage.
.\"
@@ -22,10 +22,10 @@ nano \- Nano's ANOther editor, an enhanced free Pico clone
This manual page documents briefly the \fBnano\fP command.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invoke bold face and italics,
.\" \fI<whatever>\fP escape sequences to invoke bold face and italics,
.\" respectively.
\fBnano\fP is a small, free and friendly editor which aims to replace
Pico, the default editor included in the non-free Pine package. Rather
Pico, the default editor included in the non-free Pine package. Rather
than just copying Pico's look and feel, \fBnano\fP also implements some
missing (or disabled by default) features in Pico, such as "search and
replace" and "go to line number".
@@ -35,6 +35,13 @@ replace" and "go to line number".
.B \+\fILINE\fP
Places cursor at \fILINE\fP on startup.
.TP
.B \-A (\-\-smarthome)
Make the Home key smarter. When Home is pressed anywhere but at the
very beginning of non-whitespace characters on a line, the cursor will
jump to that beginning (either forwards or backwards). If the cursor is
already at that position, it will jump to the true beginning of the
line.
.TP
.B \-B (\-\-backup)
When saving a file, back up the previous version of it to the current
filename suffixed with a ~.
@@ -42,21 +49,25 @@ filename suffixed with a ~.
.B \-D (\-\-dos)
Write file in DOS format.
.TP
.B \-E \fIdir\fP (\-\-backupdir=\fIdir\fP)
Set the directory where \fBnano\fP puts the backup files if file backups
are enabled.
.TP
.B \-F (\-\-multibuffer)
Enable multiple file buffers, if available.
.TP
.B \-H (\-\-historylog)
Log search and replace strings to ~/.nano_history so they may be
stored for later editing, if nanorc support is configured.
Log search and replace strings to
.I ~/.nano_history
so they may be stored for later editing, if nanorc support is
configured.
.TP
.B \-I (\-\-ignorercfiles)
Don't look at $SYSCONFDIR/nanorc or ~/.nanorc, if nanorc support is
available.
.TP
.B \-K (\-\-keypad)
Do not use the ncurses keypad() call unless necessary. Try this flag if
you find that the arrow keys on the numeric keypad do not work for you
under nano.
Don't look at
.I SYSCONFDIR/nanorc
or
.IR ~/.nanorc ,
if nanorc support is available.
.TP
.B \-M (\-\-mac)
Write file in Mac format.
@@ -66,59 +77,74 @@ Disable automatic conversion of files from DOS/Mac format.
.TP
.B \-Q \fIstr\fP (\-\-quotestr=\fIstr\fP)
Set the quoting string for justifying. The default is
"^([ \\t]*[|>:}#])+" if regular expression support is available, or
"> " otherwise.
"^([\ \\t]*[|>:}#])+" if regular expression support is available, or
">\ " otherwise.
.TP
.B \-R (\-\-regexp)
Enable regular expression matching for search strings, as well as
\\n subexpression replacement for replace strings, if available.
.TP
.B \-S (\-\-smooth)
Enable smooth scrolling. Text will scroll line-by-line, instead of the
Enable smooth scrolling. Text will scroll line-by-line, instead of the
usual chunk-by-chunk behavior.
.TP
.B \-T \fInum\fP (\-\-tabsize=\fInum\fP)
Set the size (width) of a tab.
.B \-T \fIcols\fP (\-\-tabsize=\fIcols\fP)
Set the size (width) of a tab to \fIcols\fP columns.
.TP
.B \-V (\-\-version)
Show the current version number and author.
.TP
.B \-Y \fIstr\fP (\-\-syntax=\fIstr\fP)
Specify a specific syntax highlighting from the .nanorc to use, if
available.
Specify a specific syntax highlighting from the
.I nanorc
to use, if available.
.TP
.B \-Z (\-\-restricted)
Restricted mode: Don't read or write to any file not specified on the
command line, read any nanorc files, allow suspending, or allow a file
to be appended to, prepended to, or saved under a different name if it
already has one. Also accessible by invoking \fBnano\fP with any name
beginning with 'r' (e.g. "rnano").
.TP
.B \-c (\-\-const)
Constantly show the cursor position.
.TP
.B \-d (\-\-rebinddelete)
Interpret the Delete key differently so that both Backspace and Delete
work properly. You should only need to use this option if Backspace
acts like Delete on your system.
.TP
.B \-h (\-\-help)
Display a summary of command line options.
.TP
.B \-i (\-\-autoindent)
Indent new lines to the previous line's indentation. Useful when editing
source code.
Indent new lines to the previous line's indentation. Useful when
editing source code.
.TP
.B \-k (\-\-cut)
Enable cut from cursor to end of line with ^K.
.TP
.B \-l (\-\-nofollow)
If the file being edited is a symbolic link, replace the link with
a new file, do not follow it. Good for editing files in /tmp, perhaps?
a new file, do not follow it. Good for editing files in
.IR /tmp ,
perhaps?
.TP
.B \-m (\-\-mouse)
Enable mouse support (if available for your system).
.TP
.B \-o \fIdir\fP (\-\-operatingdir=\fIdir\fP)
Set operating directory. Makes nano set up something similar to a
Set operating directory. Makes nano set up something similar to a
chroot.
.TP
.B \-p (\-\-preserve)
Preserve the XON and XOFF sequences (^Q and ^S) so they will be
caught by the terminal.
Preserve the XON and XOFF sequences (^Q and ^S) so they will be caught
by the terminal.
.TP
.B \-r \fIcols\fP (\-\-fill=\fIcols\fP)
Wrap lines at column \fIcols\fP. By default, this is the width of the
screen, less eight. If this value is negative, wrapping will occur at
\fIcols\fP columns from the right of the screen, allowing the wrap point
\fIcols\fP columns from the right of the screen, allowing the wrap point
to vary along with the screen width if resized.
.TP
.B \-s \fIprog\fP (\-\-speller=\fIprog\fP)
@@ -143,32 +169,42 @@ Enable suspend ability.
Ignored, for compatibility with Pico.
.SH INITIALIZATION FILE
\fBnano\fP will read initialization files in the following
order: $SYSCONFDIR/nanorc, then ~/.nanorc. Please see nanorc(5) and
the example file \fBnanorc.sample\fP which should be provided with
\fBnano\fP.
\fBnano\fP will read initialization files in the following order:
.IR SYSCONFDIR/nanorc ,
then
.IR ~/.nanorc .
Please see
.BR nanorc (5)
and the example file \fBnanorc.sample\fP which should be provided with
\fBnano\fP.
.SH NOTES
If no alternative spell checker command is specified on the command
line or in one of the nanorc files, \fBnano\fP will check the
\fBSPELL\fP environment variable for one.
\fBnano\fP will try to dump the buffer into an emergency file in some
cases. Mainly, this will happen if \fBnano\fP receives a SIGHUP or
SIGTERM or runs out of memory, when it will write the buffer into a file
named "nano.save" if the buffer didn't have a name already, or will add
a ".save" suffix to the current filename. If an emergency file with that
name already exists in the current directory, ".save" and a number (e.g.
".save.1") will be suffixed to the current filename in order to make it
unique. In multibuffer mode, \fBnano\fP will write all the open buffers
to the respective emergency files.
named
.I nano.save
if the buffer didn't have a name already, or will add a ".save" suffix
to the current filename. If an emergency file with that name already
exists in the current directory, ".save" and a number (e.g. ".save.1")
will be suffixed to the current filename in order to make it unique. In
multibuffer mode, \fBnano\fP will write all the open buffers to the
respective emergency files.
.SH BUGS
Please send any comments or bug reports to
.br
.B nano@nano-editor.org.
.br
.BR nano@nano-editor.org .
The \fBnano\fP mailing list is available from
.br
.B nano-devel@gnu.org.
To subscribe, email to nano-devel-request@gnu.org with a
subject of "subscribe".
.BR nano-devel@gnu.org .
To subscribe, email to
.B nano-devel-request@gnu.org
with a subject of "subscribe".
.SH HOMEPAGE
http://www.nano-editor.org/
@@ -181,8 +217,10 @@ http://www.nano-editor.org/
\fI/usr/share/doc/nano/\fP (or equivalent on your system)
.SH AUTHOR
Chris Allegretta <chrisa@asty.org>, et al (see AUTHORS and THANKS for
details).
This manual page was originally written by Jordi Mallach
<jordi@sindominio.net>, for the Debian GNU system (but may be
used by others).
Chris Allegretta <chrisa@asty.org>, et al (see
.I AUTHORS
and
.I THANKS
for details). This manual page was originally written by Jordi Mallach
<jordi@sindominio.net>, for the Debian GNU system (but may be used by
others).

View File

@@ -2,37 +2,38 @@
.\" nanorc.5 is Copyright (C) 2003 Free Software Foundation, Inc.
.\"
.\" This is free documentation, see the latest version of the GNU General
.\" Public License for copying conditions. There is NO warranty.
.\" Public License for copying conditions. There is NO warranty.
.\"
.\" $Id$
.TH NANORC 5 "February 14, 2003"
.TH NANORC 5 "version 1.3.3" "June 28, 2004"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
nanorc \- GNU nano's rcfile
.SH SYNOPSIS
.B /etc/nanorc
.br
.B $HOME/.nanorc
.br
.SH DESCRIPTION
This manual page documents GNU \fBnano\fP's rcfile.
.PP
\fBnano\fP is a small, free and friendly editor which aims to replace
Pico, the default editor included in the non-free Pine package. Rather
Pico, the default editor included in the non-free Pine package. Rather
than just copying Pico's look and feel, \fBnano\fP also implements some
missing (or disabled by default) features in Pico, such as "search and
replace" and "go to line number".
.PP
The \fInanorc\fP file contains the default settings for \fBnano\fP.
During startup, \fBnano\fP will first read its system-wide settings from
.IR SYSCONFDIR/nanorc ,
and then user-specific settings from
.IR ~/.nanorc .
.SH OPTIONS
The configuration file accepts a series of "set" and "unset" commands,
which can be used to configure nano on startup without using the
command-line options. Additionally, the "syntax" and "color" keywords
are used to define syntax highlighting rules for different text patterns.
GNU nano will read one command per line.
command-line options. Additionally, the "syntax" and "color" keywords
are used to define syntax highlighting rules for different text
patterns. GNU nano will read one command per line.
Options in rcfiles take precedence over nano's defaults, and command line
options override rcfile settings.
Options in rcfiles take precedence over nano's defaults, and command
line options override rcfile settings.
Options are unset by default, except for options that take an argument.
@@ -43,7 +44,16 @@ The supported commands and arguments are:
Use auto-indentation.
.TP
\fBset/unset backup\fP
Create backup files in filename~.
Create backup files in
.IR filename~ .
.TP
\fBset backupdir "\fIdirectory\fP"\fP
Set the directory where \fBnano\fP puts the backup files if file backups
are enabled.
\fBset brackets "\fIstring\fP"\fP
Set the characters treated as closing brackets. They cannot contain
tabs or spaces. Only closing punctuation, optionally followed by
closing brackets, can end sentences.
.TP
\fBset/unset const\fP
Constantly display the cursor position in the status bar.
@@ -55,8 +65,10 @@ Use cut to end of line with ^K by default.
Wrap lines at column number \fIn\fP. If \fIn\fP is 0 or less, the line
length will be the screen width less \fIn\fP. The default value is -8.
.TP
\fBset/unset keypad\fP
Use alternate keypad routines.
\fBset/unset historylog\fP
Enable
.I ~/.nano_history
for saving and reading search/replace strings.
.TP
\fBset/unset multibuffer\fP
Allow inserting files into their own buffers.
@@ -75,26 +87,43 @@ Don't wrap text at all.
.TP
\fBset operatingdir "\fIdirectory\fP"\fP
\fBnano\fP will only read and write files inside \fIdirectory\fP and its
subdirectories. Also, the current directory is changed to here, so files
are inserted from this dir. By default the operating directory feature is
turned off.
subdirectories. Also, the current directory is changed to here, so
files are inserted from this dir. By default the operating directory
feature is turned off.
.TP
\fBset/unset preserve\fP
Preserve the XON and XOFF keys (^Q and ^S).
.TP
\fBset punct "\fIstring\fP"\fP
Set the characters treated as closing punctuation. They cannot contain
tabs or spaces. Only closing punctuation, optionally followed by
closing brackets, can end sentences.
.TP
\fBset quotestr "\fIstring\fP"\fP
The email-quote string, used to justify email-quoted paragraphs. This is
an "extended regular expression" if your system supports them, otherwise a
literal string. The default value is
The email-quote string, used to justify email-quoted paragraphs. This
is an "extended regular expression" if your system supports them,
otherwise a literal string. The default value is
set quotestr "^([ \\t]*[|>:}#])+"
set quotestr "^([\ \\t]*[|>:}#])+"
if you have regexps, otherwise set quotestr "> ". Note that '\\t' above
stands for a literal Tab character.
if you have regexps, otherwise set quotestr ">\ ". Note that '\\t'
above stands for a literal Tab character.
.TP
\fBset/unset rebinddelete\fP
Interpret the Delete key differently so that both Backspace and Delete
work properly. You should only need to use this option if Backspace
acts like Delete on your system.
.TP
\fBset/unset regexp\fP
Do regular expression searches by default.
.TP
\fBset/unset smarthome\fP
Make the Home key smarter. When Home is pressed anywhere but at the
very beginning of non-whitespace characters on a line, the cursor will
jump to that beginning (either forwards or backwards). If the cursor is
already at that position, it will jump to the true beginning of the
line.
.TP
\fBset/unset smooth\fP
Use smooth scrolling by default.
.TP
@@ -106,49 +135,60 @@ calls \fIspell\fP.
Allow nano to be suspended with ^Z.
.TP
\fBset tabsize \fIn\fP\fP
Use a tab size of \fIn\fP instead of the default (8); must be greater
than 0.
Use a tab size of \fIn\fP columns instead of the default (8); must be
greater than 0.
.TP
\fBset/unset tempfile\fP
Save automatically on exit, don't prompt.
.TP
\fBset/unset historylog\fP
Enable ~/.nano_history for saving and reading search/replace strings.
.TP
\fBset/unset view\fP
Disallow file modification.
.TP
\fBset whitespace "\fIstring\fP"\fP
Set the two characters used to display the first characters of tabs and
spaces. They cannot be control characters.
.TP
.B syntax "\fIstr\fP" ["\fIfileregex\fP" ... ]
Defines a syntax named \fIstr\fP which can be activated via the
\fB-Y\fP flag, or will be automatically activated if the current
filename matches \fIfileregex\fP. All following \fBcolor\fP statements
will apply to \fIsyntax\fP until a new syntax is defined.
Defines a syntax named \fIstr\fP which can be activated via the \fB-Y\fP
flag, or will be automatically activated if the current filename matches
\fIfileregex\fP. All following \fBcolor\fP statements will apply to
\fIsyntax\fP until a new syntax is defined.
.TP
.B color \fIfgcolor\fP[,\fIbgcolor\fP] "\fIregex\fP" ...
For the currently defined syntax, display all expressions matching
\fIregex\fP with foreground color \fIfgcolor\fP and optional background
color \fIbgcolor\fP. Legal colors for foreground and background color are:
white, black, red, blue, green, yellow, magenta, and cyan. You may use
the prefix "bright" to force a stronger color highlight. If your
terminal supports transparency, not specifying a \fIbgcolor\fP tells
For the currently defined syntax, display all expressions matching
\fIregex\fP with foreground color \fIfgcolor\fP and optional background
color \fIbgcolor\fP. Legal colors for foreground and background color
are: white, black, red, blue, green, yellow, magenta, and cyan. You may
use the prefix "bright" to force a stronger color highlight. If your
terminal supports transparency, not specifying a \fIbgcolor\fP tells
\fBnano\fP to attempt to use a transparent background.
.TP
.B color \fIfgcolor\fP[,\fIbgcolor\fP] start="\fIsr\fP" end="\fIer\fP"
Display expressions which start with \fIsr\fP and end with \fIer\fP
with foreground color \fIfgcolor\fP and optional
background color \fIbgcolor\fP. This allows syntax highlighting to span
multiple lines. Note that all subsequent instances of \fIsr\fP after
an initial \fIsr\fP is found will be highlighted until the first
instance of \fIer\fP.
Display expressions which start with \fIsr\fP and end with \fIer\fP
with foreground color \fIfgcolor\fP and optional background color
\fIbgcolor\fP. This allows syntax highlighting to span multiple lines.
Note that all subsequent instances of \fIsr\fP after an initial \fIsr\fP
is found will be highlighted until the first instance of \fIer\fP.
\fI
.SH FILES
.TP
.I SYSCONFDIR/nanorc
System-wide configuration file
.TP
.I ~/.nanorc
Per-user configuration file
.SH SEE ALSO
.PD 0
.TP
\fBnano\fP(1)
.PP
\fI/usr/share/doc/nano/examples/nanorc.sample\fP (or equivalent on your system)
\fI/usr/share/doc/nano/examples/nanorc.sample\fP (or equivalent on your
system)
.SH AUTHOR
Chris Allegretta <chrisa@asty.org>, et al (see AUTHORS and THANKS for
details).
Chris Allegretta <chrisa@asty.org>, et al (see
.I AUTHORS
and
.I THANKS
for details).
This manual page was written by Jordi Mallach <jordi@gnu.org>.

242
doc/nanorc.sample Normal file
View File

@@ -0,0 +1,242 @@
## Sample initialization file for GNU nano
## Please note that you must have configured nano with --enable-nanorc
## for this file to be read! Also note that characters specially
## interpreted by the shell should not be escaped here.
##
## To make sure a value is not enabled, use "unset <option>"
##
## For the options that take parameters, the default value is given.
## Other options are unset by default.
## Use auto-indentation.
# set autoindent
## Backup files to filename~.
# set backup
## The directory to put the backup files in.
# set backupdir ""
## The characters treated as closing brackets. They cannot contain tabs
## or spaces. Only closing punctuation, optionally followed by closing
## brackets, can end sentences.
##
# set brackets "'")}]>"
## Constantly display the cursor position in the status bar.
# set const
## Use cut to end of line with ^K by default.
# set cut
## Set the line length for wrapping text and justifying paragraphs.
## If fill is negative, the line length will be the screen width less
## this number.
##
# set fill -8
## Enable ~/.nano_history for saving and reading search/replace strings.
# set historylog
## Enable mouse support so that mouse clicks can be used to set the mark
## and run shortcuts.
# set mouse
## Allow multiple file buffers (using ^R will insert into a separate
## buffer). You must have configured with --enable-multibuffer or
## --enable-extra for this to work.
##
# set multibuffer
## Don't convert files from DOS/Mac format.
# set noconvert
## Don't follow symlinks when writing files.
# set nofollow
## Don't display the helpful shortcut lists at the bottom of the screen.
# set nohelp
## Don't wrap text at all.
# set nowrap
## Set operating directory. nano will not read or write files outside
## this directory and its subdirectories. Also, the current directory
## is changed to here, so files are inserted from this dir. A blank
## string means the operating directory feature is turned off.
##
# set operatingdir ""
## Preserve the XON and XOFF keys (^Q and ^S).
# set preserve
## The characters treated as closing punctuation. They cannot contain
## tabs or spaces. Only closing punctuation, optionally followed by
## closing brackets, can end sentences.
##
# set punct ".?!"
## The email-quote string, used to justify email-quoted paragraphs.
## This is an extended regular expression if your system supports them,
## otherwise a literal string. Default:
# set quotestr "^([ ]*[\|>:}#])+"
## if you have regexps, otherwise:
# set quotestr "> "
## You can get old nano quoted-justify behavior via:
# set quotestr "(> )+"
## Fix Backspace/Delete confusion problem.
# set rebinddelete
## Do extended regular expression searches by default.
# set regexp
## Make the Home key smarter. When Home is pressed anywhere but at the
## very beginning of non-whitespace characters on a line, the cursor
## will jump to that beginning (either forwards or backwards). If the
## cursor is already at that position, it will jump to the true
## beginning of the line.
# set smarthome
## Use smooth scrolling as the default.
# set smooth
## Use this spelling checker instead of the internal one. This option
## does not properly have a default value.
##
# set speller "aspell -c"
## Allow nano to be suspended with ^Z.
# set suspend
## Use this tab size instead of the default; it must be greater than 0.
# set tabsize 8
## Save automatically on exit, don't prompt.
# set tempfile
## Disallow file modification, why would you want this in an rc file? ;)
# set view
## The two characters used to display the first characters of tabs and
## spaces. ASCII 187 and ASCII 183 seem to be good values for these.
# set whitespace " "
## Color setup
## Format:
## syntax "short description" ["filename regex" ...]
## color foreground,background "regex" ["regex"...]
##
## Legal colors: white, black, red, blue, green, yellow, magenta, cyan.
## You may use the prefix "bright" to mean a stronger color highlight.
##
## To use multi-line regexes use the start="regex" end="regex" format.
##
## If your system supports transparency, not specifying a background
## color will use a transparent color. If you don't want this, be sure
## to set the background color to black or white.
##
# syntax "c-file" "\.(c|h)$"
# color red "\<[A-Z_]{2,}\>"
# color green "\<(float|char|int|void|static|const|struct)\>"
# color brightyellow "\<(if|while|do|else|case|switch)\>"
# color brightcyan "^ *# *(define|include|ifn?def|endif|elif|else|if)"
##
## You will in general want your comments and strings to come last,
## because syntax highlighting rules will be applied in the order they
## are read in.
##
# color brightyellow "<[^= ]*>" ""(\\.|[^\"])*""
##
## This string is VERY resource intensive!!!
# color brightyellow start=""(\\.|[^\"])*\\ *$" end="^(\\.|[^\"])*""
##
## And we want to have some nice comment highlighting too
# color brightblue "//.*"
# color brightblue start="/\*" end="\*/"
## Here is a short example for HTML
# syntax "HTML" "\.html$"
# color blue start="<" end=">"
# color red "&[^; ]*;"
## Here is a short example for TeX files
# syntax "TeX" "\.tex$"
# color green "\\.|\\[A-Za-z]*"
# color magenta "[{}]"
# color blue "%.*"
## Here is an example for quoted emails (under e.g. mutt)
# syntax "mutt"
# color green "^>.*"
## Here is an example for groff
##
# syntax "groff" "\.ms$" "\.mm$" "\.me$" "\.tmac$" "^tmac." ".rof"
## The argument of .nr or .ds
# color cyan "^\.ds [^ ]*"
# color cyan "^\.nr [^ ]*"
## Single character escapes
# color brightmagenta "\\."
## Highlight the argument of \f or \s in the same color
# color brightmagenta "\\f."
# color brightmagenta "\\f\(.."
# color brightmagenta "\\s(\+|\-)?[0-9]"
## \n
# color cyan "(\\|\\\\)n."
# color cyan "(\\|\\\\)n\(.."
# color cyan start="(\\|\\\\)n\[" end="]"
## Requests
# color brightgreen "^\. *[^ ]*"
## Comments
# color yellow "^\.\\\".*$"
## Strings
# color green "(\\|\\\\)\*."
# color green "(\\|\\\\)\*\(.."
# color green start="(\\|\\\\)\*\[" end="]"
## Characters
# color brightred "\\\(.."
# color brightred start="\\\[" end="]"
## Macro arguments
# color brightcyan "\\\\\$[1-9]"
## Here is an example for perl
##
# syntax "perl" "\.p[lm]$"
# color red "\<(accept|alarm|atan2|bin(d|mode)|c(aller|h(dir|mod|op|own|root)|lose(dir)?|onnect|os|rypt)|d(bm(close|open)|efined|elete|ie|o|ump)|e(ach|of|val|x(ec|ists|it|p))|f(cntl|ileno|lock|ork)|get(c|login|peername|pgrp|ppid|priority|pwnam|(host|net|proto|serv)byname|pwuid|grgid|(host|net)byaddr|protobynumber|servbyport)|([gs]et|end)(pw|gr|host|net|proto|serv)ent|getsock(name|opt)|gmtime|goto|grep|hex|index|int|ioctl|join|keys|kill|last|length|link|listen|local(time)?|log|lstat|m|mkdir|msg(ctl|get|snd|rcv)|next|oct|open(dir)?|ord|pack|pipe|pop|printf?|push|q|qq|qx|rand|re(ad(dir|link)?|cv|do|name|quire|set|turn|verse|winddir)|rindex|rmdir|s|scalar|seek|seekdir|se(lect|mctl|mget|mop|nd|tpgrp|tpriority|tsockopt)|shift|shm(ctl|get|read|write)|shutdown|sin|sleep|socket(pair)?|sort|spli(ce|t)|sprintf|sqrt|srand|stat|study|substr|symlink|sys(call|read|tem|write)|tell(dir)?|time|tr|y|truncate|umask|un(def|link|pack|shift)|utime|values|vec|wait(pid)?|wantarray|warn|write)\>"
# color magenta "\<(continue|else|elsif|do|for|foreach|if|unless|until|while|eq|ne|lt|gt|le|ge|cmp|x|my|sub|use|package|can|isa)\>"
# color cyan start="[$@%]" end="( |\\W|-)"
# color yellow "".*"|qq\|.*\|"
# color white "[sm]/.*/"
# color white start="(^use| = new)" end=";"
# color green "#.*"
# color yellow start="<< 'STOP'" end="STOP"
## Here is an example for Java source
##
# syntax "Java source" "\.java$"
# color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
# color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
# color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
# color red ""[^\"]*""
# color yellow "\<(true|false|null)\>"
# color blue "//.*"
# color blue start="/\*" end="\*/"
# color brightblue start="/\*\*" end="\*/"
# color brightgreen,green " +$"
## Here is an example for your .nanorc
##
#syntax "nanorc" "(\.|/|)nanorc$"
## highlight possible errors and parameters
#color brightwhite "^ *(set|unset|syntax|color).*$"
## set, unset and syntax
#color cyan "^ *(set|unset) +(autoindent|backup|backupdir|brackets|const|cut|fill|historylog|mouse|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|punct|quotestr|rebinddelete|regexp|smarthome|smooth|speller|suspend|tabsize|tempfile|view|whitespace)"
#color green "^ *(set|unset|syntax)\>"
## colors
#color yellow "^ *color +(bright)?(white|black|red|blue|green|yellow|magenta|cyan)(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
#color magenta "^ *color\>" "\<(start|end)="
## strings
#color white "\"(\\.|[^\"])*\""
## comments
#color blue "^ *#.*$"

4
doc/texinfo/.cvsignore Normal file
View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
nano.info
texinfo.tex

5
doc/texinfo/Makefile.am Normal file
View File

@@ -0,0 +1,5 @@
info_TEXINFOS = nano.texi
MAKEINFO = makeinfo --no-split
EXTRA_DIST = nano.info

View File

@@ -8,8 +8,8 @@
@c Run `makeinfo' rather than `texinfo-format-buffer'.
@smallbook
@set EDITION 0.1
@set VERSION 1.2.1
@set UPDATED 17 Jan 2003
@set VERSION 1.3.3
@set UPDATED 28 Jun 2004
@dircategory Editors
@direntry
@@ -23,7 +23,7 @@
@titlepage
@title GNU @code{nano}
@subtitle a small and friendly text editor.
@subtitle version 1.2.1
@subtitle version 1.3.3
@author Chris Allegretta
@page
@@ -95,10 +95,10 @@ internationalization support, and filename tab completion.
The original goal for @code{nano} was a complete bug-for-bug compatible
emulation of Pico, but nano's main goal is to be as compatible as
possible while offering a superset of Pico's functionality.
Also see @xref{Pico Compatibility}, for other differences.
possible while offering a superset of Pico's functionality. Also see
@xref{Pico Compatibility}, for other differences.
Email bug reports to @email{nano@@nano-editor.org}.
Email bug reports to @email{nano@@nano-editor.org}.
@node Command Line Options, , Overview, Introduction
@section Command Line Options
@@ -107,6 +107,13 @@ Email bug reports to @email{nano@@nano-editor.org}.
@table @code
@item -A, --smarthome
Make the Home key smarter. When Home is pressed anywhere but at the
very beginning of non-whitespace characters on a line, the cursor will
jump to that beginning (either forwards or backwards). If the cursor is
already at that position, it will jump to the true beginning of the
line.
@item -B, --backup
When saving a file, back up the previous version of it to the current
filename suffixed with a ~.
@@ -114,18 +121,17 @@ filename suffixed with a ~.
@item -D, --dos
Write file in DOS format.
@item -E, --backupdir=[dir]
Set the directory where @code{nano} puts the backup files if file
backups are enabled.
@item -F, --multibuffer
Enable multiple file buffers, if available.
@item -I, --ignorercfiles
Don't look at $SYSCONFDIR/nanorc or ~/.nanorc, if nanorc support is
Don't look at SYSCONFDIR/nanorc or ~/.nanorc, if nanorc support is
available.
@item -K, --keypad
Do not use the ncurses keypad() call unless necessary. Try this flag if
you find that the arrow keys on the numeric keypad do not work for you
under @code{nano}.
@item -M, --mac
Write file in Mac format.
@@ -148,19 +154,31 @@ Turn on regular expression search and search/replace.
@item -S, --smooth
Enable smooth scrolling.
@item -T [num], --tabsize=[num]
Set the displayed tab length to [num] columns.
@item -T [num], --tabsize=[#cols]
Set the displayed tab length to [#cols] columns.
@item -V, --version
@item -V, --version
Print the version number and copyright and quit.
@item -Y, --syntax=[str]
Specify a specific syntax highlighting from the .nanorc to use, if
available.
@item -Z, --restricted
Restricted mode: Don't read or write to any file not specified on the
command line, read any nanorc files, allow suspending, or allow a file
to be appended to, prepended to, or saved under a different name if it
already has one. Also accessible by invoking @code{nano} with any name
beginning with 'r' (e.g. "rnano").
@item -c, --const
Constantly display the cursor position and line number on the statusbar.
@item -d, --rebinddelete
Interpret the Delete key differently so that both Backspace and Delete
work properly. You should only need to use this option if Backspace
acts like Delete on your system.
@item -h, --help
Print the usage and exit.
@@ -181,23 +199,24 @@ Enables the use of the mouse to select text (currently only useful for
running under the X window system).
@item -o [dir], --operatingdir=[dir]
Set operating directory. Makes @code{nano} set up something similar to a
chroot.
Set operating directory. Makes @code{nano} set up something similar to
a chroot.
@item -p, --preserve
Preserve the ^Q (XON) and ^S (XOFF) sequences so data being sent to the editor
can be can be stopped and started.
Preserve the ^Q (XON) and ^S (XOFF) sequences so data being sent to the
editor can be can be stopped and started.
@item -r [#cols], --fill=[#cols].
Wrap lines at column #cols. By default this is the width of the screen,
less eight. If this value is negative, wrapping will occur at #cols from
the right of the screen, allowing it to vary along with the screen width
if the screen is resized.
less eight. If this value is negative, wrapping will occur at #cols
from the right of the screen, allowing it to vary along with the screen
width if the screen is resized.
@item -s [prog], --speller=[prog]
Invoke [prog] as the spell checker. By default, @code{nano} uses its
own interactive spell checker that requires the @code{spell} program be
installed on your system.
Invoke [prog] as the spell checker. By default, @code{nano} uses the
command specified in the SPELL environment variable, or, if SPELL is not
set, its own interactive spell checker that requires the @code{spell}
program to be installed on your system.
@item -t, --tempfile
Do not ask whether or not to save the current contents of the file when
@@ -206,21 +225,21 @@ composer of a mailer program.
@anchor{Expert Mode}
@item -x, --nohelp
In Expert Mode, the Shortcut Lists will not appear at the bottom of the
screen. This affects the location of the statusbar as well, as in Expert
Mode it is located at the very bottom of the editor.
In Expert Mode, the Shortcut Lists will not appear at the bottom of the
screen. This affects the location of the statusbar as well, as in
Expert Mode it is located at the very bottom of the editor.
Note: When accessing the help system, Expert Mode is temporarily disabled
to display the help system navigation keys.
Note: When accessing the help system, Expert Mode is temporarily
disabled to display the help system navigation keys.
@item -v, --view
Do not allow the contents of the file to be altered. Note that this
flag should NOT be used in place of correct file permissions to implement
a read-only file.
flag should NOT be used in place of correct file permissions to
implement a read-only file.
@item -w, --nowrap
Do not wrap long lines at any length. This option overrides any value for
-r.
Do not wrap long lines at any length. This option overrides any value
for -r.
@item -z, --suspend
Enable suspend ability of @code{nano} using the system's suspend
@@ -249,38 +268,41 @@ Start at line number LINE instead of the default of line 1.
All key sequences in @code{nano} are entered using the keyboard.
@code{nano} is a ``modeless'' editor. All keys with the exception of
Control and Meta key sequences will enter text into the file being
edited.
edited.
@node Special Functions, The Titlebar, Entering Text, Editor Basics
@section Special Functions
Special functions use the Control key (displayed in the help and
shortcut lists as ^) or the Meta key (displayed as M).
shortcut lists as ^), the Meta key (displayed as M), or the Esc key.
@itemize @bullet
@item
Control key sequences are entered by holding down the Control key and
pressing the desired letter.
pressing the desired key, or by pressing the Esc key twice and pressing
the desired key.
@item
Meta key sequences can be entered in a number of
possible ways: Pressing the Escape key, then releasing it and pressing
the desired key, or holding down the Alt key while pressing the desired
key. This varies from keyboard to keyboard, and certain commercial
operating systems ``swallow'' the Alt key so that it never reaches the
application. If your operating system does this, you should use the
Escape key to generate Meta key sequences.
Pressing Esc twice and then typing a three-digit number from 000 to 255
will enter the character with the corresponding ASCII code.
@item
Meta key sequences can be entered in a number of possible ways: Pressing
the Escape key, then releasing it and pressing the desired key, or
holding down the Alt key while pressing the desired key. This varies
from keyboard to keyboard, and certain commercial operating systems
``swallow'' the Alt key so that it never reaches the application. If
your operating system does this, you should use the Escape key to
generate Meta key sequences.
@end itemize
@node The Titlebar, The Statusbar, Special Functions, Editor Basics
@section The Titlebar
The titlebar is the line displayed at the top of the editor. There are
three sections: left, center and right. The section on the left displays
the version of @code{nano} being used. The center section displays the
current file name, or ``New Buffer'' if the file has not yet been named.
The section on the right will display ``Modified'' if the file has been
modified since it was last saved or opened.
three sections: left, center and right. The section on the left
displays the version of @code{nano} being used. The center section
displays the current file name, or ``New Buffer'' if the file has not
yet been named. The section on the right will display ``Modified'' if
the file has been modified since it was last saved or opened.
Special modes: When @code{nano} is in ``File browser'' mode, the center
section will display the current directory instead of the filename.
@@ -302,13 +324,13 @@ the statusbar.
@section Shortcut Lists
The Shortcut Lists are the two lines at the bottom of the screen which
show some of the more commonly used functions in the editor.
show some of the more commonly used functions in the editor.
@node Online Help, Feature Toggles, Editor Basics, Top
@chapter Online Help
The online help system in @code{nano} is available by pressing ^G.
It is fairly self explanatory, documenting the various parts of the
It is fairly self explanatory, documenting the various parts of the
editor and available keystrokes. Navigation is via the ^Y (Page Up)
and ^V (Page Down) keys. ^X exits the help system.
@@ -317,8 +339,8 @@ and ^V (Page Down) keys. ^X exits the help system.
@chapter Feature Toggles
Toggles allow you to change certain aspects of the editor that
would normally be done via command line flags. They are invoked via
certain Meta key sequences. @xref{Special Functions}, for more info.
would normally be done via command line flags. They are invoked via
certain Meta key sequences. @xref{Special Functions}, for more info.
The following global toggles are available:
@table @code
@@ -332,12 +354,18 @@ toggles the -D (@code{--dos}) command line flag.
@item Multiple Files Toggle (Meta-F)
toggles the -F (@code{--multibuffer}) command line flag.
@item Backup File Toggle (Meta-H)
toggles the -A (@code{--smarthome}) command line flag.
@item AutoIndent Toggle (Meta-I)
toggles the -i (@code{--autoindent}) command line flag.
@item Cut To End Toggle (Meta-K)
toggles the -k (@code{--cut}) command line flag.
@item Auto Line Wrap Toggle (Meta-L)
toggles the -w (@code{--nowrap}) command line flag.
@item Mouse Toggle (Meta-M)
toggles the -m (@code{--mouse}) command line flag.
@@ -347,21 +375,12 @@ toggles the -M (@code{--mac}) command line flag.
@item Smooth Scrolling Toggle (Meta-S)
toggles the -S (@code{--smooth}) command line flag.
@item AutoWrap Toggle (Meta-W)
toggles the -w (@code{--nowrap}) command line flag.
@item Expert/Nohelp Toggle (Meta-X)
toggles the -x (@code{--nohelp}) command line flag.
@item Suspend Toggle (Meta-Z)
toggles the -z (@code{--suspend}) command line flag.
@item Open Previous File Toggle (Meta-<)
changes buffer to previously loaded file.
@item Open Next File Toggle (Meta->)
changes buffer to next loaded file.
@end table
@@ -375,7 +394,7 @@ find the desired file.
Basic movement in the file browser is accomplished with the arrow keys
and page up/down. The behavior of the enter (or `s') key varies by what
is currently selected. If the currently selected object is a directory,
the file browser will enter and display the contents of the directory.
the file browser will enter and display the contents of the directory.
If the object is a file, this filename and path are copied to the
statusbar and the file browser is exited.
@@ -387,17 +406,18 @@ are certain differences between the editors:
@table @code
@item Search and Replace History
As of version 1.2.1 of @code{nano}, text entered as search or replace
strings will be stored and can be accessed with the up/down
arrow keys. Previously, @code{nano} offered a more consistent, but incompatible
with Pico, method for entering search and replace strings. In the old
method, previous entries would be displayed by default as editable text
in front of the cursor, as opposed to being bracketed and uneditable as
it is in Pico. The old behavior could be made compatible with Pico via the
@code{-p} flag, but recent versions of Pico use the @code{-p} flag
to preserve the XON and XOFF sequences within the editor. Since with the new
method search and replace strings can still be edited by simply
hitting the up arrow key once, the old method was removed completely.
As of version 1.1.99pre1 of @code{nano}, text entered as search or
replace strings will be stored and can be accessed with the up/down
arrow keys. Previously, @code{nano} offered a more consistent, but
incompatible with Pico, method for entering search and replace strings.
In the old method, previous entries would be displayed by default as
editable text in front of the cursor, as opposed to being bracketed and
uneditable as it is in Pico. The old behavior could be made compatible
with Pico via the @code{-p} flag, but recent versions of Pico use the
@code{-p} flag to preserve the XON and XOFF sequences within the editor.
Since with the new method search and replace strings can still be edited
by simply hitting the up arrow key once, the old method was removed
completely.
@item Writing or Appending Selected Text to Files
@@ -405,13 +425,12 @@ Text selected using the Control-Caret (^^) key can be written out or
appended to a new or existing file using the Writeout key (^O).
@item Toggles
Many options which alter the functionality of the program can be
"toggled" on or off using Meta key sequences, meaning the program does
not have to be restarted to turn a particular feature of the editor
on or off. Please see the internal help function (^G) for a list of
what functions can be toggled for a particular version of
@code{nano}. Also see @xref{Feature Toggles}, though this may be out
of date.
Many options which alter the functionality of the program can be
"toggled" on or off using Meta key sequences, meaning the program does
not have to be restarted to turn a particular feature of the editor on
or off. Please see the internal help function (^G) for a list of what
functions can be toggled for a particular version of @code{nano}. Also
see @xref{Feature Toggles}, though this may be out of date.
@item Cursor Position Display
The output of the "Display Cursor Position" in @code{nano} displays
@@ -420,21 +439,21 @@ position of the cursor.
@item Interactive Replace and Spell Checker
It is worth noting that the @code{nano} replace function is interactive,
i.e. it does not stop after one search string is found and automatically
i.e, it does not stop after one search string is found and automatically
replace it. The @code{nano} implementation will stop at each search
string found and query whether to replace this instance or not. The
internal spell checker operates similarly. Note that these is no way
to force these functions to behave in the Pico fashion. As of
version 1.2.1, misspelled words are sorted and trimmed for
uniqueness in the internal spell checker such that the words 'apple'
and 'Apple' will be prompted for correction separately.
string found and query whether to replace this instance or not. The
internal spell checker operates similarly. Note that these is no way to
force these functions to behave in the Pico fashion. As of version
1.1.99pre1, misspelled words are sorted and trimmed for uniqueness in
the internal spell checker such that the words 'apple' and 'Apple' will
be prompted for correction separately.
@end table
@node Building and Configure Options, , Pico Compatibility, Top
@chapter Building and Configure Options
Building @code{nano} from source is fairly straightforward if you are familiar
with compiling programs with autoconf support:
Building @code{nano} from source is fairly straightforward if you are
familiar with compiling programs with autoconf support:
@itemize @bullet
@item tar xvfz nano-x.y.z.tar.gz (where x.y.z is the version of nano)
@@ -486,7 +505,7 @@ Disable all word wrapping in the editor. This also eliminates the -w
command line flag, as nonwrapping is then the default behavior.
@item --disable-nls
Disables Native Language support. This will make the available GNU
Disables Native Language support. This will make the available GNU
@code{nano} translations unusable.
@item --with-slang

907
global.c
View File

@@ -1,907 +0,0 @@
/* $Id$ */
/**************************************************************************
* global.c *
* *
* Copyright (C) 1999-2003 Chris Allegretta *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) *
* any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
* *
**************************************************************************/
#include "config.h"
#include <stdlib.h>
#include <assert.h>
#include <sys/stat.h>
#include "proto.h"
#include "nano.h"
/* Global variables */
/* wrap_at might be set in rcfile.c or nano.c */
int wrap_at = -CHARS_FROM_EOL;/* Right justified fill value, allows resize */
char *last_search = NULL; /* Last string we searched for */
char *last_replace = NULL; /* Last replacement string */
int search_last_line; /* Is this the last search line? */
int search_offscreen; /* Search lines not displayed */
int flags = 0; /* Our new flag containing many options */
WINDOW *edit; /* The file portion of the editor */
WINDOW *topwin; /* Top line of screen */
WINDOW *bottomwin; /* Bottom buffer */
char *filename = NULL; /* Name of the file */
#ifndef NANO_SMALL
struct stat originalfilestat; /* Stat for the file as we loaded it */
#endif
int editwinrows = 0; /* How many rows long is the edit
window? */
filestruct *current; /* Current buffer pointer */
int current_x = 0, current_y = 0; /* Current position of X and Y in
the editor - relative to edit
window (0,0) */
filestruct *fileage = NULL; /* Our file buffer */
filestruct *edittop = NULL; /* Pointer to the top of the edit
buffer with respect to the
file struct */
filestruct *editbot = NULL; /* Same for the bottom */
filestruct *filebot = NULL; /* Last node in the file struct */
filestruct *cutbuffer = NULL; /* A place to store cut text */
#ifdef ENABLE_MULTIBUFFER
openfilestruct *open_files = NULL; /* The list of open files */
#endif
#ifndef DISABLE_JUSTIFY
char *quotestr = NULL; /* Quote string. The default value is
set in main(). */
#endif
int resetstatuspos; /* Hack for resetting the status bar
cursor position */
char *answer = NULL; /* Answer str to many questions */
int totlines = 0; /* Total number of lines in the file */
long totsize = 0; /* Total number of bytes in the file */
int placewewant = 0; /* The column we'd like the cursor
to jump to when we go to the
next or previous line */
int tabsize = -1; /* Our internal tabsize variable. The
default value 8 is set in main(). */
char *hblank = NULL; /* A horizontal blank line */
#ifndef DISABLE_HELP
char *help_text; /* The text in the help window */
#endif
/* More stuff for the marker select */
#ifndef NANO_SMALL
filestruct *mark_beginbuf; /* the begin marker buffer */
int mark_beginx; /* X value in the string to start */
#endif
#ifndef DISABLE_OPERATINGDIR
char *operating_dir = NULL; /* Operating directory, which we can't */
char *full_operating_dir = NULL;/* go higher than */
#endif
#ifndef DISABLE_SPELLER
char *alt_speller = NULL; /* Alternative spell command */
#endif
shortcut *main_list = NULL;
shortcut *whereis_list = NULL;
shortcut *replace_list = NULL;
shortcut *replace_list_2 = NULL; /* 2nd half of replace dialog */
shortcut *goto_list = NULL;
shortcut *writefile_list = NULL;
shortcut *insertfile_list = NULL;
#ifndef DISABLE_HELP
shortcut *help_list = NULL;
#endif
#ifndef DISABLE_SPELLER
shortcut *spell_list = NULL;
#endif
#ifndef NANO_SMALL
shortcut *extcmd_list = NULL;
#endif
#ifndef DISABLE_BROWSER
shortcut *browser_list = NULL;
shortcut *gotodir_list = NULL;
#endif
#ifdef ENABLE_COLOR
const colortype *colorstrings = NULL;
syntaxtype *syntaxes = NULL;
char *syntaxstr = NULL;
#endif
#if !defined(DISABLE_BROWSER) || !defined(DISABLE_HELP) || (!defined(DISABLE_MOUSE) && defined(NCURSES_MOUSE_VERSION))
const shortcut *currshortcut; /* Current shortcut list we're using */
#endif
#ifndef NANO_SMALL
toggle *toggles = NULL;
#endif
#ifndef NANO_SMALL
historyheadtype search_history;
historyheadtype replace_history;
#endif
/* Regular expressions */
#ifdef HAVE_REGEX_H
regex_t search_regexp; /* Global to store compiled search regexp */
regmatch_t regmatches[10]; /* Match positions for parenthetical
subexpressions, max of 10 */
#endif
int curses_ended = FALSE; /* Indicates to statusbar() to simply
* write to stderr, since endwin() has
* ended curses mode. */
int length_of_list(const shortcut *s)
{
int i = 0;
for (; s != NULL; s = s->next)
i++;
return i;
}
/* Initialize a struct *without* our lovely braces =( */
void sc_init_one(shortcut **shortcutage, int key, const char *desc,
#ifndef DISABLE_HELP
const char *help,
#endif
int alt, int misc1, int misc2, int view, int (*func) (void))
{
shortcut *s;
if (*shortcutage == NULL) {
*shortcutage = nmalloc(sizeof(shortcut));
s = *shortcutage;
} else {
for (s = *shortcutage; s->next != NULL; s = s->next)
;
s->next = nmalloc(sizeof(shortcut));
s = s->next;
}
s->val = key;
s->desc = desc;
#ifndef DISABLE_HELP
s->help = help;
#endif
s->altval = alt;
s->misc1 = misc1;
s->misc2 = misc2;
s->viewok = view;
s->func = func;
s->next = NULL;
}
#ifndef NANO_SMALL
/* Create one new toggle structure, at the end of the toggles
* linked list. */
void toggle_init_one(int val, const char *desc, int flag)
{
toggle *u;
if (toggles == NULL) {
toggles = nmalloc(sizeof(toggle));
u = toggles;
} else {
for (u = toggles; u->next != NULL; u = u->next)
;
u->next = nmalloc(sizeof(toggle));
u = u->next;
}
u->val = val;
u->desc = desc;
u->flag = flag;
u->next = NULL;
}
void toggle_init(void)
{
char *toggle_const_msg, *toggle_autoindent_msg, *toggle_suspend_msg,
*toggle_nohelp_msg, *toggle_cuttoend_msg,
*toggle_noconvert_msg, *toggle_dos_msg, *toggle_mac_msg,
*toggle_backup_msg, *toggle_smooth_msg;
#if !defined(DISABLE_MOUSE) && defined(NCURSES_MOUSE_VERSION)
char *toggle_mouse_msg;
#endif
#ifndef DISABLE_WRAPPING
char *toggle_wrap_msg;
#endif
#ifdef ENABLE_MULTIBUFFER
char *toggle_load_msg;
#endif
#ifdef ENABLE_COLOR
char *toggle_syntax_msg;
#endif
/* There is no need to reinitialize the toggles. They can't
change. */
if (toggles != NULL)
return;
toggle_const_msg = _("Constant cursor position");
toggle_autoindent_msg = _("Auto indent");
toggle_suspend_msg = _("Suspend");
toggle_nohelp_msg = _("Help mode");
#if !defined(DISABLE_MOUSE) && defined(NCURSES_MOUSE_VERSION)
toggle_mouse_msg = _("Mouse support");
#endif
toggle_cuttoend_msg = _("Cut to end");
toggle_noconvert_msg = _("No conversion from DOS/Mac format");
toggle_dos_msg = _("Writing file in DOS format");
toggle_mac_msg = _("Writing file in Mac format");
toggle_backup_msg = _("Backing up file");
toggle_smooth_msg = _("Smooth scrolling");
#ifdef ENABLE_COLOR
toggle_syntax_msg = _("Color syntax highlighting");
#endif
#ifndef DISABLE_WRAPPING
toggle_wrap_msg = _("Auto wrap");
#endif
#ifdef ENABLE_MULTIBUFFER
toggle_load_msg = _("Multiple file buffers");
#endif
toggle_init_one(TOGGLE_CONST_KEY, toggle_const_msg, CONSTUPDATE);
toggle_init_one(TOGGLE_AUTOINDENT_KEY, toggle_autoindent_msg, AUTOINDENT);
toggle_init_one(TOGGLE_SUSPEND_KEY, toggle_suspend_msg, SUSPEND);
toggle_init_one(TOGGLE_NOHELP_KEY, toggle_nohelp_msg, NO_HELP);
#ifndef DISABLE_WRAPPING
toggle_init_one(TOGGLE_WRAP_KEY, toggle_wrap_msg, NO_WRAP);
#endif
#if !defined(DISABLE_MOUSE) && defined(NCURSES_MOUSE_VERSION)
toggle_init_one(TOGGLE_MOUSE_KEY, toggle_mouse_msg, USE_MOUSE);
#endif
toggle_init_one(TOGGLE_CUTTOEND_KEY, toggle_cuttoend_msg, CUT_TO_END);
#ifdef ENABLE_MULTIBUFFER
toggle_init_one(TOGGLE_LOAD_KEY, toggle_load_msg, MULTIBUFFER);
#endif
toggle_init_one(TOGGLE_NOCONVERT_KEY, toggle_noconvert_msg, NO_CONVERT);
toggle_init_one(TOGGLE_DOS_KEY, toggle_dos_msg, DOS_FILE);
toggle_init_one(TOGGLE_MAC_KEY, toggle_mac_msg, MAC_FILE);
toggle_init_one(TOGGLE_BACKUP_KEY, toggle_backup_msg, BACKUP_FILE);
toggle_init_one(TOGGLE_SMOOTH_KEY, toggle_smooth_msg, SMOOTHSCROLL);
#ifdef ENABLE_COLOR
toggle_init_one(TOGGLE_SYNTAX_KEY, toggle_syntax_msg, COLOR_SYNTAX);
#endif
}
#ifdef DEBUG
/* Deallocate all of the toggles. */
void free_toggles(void)
{
while (toggles != NULL) {
toggle *pt = toggles; /* Think "previous toggle" */
toggles = toggles->next;
free(pt);
}
}
#endif
#endif /* !NANO_SMALL */
/* Deallocate the given shortcut. */
void free_shortcutage(shortcut **shortcutage)
{
assert(shortcutage != NULL);
while (*shortcutage != NULL) {
shortcut *ps = *shortcutage;
*shortcutage = (*shortcutage)->next;
free(ps);
}
}
void shortcut_init(int unjustify)
{
#ifndef DISABLE_HELP
const char *nano_help_msg = "", *nano_writeout_msg = "", *nano_exit_msg =
"", *nano_goto_msg = "", *nano_justify_msg =
"", *nano_replace_msg = "", *nano_insert_msg =
"", *nano_whereis_msg = "", *nano_prevpage_msg =
"", *nano_nextpage_msg = "", *nano_cut_msg =
"", *nano_uncut_msg = "", *nano_cursorpos_msg =
"", *nano_spell_msg = "", *nano_up_msg = "", *nano_down_msg =
"", *nano_forward_msg = "", *nano_back_msg = "", *nano_home_msg =
"", *nano_end_msg = "", *nano_firstline_msg =
"", *nano_lastline_msg = "", *nano_refresh_msg =
"", *nano_mark_msg = "", *nano_delete_msg =
"", *nano_backspace_msg = "", *nano_tab_msg =
"", *nano_enter_msg = "", *nano_cancel_msg =
"", *nano_unjustify_msg = "", *nano_append_msg =
"", *nano_prepend_msg = "", *nano_tofiles_msg =
"", *nano_gotodir_msg = "", *nano_case_msg =
"", *nano_reverse_msg = "", *nano_execute_msg =
"", *nano_dos_msg = "", *nano_mac_msg =
"", *nano_backup_msg = "", *nano_editstr_msg = "";
#ifdef ENABLE_MULTIBUFFER
const char *nano_openprev_msg = "", *nano_opennext_msg =
"", *nano_multibuffer_msg = "";
#endif
#ifdef HAVE_REGEX_H
const char *nano_regexp_msg = "", *nano_bracket_msg = "";
#endif
nano_help_msg = _("Invoke the help menu");
nano_writeout_msg = _("Write the current file to disk");
#ifdef ENABLE_MULTIBUFFER
nano_exit_msg = _("Close currently loaded file/Exit from nano");
#else
nano_exit_msg = _("Exit from nano");
#endif
nano_goto_msg = _("Go to a specific line number");
nano_justify_msg = _("Justify the current paragraph");
nano_unjustify_msg = _("Unjustify after a justify");
nano_replace_msg = _("Replace text within the editor");
nano_insert_msg = _("Insert another file into the current one");
nano_whereis_msg = _("Search for text within the editor");
nano_prevpage_msg = _("Move to the previous screen");
nano_nextpage_msg = _("Move to the next screen");
nano_cut_msg = _("Cut the current line and store it in the cutbuffer");
nano_uncut_msg = _("Uncut from the cutbuffer into the current line");
nano_cursorpos_msg = _("Show the position of the cursor");
nano_spell_msg = _("Invoke the spell checker, if available");
nano_up_msg = _("Move up one line");
nano_down_msg = _("Move down one line");
nano_forward_msg = _("Move forward one character");
nano_back_msg = _("Move back one character");
nano_home_msg = _("Move to the beginning of the current line");
nano_end_msg = _("Move to the end of the current line");
nano_firstline_msg = _("Go to the first line of the file");
nano_lastline_msg = _("Go to the last line of the file");
nano_refresh_msg = _("Refresh (redraw) the current screen");
nano_mark_msg = _("Mark text at the current cursor location");
nano_delete_msg = _("Delete the character under the cursor");
nano_backspace_msg =
_("Delete the character to the left of the cursor");
nano_tab_msg = _("Insert a tab character");
nano_enter_msg = _("Insert a carriage return at the cursor position");
nano_case_msg =
_("Make the current search or replace case (in)sensitive");
nano_tofiles_msg = _("Go to file browser");
nano_execute_msg = _("Execute external command");
nano_gotodir_msg = _("Go to directory");
nano_cancel_msg = _("Cancel the current function");
nano_append_msg = _("Append to the current file");
nano_prepend_msg = _("Prepend to the current file");
nano_reverse_msg = _("Search backwards");
nano_dos_msg = _("Write file out in DOS format");
nano_mac_msg = _("Write file out in Mac format");
nano_backup_msg = _("Back up original file when saving");
nano_editstr_msg = _("Edit the previous search/replace strings");
#ifdef HAVE_REGEX_H
nano_regexp_msg = _("Use regular expressions");
nano_bracket_msg = _("Find other bracket");
#endif
#ifdef ENABLE_MULTIBUFFER
nano_openprev_msg = _("Open previously loaded file");
nano_opennext_msg = _("Open next loaded file");
nano_multibuffer_msg = _("Toggle insert into new buffer");
#endif
#endif /* !DISABLE_HELP */
free_shortcutage(&main_list);
/* The following macro is to be used in calling sc_init_one. The point is
* that sc_init_one takes 9 arguments, unless DISABLE_HELP is defined,
* when the fourth one should not be there. */
#ifdef DISABLE_HELP
# define IFHELP(help, nextvar) nextvar
#else
# define IFHELP(help, nextvar) help, nextvar
#endif
sc_init_one(&main_list, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), NANO_HELP_FKEY, 0, VIEW,
do_help);
#ifdef ENABLE_MULTIBUFFER
if (open_files != NULL && (open_files->prev != NULL || open_files->next != NULL))
sc_init_one(&main_list, NANO_EXIT_KEY, _("Close"),
IFHELP(nano_exit_msg, 0), NANO_EXIT_FKEY, 0, VIEW,
do_exit);
else
#endif
sc_init_one(&main_list, NANO_EXIT_KEY, _("Exit"),
IFHELP(nano_exit_msg, 0), NANO_EXIT_FKEY, 0, VIEW,
do_exit);
sc_init_one(&main_list, NANO_WRITEOUT_KEY, _("WriteOut"),
IFHELP(nano_writeout_msg, 0),
NANO_WRITEOUT_FKEY, 0, NOVIEW, do_writeout_void);
sc_init_one(&main_list, NANO_JUSTIFY_KEY, _("Justify"),
IFHELP(nano_justify_msg, 0), NANO_JUSTIFY_FKEY, 0,
NOVIEW, do_justify);
/* this is so we can view multiple files */
sc_init_one(&main_list, NANO_INSERTFILE_KEY, _("Read File"),
IFHELP(nano_insert_msg, 0), NANO_INSERTFILE_FKEY, 0,
#ifdef ENABLE_MULTIBUFFER
VIEW
#else
NOVIEW
#endif
, do_insertfile_void);
sc_init_one(&main_list, NANO_WHEREIS_KEY, _("Where Is"),
IFHELP(nano_whereis_msg, 0),
NANO_WHEREIS_FKEY, 0, VIEW, do_search);
sc_init_one(&main_list, NANO_PREVPAGE_KEY, _("Prev Page"),
IFHELP(nano_prevpage_msg, 0),
NANO_PREVPAGE_FKEY, KEY_PPAGE, VIEW, do_page_up);
sc_init_one(&main_list, NANO_NEXTPAGE_KEY, _("Next Page"),
IFHELP(nano_nextpage_msg, 0),
NANO_NEXTPAGE_FKEY, KEY_NPAGE, VIEW, do_page_down);
sc_init_one(&main_list, NANO_CUT_KEY, _("Cut Text"),
IFHELP(nano_cut_msg, 0),
NANO_CUT_FKEY, 0, NOVIEW, do_cut_text);
if (unjustify)
sc_init_one(&main_list, NANO_UNJUSTIFY_KEY, _("UnJustify"),
IFHELP(nano_unjustify_msg, 0),
0, 0, NOVIEW, do_uncut_text);
else
sc_init_one(&main_list, NANO_UNCUT_KEY, _("UnCut Txt"),
IFHELP(nano_uncut_msg, 0),
NANO_UNCUT_FKEY, 0, NOVIEW, do_uncut_text);
sc_init_one(&main_list, NANO_CURSORPOS_KEY, _("Cur Pos"),
IFHELP(nano_cursorpos_msg, 0),
NANO_CURSORPOS_FKEY, 0, VIEW, do_cursorpos_void);
sc_init_one(&main_list, NANO_SPELL_KEY, _("To Spell"),
IFHELP(nano_spell_msg, 0),
NANO_SPELL_FKEY, 0, NOVIEW, do_spell);
sc_init_one(&main_list, NANO_UP_KEY, _("Up"),
IFHELP(nano_up_msg, 0),
KEY_UP, 0, VIEW, do_up);
sc_init_one(&main_list, NANO_DOWN_KEY, _("Down"),
IFHELP(nano_down_msg, 0),
KEY_DOWN, 0, VIEW, do_down);
sc_init_one(&main_list, NANO_FORWARD_KEY, _("Forward"),
IFHELP(nano_forward_msg, 0),
KEY_RIGHT, 0, VIEW, do_right);
sc_init_one(&main_list, NANO_BACK_KEY, _("Back"),
IFHELP(nano_back_msg, 0),
KEY_LEFT, 0, VIEW, do_left);
sc_init_one(&main_list, NANO_HOME_KEY, _("Home"),
IFHELP(nano_home_msg, 0),
KEY_HOME, 362, VIEW, do_home);
sc_init_one(&main_list, NANO_END_KEY, _("End"),
IFHELP(nano_end_msg, 0),
KEY_END, 385, VIEW, do_end);
sc_init_one(&main_list, NANO_REFRESH_KEY, _("Refresh"),
IFHELP(nano_refresh_msg, 0),
0, 0, VIEW, total_refresh);
sc_init_one(&main_list, NANO_MARK_KEY, _("Mark Text"),
IFHELP(nano_mark_msg, NANO_ALT_MARK_KEY),
0, 0, NOVIEW, do_mark);
sc_init_one(&main_list, NANO_DELETE_KEY, _("Delete"),
IFHELP(nano_delete_msg, 0), KEY_DC,
NANO_CONTROL_D, NOVIEW, do_delete);
sc_init_one(&main_list, NANO_BACKSPACE_KEY, _("Backspace"),
IFHELP(nano_backspace_msg, 0),
KEY_BACKSPACE, 127, NOVIEW, do_backspace);
sc_init_one(&main_list, NANO_TAB_KEY, _("Tab"),
IFHELP(nano_tab_msg, 0), 0, 0, NOVIEW, do_tab);
sc_init_one(&main_list, NANO_REPLACE_KEY, _("Replace"),
IFHELP(nano_replace_msg, NANO_ALT_REPLACE_KEY),
NANO_REPLACE_FKEY, 0, NOVIEW, do_replace);
sc_init_one(&main_list, NANO_ENTER_KEY, _("Enter"),
IFHELP(nano_enter_msg, 0),
KEY_ENTER, NANO_CONTROL_M, NOVIEW, do_enter);
sc_init_one(&main_list, NANO_GOTO_KEY, _("Go To Line"),
IFHELP(nano_goto_msg, NANO_ALT_GOTO_KEY),
NANO_GOTO_FKEY, 0, VIEW, do_gotoline_void);
#ifndef NANO_SMALL
sc_init_one(&main_list, NANO_NEXTWORD_KEY, _("Next Word"),
IFHELP(_("Move forward one word"), 0),
0, 0, VIEW, do_next_word);
sc_init_one(&main_list, -9, _("Prev Word"),
IFHELP(_("Move backward one word"), NANO_PREVWORD_KEY), 0, 0,
VIEW, do_prev_word);
#endif
#if !defined(NANO_SMALL) && defined(HAVE_REGEX_H)
sc_init_one(&main_list, -9, _("Find Other Bracket"),
IFHELP(nano_bracket_msg, NANO_BRACKET_KEY),
0, 0, VIEW, do_find_bracket);
#endif
#ifdef ENABLE_MULTIBUFFER
sc_init_one(&main_list, -9, _("Previous File"),
IFHELP(nano_openprev_msg, NANO_OPENPREV_KEY),
0, 0, VIEW, open_prevfile_void);
sc_init_one(&main_list, -9, _("Next File"),
IFHELP(nano_opennext_msg, NANO_OPENNEXT_KEY),
0, 0, VIEW, open_nextfile_void);
#endif
free_shortcutage(&whereis_list);
sc_init_one(&whereis_list, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), 0, 0, VIEW, do_help);
sc_init_one(&whereis_list, NANO_CANCEL_KEY, _("Cancel"),
IFHELP(nano_cancel_msg, 0), 0, 0, VIEW, 0);
sc_init_one(&whereis_list, NANO_FIRSTLINE_KEY, _("First Line"),
IFHELP(nano_firstline_msg, 0),
0, 0, VIEW, do_first_line);
sc_init_one(&whereis_list, NANO_LASTLINE_KEY, _("Last Line"),
IFHELP(nano_lastline_msg, 0), 0, 0, VIEW, do_last_line);
sc_init_one(&whereis_list, NANO_OTHERSEARCH_KEY, _("Replace"),
IFHELP(nano_replace_msg, 0), 0, 0, VIEW, do_replace);
sc_init_one(&whereis_list, NANO_FROMSEARCHTOGOTO_KEY, _("Go To Line"),
IFHELP(nano_goto_msg, 0), 0, 0, VIEW, do_gotoline_void);
#ifndef NANO_SMALL
sc_init_one(&whereis_list, TOGGLE_CASE_KEY, _("Case Sens"),
IFHELP(nano_case_msg, 0), 0, 0, VIEW, 0);
sc_init_one(&whereis_list, TOGGLE_BACKWARDS_KEY, _("Direction"),
IFHELP(nano_reverse_msg, 0), 0, 0, VIEW, 0);
#ifdef HAVE_REGEX_H
sc_init_one(&whereis_list, TOGGLE_REGEXP_KEY, _("Regexp"),
IFHELP(nano_regexp_msg, 0), 0, 0, VIEW, 0);
#endif
#ifndef NANO_SMALL
sc_init_one(&whereis_list, KEY_UP, _("History"),
IFHELP(nano_editstr_msg, 0), NANO_UP_KEY, 0, VIEW, 0);
#endif
#endif /* !NANO_SMALL */
free_shortcutage(&replace_list);
sc_init_one(&replace_list, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), 0, 0, VIEW, do_help);
sc_init_one(&replace_list, NANO_CANCEL_KEY, _("Cancel"),
IFHELP(nano_cancel_msg, 0), 0, 0, VIEW, 0);
sc_init_one(&replace_list, NANO_FIRSTLINE_KEY, _("First Line"),
IFHELP(nano_firstline_msg, 0), 0, 0, VIEW, do_first_line);
sc_init_one(&replace_list, NANO_LASTLINE_KEY, _("Last Line"),
IFHELP(nano_lastline_msg, 0), 0, 0, VIEW, do_last_line);
sc_init_one(&replace_list, NANO_OTHERSEARCH_KEY, _("No Replace"),
IFHELP(nano_whereis_msg, 0), 0, 0, VIEW, do_search);
sc_init_one(&replace_list, NANO_FROMSEARCHTOGOTO_KEY, _("Go To Line"),
IFHELP(nano_goto_msg, 0), 0, 0, VIEW, do_gotoline_void);
#ifndef NANO_SMALL
sc_init_one(&replace_list, TOGGLE_CASE_KEY, _("Case Sens"),
IFHELP(nano_case_msg, 0), 0, 0, VIEW, 0);
sc_init_one(&replace_list, TOGGLE_BACKWARDS_KEY, _("Direction"),
IFHELP(nano_reverse_msg, 0), 0, 0, VIEW, 0);
#ifdef HAVE_REGEX_H
sc_init_one(&replace_list, TOGGLE_REGEXP_KEY, _("Regexp"),
IFHELP(nano_regexp_msg, 0), 0, 0, VIEW, 0);
#endif
sc_init_one(&replace_list, KEY_UP, _("History"),
IFHELP(nano_editstr_msg, 0), NANO_UP_KEY, 0, VIEW, 0);
#endif /* !NANO_SMALL */
free_shortcutage(&replace_list_2);
sc_init_one(&replace_list_2, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), 0, 0, VIEW, do_help);
sc_init_one(&replace_list_2, NANO_CANCEL_KEY, _("Cancel"),
IFHELP(nano_cancel_msg, 0), 0, 0, VIEW, 0);
sc_init_one(&replace_list_2, NANO_FIRSTLINE_KEY, _("First Line"),
IFHELP(nano_firstline_msg, 0), 0, 0, VIEW, do_first_line);
sc_init_one(&replace_list_2, NANO_LASTLINE_KEY, _("Last Line"),
IFHELP(nano_lastline_msg, 0), 0, 0, VIEW, do_last_line);
#ifndef NANO_SMALL
sc_init_one(&replace_list_2, KEY_UP, _("History"),
IFHELP(nano_editstr_msg, 0), NANO_UP_KEY, 0, VIEW, 0);
#endif
free_shortcutage(&goto_list);
sc_init_one(&goto_list, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), 0, 0, VIEW, do_help);
sc_init_one(&goto_list, NANO_CANCEL_KEY, _("Cancel"),
IFHELP(nano_cancel_msg, 0), 0, 0, VIEW, 0);
sc_init_one(&goto_list, NANO_FIRSTLINE_KEY, _("First Line"),
IFHELP(nano_firstline_msg, 0), 0, 0, VIEW, do_first_line);
sc_init_one(&goto_list, NANO_LASTLINE_KEY, _("Last Line"),
IFHELP(nano_lastline_msg, 0), 0, 0, VIEW, do_last_line);
#ifndef DISABLE_HELP
free_shortcutage(&help_list);
sc_init_one(&help_list, NANO_PREVPAGE_KEY, _("Prev Page"),
IFHELP(nano_prevpage_msg, 0), NANO_PREVPAGE_FKEY,
KEY_PPAGE, VIEW, do_page_up);
sc_init_one(&help_list, NANO_NEXTPAGE_KEY, _("Next Page"),
IFHELP(nano_nextpage_msg, 0),
NANO_NEXTPAGE_FKEY, KEY_NPAGE, VIEW, do_page_down);
sc_init_one(&help_list, NANO_EXIT_KEY, _("Exit"),
IFHELP(nano_exit_msg, 0), NANO_EXIT_FKEY, 0, VIEW,
do_exit);
#endif
free_shortcutage(&writefile_list);
sc_init_one(&writefile_list, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), 0, 0, VIEW, do_help);
#ifndef DISABLE_BROWSER
sc_init_one(&writefile_list, NANO_TOFILES_KEY, _("To Files"),
IFHELP(nano_tofiles_msg, 0), 0, 0, NOVIEW, 0);
#endif
#ifndef NANO_SMALL
sc_init_one(&writefile_list, TOGGLE_DOS_KEY, _("DOS Format"),
IFHELP(nano_dos_msg, 0), 0, 0, NOVIEW, 0);
sc_init_one(&writefile_list, TOGGLE_MAC_KEY, _("Mac Format"),
IFHELP(nano_mac_msg, 0), 0, 0, NOVIEW, 0);
#endif
sc_init_one(&writefile_list, NANO_APPEND_KEY, _("Append"),
IFHELP(nano_append_msg, 0), 0, 0, NOVIEW, 0);
sc_init_one(&writefile_list, NANO_PREPEND_KEY, _("Prepend"),
IFHELP(nano_prepend_msg, 0), 0, 0, NOVIEW, 0);
#ifndef NANO_SMALL
sc_init_one(&writefile_list, TOGGLE_BACKUP_KEY, _("Backup File"),
IFHELP(nano_backup_msg, 0), 0, 0, NOVIEW, 0);
#endif
sc_init_one(&writefile_list, NANO_CANCEL_KEY, _("Cancel"),
IFHELP(nano_cancel_msg, 0), 0, 0, VIEW, 0);
free_shortcutage(&insertfile_list);
sc_init_one(&insertfile_list, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), 0, 0, VIEW, do_help);
sc_init_one(&insertfile_list, NANO_CANCEL_KEY, _("Cancel"),
IFHELP(nano_cancel_msg, 0), 0, 0, VIEW, 0);
#ifndef DISABLE_BROWSER
sc_init_one(&insertfile_list, NANO_TOFILES_KEY, _("To Files"),
IFHELP(nano_tofiles_msg, 0), 0, 0, NOVIEW, 0);
#endif
#ifndef NANO_SMALL
sc_init_one(&insertfile_list, NANO_EXTCMD_KEY, _("Execute Command"),
IFHELP(nano_execute_msg, 0), 0, 0, NOVIEW, 0);
#ifdef ENABLE_MULTIBUFFER
sc_init_one(&insertfile_list, TOGGLE_LOAD_KEY, _("New Buffer"),
IFHELP(nano_multibuffer_msg, 0), 0, 0, NOVIEW, 0);
#endif
#endif
#ifndef DISABLE_SPELLER
free_shortcutage(&spell_list);
sc_init_one(&spell_list, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), 0, 0, VIEW, do_help);
sc_init_one(&spell_list, NANO_CANCEL_KEY, _("Cancel"),
IFHELP(nano_cancel_msg, 0), 0, 0, VIEW, 0);
#endif
#ifndef NANO_SMALL
free_shortcutage(&extcmd_list);
sc_init_one(&extcmd_list, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), 0, 0, VIEW, do_help);
sc_init_one(&extcmd_list, NANO_CANCEL_KEY, _("Cancel"),
IFHELP(nano_cancel_msg, 0), 0, 0, VIEW, 0);
#endif
#ifndef DISABLE_BROWSER
free_shortcutage(&browser_list);
sc_init_one(&browser_list, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), 0, 0, VIEW, do_help);
sc_init_one(&browser_list, NANO_CANCEL_KEY, _("Cancel"),
IFHELP(nano_cancel_msg, 0), NANO_EXIT_FKEY, 0, VIEW, 0);
sc_init_one(&browser_list, NANO_PREVPAGE_KEY, _("Prev Page"),
IFHELP(nano_prevpage_msg, 0), NANO_PREVPAGE_FKEY,
KEY_PPAGE, VIEW, 0);
sc_init_one(&browser_list, NANO_NEXTPAGE_KEY, _("Next Page"),
IFHELP(nano_nextpage_msg, 0), NANO_NEXTPAGE_FKEY,
KEY_NPAGE, VIEW, 0);
sc_init_one(&browser_list, NANO_GOTO_KEY, _("Go To Dir"),
IFHELP(nano_gotodir_msg, NANO_ALT_GOTO_KEY),
NANO_GOTO_FKEY, 0, VIEW, 0);
free_shortcutage(&gotodir_list);
sc_init_one(&gotodir_list, NANO_HELP_KEY, _("Get Help"),
IFHELP(nano_help_msg, 0), 0, 0, VIEW, do_help);
sc_init_one(&gotodir_list, NANO_CANCEL_KEY, _("Cancel"),
IFHELP(nano_cancel_msg, 0), 0, 0, VIEW, 0);
#endif
#if !defined(DISABLE_BROWSER) || !defined(DISABLE_HELP) || (!defined(DISABLE_MOUSE) && defined(NCURSES_MOUSE_VERSION))
currshortcut = main_list;
#endif
#ifndef NANO_SMALL
toggle_init();
#endif
}
/* This function is called just before calling exit(). Practically, the
* only effect is to cause a segmentation fault if the various data
* structures got bolloxed earlier. Thus, we don't bother having this
* function unless debugging is turned on. */
#ifdef DEBUG
/* added by SPK for memory cleanup, gracefully return our malloc()s */
void thanks_for_all_the_fish(void)
{
#ifndef DISABLE_JUSTIFY
if (quotestr != NULL)
free(quotestr);
#endif
#ifndef DISABLE_OPERATINGDIR
if (operating_dir != NULL)
free(operating_dir);
if (full_operating_dir != NULL)
free(full_operating_dir);
#endif
if (last_search != NULL)
free(last_search);
if (last_replace != NULL)
free(last_replace);
if (hblank != NULL)
free(hblank);
#ifndef DISABLE_SPELLER
if (alt_speller != NULL)
free(alt_speller);
#endif
#ifndef DISABLE_HELP
if (help_text != NULL)
free(help_text);
#endif
if (filename != NULL)
free(filename);
if (answer != NULL)
free(answer);
if (cutbuffer != NULL)
free_filestruct(cutbuffer);
free_shortcutage(&main_list);
free_shortcutage(&whereis_list);
free_shortcutage(&replace_list);
free_shortcutage(&replace_list_2);
free_shortcutage(&goto_list);
free_shortcutage(&writefile_list);
free_shortcutage(&insertfile_list);
#ifndef DISABLE_HELP
free_shortcutage(&help_list);
#endif
#ifndef DISABLE_SPELLER
free_shortcutage(&spell_list);
#endif
#ifndef NANO_SMALL
free_shortcutage(&extcmd_list);
#endif
#ifndef DISABLE_BROWSER
free_shortcutage(&browser_list);
free_shortcutage(&gotodir_list);
#endif
#ifndef NANO_SMALL
free_toggles();
#endif
#ifdef ENABLE_MULTIBUFFER
if (open_files != NULL) {
/* We free the memory associated with each open file. */
while (open_files->prev != NULL)
open_files = open_files->prev;
free_openfilestruct(open_files);
}
#else
free_filestruct(fileage);
#endif
#ifdef ENABLE_COLOR
free(syntaxstr);
while (syntaxes != NULL) {
syntaxtype *bill = syntaxes;
free(syntaxes->desc);
while (syntaxes->extensions != NULL) {
exttype *bob = syntaxes->extensions;
syntaxes->extensions = bob->next;
regfree(&bob->val);
free(bob);
}
while (syntaxes->color != NULL) {
colortype *bob = syntaxes->color;
syntaxes->color = bob->next;
regfree(&bob->start);
if (bob->end != NULL)
regfree(bob->end);
free(bob->end);
free(bob);
}
syntaxes = syntaxes->next;
free(bill);
}
#endif /* ENABLE_COLOR */
#ifndef NANO_SMALL
/* free history lists */
free_history(&search_history);
free_history(&replace_history);
#endif
}
#endif /* DEBUG */

222
move.c
View File

@@ -1,222 +0,0 @@
/* $Id$ */
/**************************************************************************
* move.c *
* *
* Copyright (C) 1999-2003 Chris Allegretta *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) *
* any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
* *
**************************************************************************/
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include "proto.h"
#include "nano.h"
int do_home(void)
{
current_x = 0;
placewewant = 0;
update_line(current, current_x);
return 1;
}
int do_end(void)
{
current_x = strlen(current->data);
placewewant = xplustabs();
update_line(current, current_x);
return 1;
}
void page_up(void)
{
if (edittop != fileage) {
#ifndef NANO_SMALL
if (ISSET(SMOOTHSCROLL))
edit_update(edittop->prev, TOP);
else
#endif
{
edit_update(edittop, CENTER);
/* Now that we've updated the edit window, edittop might be
at the top of the file; if so, just move the cursor up one
line and don't center it. */
if (edittop != fileage)
center_cursor();
else
reset_cursor();
}
} else
current_y = 0;
update_cursor();
}
int do_page_up(void)
{
int i;
wrap_reset();
current_x = 0;
placewewant = 0;
if (current == fileage)
return 0;
current_y = 0;
current = edittop;
for (i = 0; i <= editwinrows - 3 && current->prev != NULL; i++)
current = current->prev;
edit_update(current, TOP);
update_cursor();
check_statblank();
return 1;
}
int do_page_down(void)
{
wrap_reset();
current_x = 0;
placewewant = 0;
if (current == filebot)
return 0;
/* AHEM, if we only have a screen or less of text, DON'T do an
edit_update(), just move the cursor to editbot! */
if (edittop == fileage && editbot == filebot && totlines < editwinrows) {
current = editbot;
reset_cursor();
#ifndef NANO_SMALL
/* ...unless marking is on, in which case we need it to update
the highlight. */
if (ISSET(MARK_ISSET))
edit_update(current, NONE);
#endif
} else if (editbot != filebot || edittop == fileage) {
current_y = 0;
current = editbot;
if (current->prev != NULL)
current = current->prev;
if (current->prev != NULL)
current = current->prev;
edit_update(current, TOP);
} else {
while (current != filebot) {
current = current->next;
current_y++;
}
edit_update(edittop, TOP);
}
update_cursor();
check_statblank();
return 1;
}
int do_up(void)
{
wrap_reset();
if (current->prev != NULL) {
current_x = actual_x(current->prev, placewewant);
current = current->prev;
if (current_y > 0) {
update_line(current->next, 0);
/* It is necessary to change current first, so the mark
display will change! */
current_y--;
update_line(current, current_x);
} else
page_up();
check_statblank();
}
return 1;
}
/* Return value 1 means we moved down, 0 means we were already at the
* bottom. */
int do_down(void)
{
wrap_reset();
check_statblank();
if (current->next == NULL)
return 0;
current = current->next;
current_x = actual_x(current, placewewant);
/* Note current_y is zero-based. This test checks for the cursor's
* being on the last row of the edit window. */
if (current_y == editwinrows - 1) {
#ifndef NANO_SMALL
if (ISSET(SMOOTHSCROLL)) {
/* In this case current_y does not change. The cursor
* remains at the bottom of the edit window. */
edittop = edittop->next;
editbot = editbot->next;
edit_refresh();
} else
#endif
{
/* Set edittop so editbot->next (or else editbot) is
* centered, and set current_y = editwinrows / 2. */
edit_update(editbot->next != NULL ? editbot->next : editbot, CENTER);
center_cursor();
}
} else {
update_line(current->prev, 0);
update_line(current, current_x);
current_y++;
}
return 1;
}
int do_left(void)
{
if (current_x > 0)
current_x--;
else if (current != fileage) {
do_up();
current_x = strlen(current->data);
}
placewewant = xplustabs();
update_line(current, current_x);
check_statblank();
return 1;
}
int do_right(void)
{
assert(current_x <= strlen(current->data));
if (current->data[current_x] != '\0')
current_x++;
else if (current->next != NULL) {
do_down();
current_x = 0;
}
placewewant = xplustabs();
update_line(current, current_x);
check_statblank();
return 1;
}

View File

@@ -1,272 +0,0 @@
<HTML><HEAD><TITLE>Manpage of NANO</TITLE>
</HEAD><BODY>
<H1>NANO</H1>
Section: User Commands (1)<BR>Updated: February 9, 2003<BR><A HREF="#index">Index</A>
<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<P>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
nano - Nano's ANOther editor, an enhanced free Pico clone
<P>
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>nano</B>
<I>[+LINE]&nbsp;[options]&nbsp;[file]</I>
<BR>
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
This manual page documents briefly the <B>nano</B> command.
<P>
<B>nano</B> is a small, free and friendly editor which aims to replace
Pico, the default editor included in the non-free Pine package. Rather
than just copying Pico's look and feel, <B>nano</B> also implements some
missing (or disabled by default) features in Pico, such as &quot;search and
replace&quot; and &quot;go to line number&quot;.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT><B>+</B><I>LINE</I>
<DD>
Places cursor at <I>LINE</I> on startup.
<DT><B>-B (--backup)</B>
<DD>
When saving a file, back up the previous version of it to the current
filename suffixed with a ~.
<DT><B>-D (--dos)</B>
<DD>
Write file in DOS format.
<DT><B>-F (--multibuffer)</B>
<DD>
Enable multiple file buffers, if available.
<DT><B>-H (--historylog)</B>
<DD>
Log search and replace strings to ~/.nano_history so they may be
stored for later editing, if nanorc support is configured.
<DT><B>-I (--ignorercfiles)</B>
<DD>
Don't look at $SYSCONFDIR/nanorc or ~/.nanorc, if nanorc support is
available.
<DT><B>-K (--keypad)</B>
<DD>
Do not use the ncurses keypad() call unless necessary. Try this flag if
you find that the arrow keys on the numeric keypad do not work for you
under nano.
<DT><B>-M (--mac)</B>
<DD>
Write file in Mac format.
<DT><B>-N (--noconvert)</B>
<DD>
Disable automatic conversion of files from DOS/Mac format.
<DT><B>-Q </B><I>str</I> (--quotestr=<I>str</I>)
<DD>
Set the quoting string for justifying. The default is
&quot;^([ \t]*[|&gt;:}#])+&quot; if regular expression support is available, or
&quot;&gt; &quot; otherwise.
<DT><B>-R (--regexp)</B>
<DD>
Enable regular expression matching for search strings, as well as
\n subexpression replacement for replace strings, if available.
<DT><B>-S (--smooth)</B>
<DD>
Enable smooth scrolling. Text will scroll line-by-line, instead of the
usual chunk-by-chunk behavior.
<DT><B>-T </B><I>num</I> (--tabsize=<I>num</I>)
<DD>
Set the size (width) of a tab.
<DT><B>-V (--version)</B>
<DD>
Show the current version number and author.
<DT><B>-Y </B><I>str</I> (--syntax=<I>str</I>)
<DD>
Specify a specific syntax highlighting from the .nanorc to use, if
available.
<DT><B>-c (--const)</B>
<DD>
Constantly show the cursor position.
<DT><B>-h (--help)</B>
<DD>
Display a summary of command line options.
<DT><B>-i (--autoindent)</B>
<DD>
Indent new lines to the previous line's indentation. Useful when editing
source code.
<DT><B>-k (--cut)</B>
<DD>
Enable cut from cursor to end of line with ^K.
<DT><B>-l (--nofollow)</B>
<DD>
If the file being edited is a symbolic link, replace the link with
a new file, do not follow it. Good for editing files in /tmp, perhaps?
<DT><B>-m (--mouse)</B>
<DD>
Enable mouse support (if available for your system).
<DT><B>-o </B><I>dir</I> (--operatingdir=<I>dir</I>)
<DD>
Set operating directory. Makes nano set up something similar to a
chroot.
<DT><B>-p (--preserve)</B>
<DD>
Preserve the XON and XOFF sequences (^Q and ^S) so they will be
caught by the terminal.
<DT><B>-r </B><I>cols</I> (--fill=<I>cols</I>)
<DD>
Wrap lines at column <I>cols</I>. By default, this is the width of the
screen, less eight. If this value is negative, wrapping will occur at
<I>cols</I> columns from the right of the screen, allowing the wrap point
to vary along with the screen width if resized.
<DT><B>-s </B><I>prog</I> (--speller=<I>prog</I>)
<DD>
Enable alternative spell checker command.
<DT><B>-t (--tempfile)</B>
<DD>
Always save changed buffer without prompting. Same as Pico -t option.
<DT><B>-v (--view)</B>
<DD>
View file (read only) mode.
<DT><B>-w (--nowrap)</B>
<DD>
Disable wrapping of long lines.
<DT><B>-x (--nohelp)</B>
<DD>
Disable help screen at bottom of editor.
<DT><B>-z (--suspend)</B>
<DD>
Enable suspend ability.
<DT><B>-a, -b, -e, -f, -g, -j</B>
<DD>
Ignored, for compatibility with Pico.
<P>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>INITIALIZATION FILE</H2>
<B>nano</B> will read initialization files in the following
order: $SYSCONFDIR/nanorc, then ~/.nanorc. Please see <A HREF="http://localhost/cgi-bin/man/man2html?5+nanorc">nanorc</A>(5) and
the example file <B>nanorc.sample</B> which should be provided with
<B>nano</B>.
<P>
<A NAME="lbAG">&nbsp;</A>
<H2>NOTES</H2>
<B>nano</B> will try to dump the buffer into an emergency file in some
cases. Mainly, this will happen if <B>nano</B> receives a SIGHUP or
SIGTERM or runs out of memory, when it will write the buffer into a file
named &quot;nano.save&quot; if the buffer didn't have a name already, or will add
a &quot;.save&quot; suffix to the current filename. If an emergency file with that
name already exists in the current directory, &quot;.save&quot; and a number (e.g.
&quot;.save.1&quot;) will be suffixed to the current filename in order to make it
unique. In multibuffer mode, <B>nano</B> will write all the open buffers
to the respective emergency files.
<P>
<A NAME="lbAH">&nbsp;</A>
<H2>BUGS</H2>
Please send any comments or bug reports to
<BR>
<B><A HREF="mailto:nano@nano-editor.org">nano@nano-editor.org</A>.</B>
<BR>
The <B>nano</B> mailing list is available from
<BR>
<B><A HREF="mailto:nano-devel@gnu.org">nano-devel@gnu.org</A>.</B>
To subscribe, email to <A HREF="mailto:nano-devel-request@gnu.org">nano-devel-request@gnu.org</A> with a
subject of &quot;subscribe&quot;.
<P>
<A NAME="lbAI">&nbsp;</A>
<H2>HOMEPAGE</H2>
<A HREF="http://www.nano-editor.org/">http://www.nano-editor.org/</A>
<P>
<A NAME="lbAJ">&nbsp;</A>
<H2>SEE ALSO</H2>
<DL COMPACT>
<DT><B><A HREF="http://localhost/cgi-bin/man/man2html?5+nanorc">nanorc</A></B>(5)<DD>
</DL>
<P>
<I>/usr/share/doc/nano/</I> (or equivalent on your system)
<P>
<A NAME="lbAK">&nbsp;</A>
<H2>AUTHOR</H2>
Chris Allegretta &lt;<A HREF="mailto:chrisa@asty.org">chrisa@asty.org</A>&gt;, et al (see AUTHORS and THANKS for
details).
This manual page was originally written by Jordi Mallach
&lt;<A HREF="mailto:jordi@sindominio.net">jordi@sindominio.net</A>&gt;, for the Debian GNU system (but may be
used by others).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
<DT><A HREF="#lbAF">INITIALIZATION FILE</A><DD>
<DT><A HREF="#lbAG">NOTES</A><DD>
<DT><A HREF="#lbAH">BUGS</A><DD>
<DT><A HREF="#lbAI">HOMEPAGE</A><DD>
<DT><A HREF="#lbAJ">SEE ALSO</A><DD>
<DT><A HREF="#lbAK">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 04:08:28 GMT, February 13, 2003
</BODY>
</HTML>

View File

@@ -9,7 +9,7 @@ Release : %{rel}
Copyright : GPL
Group : Console/Editors
URL : http://www.nano-editor.org
Source : http://www.nano-editor.org/dist/v1.2/%{name}-%{ver}.tar.gz
Source : http://www.nano-editor.org/dist/v1.3/%{name}-%{ver}.tar.gz
BuildRoot : /var/tmp/%{name}-buildroot
Requires : ncurses
@@ -30,7 +30,7 @@ make DESTDIR="$RPM_BUILD_ROOT" install
%files
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO nanorc.sample
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/faq.html doc/nanorc.sample
%{_bindir}/nano
%{_mandir}/*/*
%{_datadir}/locale/*/LC_MESSAGES/nano.mo

View File

@@ -1,160 +0,0 @@
<HTML><HEAD><TITLE>Manpage of NANORC</TITLE>
</HEAD><BODY>
<H1>NANORC</H1>
Section: File Formats (5)<BR>Updated: February 9, 2003<BR><A HREF="#index">Index</A>
<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
nanorc - GNU nano's rcfile
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>/etc/nanorc</B>
<B>$HOME/.nanorc</B>
<BR>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
This manual page documents GNU <B>nano</B>'s rcfile.
<P>
<B>nano</B> is a small, free and friendly editor which aims to replace
Pico, the default editor included in the non-free Pine package. Rather
than just copying Pico's look and feel, <B>nano</B> also implements some
missing (or disabled by default) features in Pico, such as &quot;search and
replace&quot; and &quot;go to line number&quot;.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
The configuration file accepts a series of &quot;set&quot; and &quot;unset&quot; commands,
which can be used to configure nano on startup without using the
command-line options. Additionally, the &quot;syntax&quot; and &quot;color&quot; keywords
are used to define syntax highlighting rules for different text patterns.
GNU nano will read one command per line.
<P>
Options in rcfiles take precedence over nano's defaults, and command line
options override rcfile settings.
<P>
The supported commands and arguments are:
<P>
<DL COMPACT>
<DT><B>set/unset autoindent</B><DD>
Use auto-indentation.
<DT><B>set/unset backup</B><DD>
Create backup files in filename~.
<DT><B>set/unset const</B><DD>
Constantly update the cursor position.
<DT><B>set/unset cut</B><DD>
Use cut to end of line with ^K by default.
<DT><B>set fill </B><I>n</I><DD>
Set the column where lines will be wrapped at to <I>n</I>.
<DT><B>set/unset keypad</B><DD>
Use alternate keypad routines.
<DT><B>set/unset multibuffer</B><DD>
Allow inserting files into their own buffers.
<DT><B>set/unset noconvert</B><DD>
Don't convert files from DOS/Mac format.
<DT><B>set/unset nofollow</B><DD>
Don't follow symlinks when writing files.
<DT><B>set/unset nohelp</B><DD>
Don't display the help lists at the bottom of the screen.
<DT><B>set/unset nowrap</B><DD>
Don't wrap text at all.
<DT><B>set operatingdir &quot;</B><I>directory</I>&quot;<DD>
Set operating directory (chroots the user to <I>directory</I> and below).
<DT><B>set/unset preserve</B><DD>
Preserve the XON and XOFF keys (^Q and ^S).
<DT><B>set quotestr &quot;</B><I>string</I>&quot;<DD>
The email-quote string. This is a &quot;regular expression&quot; if your
system supports them, otherwise a literal string.
Default value is set quotestr &quot;^([ ]*[|&gt;:}#])+&quot; if you have regexps,
otherwise set quotestr &quot;&gt; &quot;.
<DT><B>set/unset regexp</B><DD>
Do regular expression searches by default.
<DT><B>set/unset smooth</B><DD>
Use smooth scrolling by default.
<DT><B>set speller </B><I>spellprog</I><DD>
Use spelling checker <I>spellprog</I> instead of the default (spell).
<DT><B>set/unset suspend</B><DD>
Allow nano to be suspended with ^Z.
<DT><B>set tabsize </B><I>n</I><DD>
Use a tab size of <I>n</I> instead of the default (8); must be greater
than 0.
<DT><B>set/unset tempfile</B><DD>
Save automatically on exit, don't prompt.
<DT><B>set/unset historylog</B><DD>
Enable ~/.nano_history for saving and reading search/replace strings.
<DT><B>set/unset view</B><DD>
Disallow file modification.
<DT><B>syntax </B><I>str</I> [<I>fileregex</I> ... ]
<DD>
Defines a syntax named <I>str</I> which can be activated via the
<B>-Y</B> flag, or will be automatically activated if the current
filename matches <I>fileregex</I>. All following <B>color</B> statements
will apply to <I>syntax</I> until a new syntax is defined.
<DT><B>color </B><I>fgcolor</I>[,<I>bgcolor</I>] <I>regex</I> ...
<DD>
For the currently defined syntax, display all expressions matching
<I>regex</I> with foreground color <I>fgcolor</I> and optional background
color <I>bgcolor</I>. Legal colors for foreground and background color are:
white, black, red, blue, green, yellow, magenta, and cyan. You may use
the prefix &quot;bright&quot; to force a stronger color highlight. If your
terminal supports transparency, not specifying a <I>bgcolor</I> tells
<B>nano</B> to attempt to use a transparent background.
<DT><B>color </B><I>fgcolor</I>[,<I>bgcolor</I>] start=<I>sr</I> end=<I>er</I>
<DD>
Display expressions which start with <I>sr</I> and end with <I>er</I>
with foreground color <I>fgcolor</I> and optional
background color <I>bgcolor</I>. This allows syntax highlighting to span
multiple lines. Note that all subsequent instances of <I>sr</I> after
an initial <I>sr</I> is found will be highlighted until the first
instance of <I>er</I>.
<I>
<P>
</DL>
</I><A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<DL COMPACT>
<DT><B><A HREF="http://localhost/cgi-bin/man/man2html?1+nano">nano</A></B>(1)<DD>
</DL>
<P>
<I>/usr/share/doc/nano/examples/nanorc.sample</I> (or equivalent on your system)
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Chris Allegretta &lt;<A HREF="mailto:chrisa@asty.org">chrisa@asty.org</A>&gt;, et al (see AUTHORS and THANKS for
details).
This manual page was written by Jordi Mallach &lt;<A HREF="mailto:jordi@gnu.org">jordi@gnu.org</A>&gt;.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
<DT><A HREF="#lbAF">SEE ALSO</A><DD>
<DT><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 04:08:33 GMT, February 13, 2003
</BODY>
</HTML>

View File

@@ -1,177 +0,0 @@
## Sample initialization file for GNU nano
## Please note that you must have configured nano with
## --enable-nanorc for this file to be read!
##
## To make sure a value is not enabled, use "unset <option>"
## Use auto-indentation
# set autoindent
## Backup files to filename~
# set backup
## Constantly update the cursor position
# set const
## Use cut to end of line with ^K by default
# set cut
## Use this value instead of the default
## An out-of-range negative value can make nano die complaining that the
## screen is too small
## set fill -8
## Use alternate keypad routines
# set keypad
## Allow multiple file buffers (using ^R inserts into separate buffer)
## You must have configured with --enable-multibuffer or --enable-extra
## for this to work
##
## set multibuffer
## Don't convert files from DOS/Mac format
# set noconvert
## Don't follow symlinks when writing files
# set nofollow
## Don't display the help lists at the bottom of the screen
# set nohelp
## Don't wrap text at all
# set nowrap
## Set operating directory (chroot of sorts)
# set operatingdir "~"
## Preserve the XON and XOFF keys (^Q and ^S)
# set preserve
## The email-quote string. This is a "regular expression" if your
## system supports them, otherwise a literal string. Default
# set quotestr "^([ \t]*[|>:}#])+" if you have regexps, otherwise
# set quotestr "> ".
## You can get old nano quoted-justify behavior via:
# set quotestr "(> )+"
## Do regular expression searches by default
# set regexp
## Use smooth scrolling as the default
# set smooth
## Use this spelling checker instead of the default one
# set speller aspell
## Allow nano to be suspended with ^Z
# set suspend
## Use this tab size instead of the default; it must be greater than 0
# set tabsize 4
## Save automatically on exit, don't prompt
# set tempfile
## Enable ~/.nano_history for saving and reading search/replace strings.
# set historylog
## Disallow file modification, why would you want this in an rc file? ;)
# set view
## Color setup
## Format:
## syntax "short description" ["filename regex" ...]
## color foreground,background "regex" ["regex"...]
##
## Legal colors are: white, black, red, blue, green, yellow, magenta,
## cyan. You may use the prefix "bright" to mean a stronger color
## highlight.
##
## To use multi-line regexes use the start="regex" end="regex" format.
##
## If your system supports transparency, not specifying a background
## color will use a transparent color. If you don't want this, be sure
## to set the background color to black or white.
# syntax "c-file" ".*\.c$" ".*\.h$"
# color red "\<[A-Z_]{2,}\>"
# color green "\<float\>" "\<char\>" "\<int\>" "\<void\>"
# color green "\<static\>" "\<const\>" "\<struct\>"
# color brightyellow "\<if\>" "\<while\>" "\<do\>" "\<else\>" "\<case\>" "\<switch\>"
# color brightcyan "#define" "#include" "#ifn*def" "#endif"
# color brightcyan "#elif" "#else" "#if"
## You will in general want your comments and strings to come last,
## because syntax highlighting rules will be applied in the order they
## are read in. Note that quotes in regexes should not be escaped (use "
## instead of \").
# color brightyellow "<[^= ]*>" ""(\\.|[^\"])*""
## This string is VERY resource intensive!!!
# color brightyellow start=""(\\.|[^\"])*\\( | )*$" end="^(\\.|[^\"])*""
## And we want to have some nice comment highlighting too
# color brightblue "//.*"
# color brightblue start="/\*" end="\*/"
## Here are some short examples for TeX files and HTML
# syntax "HTML" "\.html$"
#
# color blue start="<" end=">"
# color red "&([^; ])*;"
#
# syntax "TeX" "\.tex$"
#
# color green "\\(.|([A-Za-z]*))"
# color magenta "\{" "\}"
# color blue "%.*"
## For this you will probably want to set your editor to "nano -Y mutt"
# syntax "mutt"
# color green "^>.*"
## Here is are examples for groff and for your .nanorc
#syntax "groff" "\.ms$" "\.mm$" "\.me$" "\.tmac$" "^tmac." ".rof"
## The argument of .nr or .ds
#color cyan "^\.ds [^ ]*"
#color cyan "^\.nr [^ ]*"
## Single character escapes
#color brightmagenta "\\."
## Highlight the argument of \f or \s in the same colour
#color brightmagenta "\\f."
#color brightmagenta "\\f\(.."
#color brightmagenta "\\s(\+|\-)?[0-9]"
## \n
#color cyan "(\\|\\\\)n."
#color cyan "(\\|\\\\)n\(.."
#color cyan start="(\\|\\\\)n\[" end="]"
## Requests
#color brightgreen "^\. *[^ ]*"
## Comments
#color yellow "^\.\\\".*$"
## Strings
#color green "(\\|\\\\)\*."
#color green "(\\|\\\\)\*\(.."
#color green start="(\\|\\\\)\*\[" end="]"
## Characters
#color brightred "\\\(.."
#color brightred start="\\\[" end="]"
## Macro arguments
#color brightcyan "\\\\\$[1-9]"
#syntax "nanorc" "[\.]*nanorc$"
#color white "^ *(set|unset).*$"
#color cyan "^ *(set|unset) (autoindent|backup|const|cut|fill|keypad|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|quotestr|regexp|smooth|speller|suspend|tabsize|tempfile|historylog|view)"
#color brightwhite "^ *syntax [^ ]*"
#color brightblue "^ *set\>" "^ *unset\>" "^ *syntax\>"
#color white "^ *color\>.*"
#color yellow "^ *color (bright)?(white|black|red|blue|green|yellow|magenta|cyan)\>"
#color magenta "^ *color\>"
#color green "^#.*$"

View File

@@ -1,10 +1,78 @@
2004-06-01 Jordi Mallach <jordi@gnu.org>
* zh_TW.po: Added Traditional Chinese translation by
CHAO Wei-Lun <chaoweilun@pcmail.com.tw>.
* LINGUAS: Added "zh_TW".
2004-02-24 Jordi Mallach <jordi@gnu.org>
* ms.po: Updated Malay translation by Sharuzzaman Ahmat Raslan.
2003-11-25 Jordi Mallach <jordi@gnu.org>
* ro.po: Updated Romanian translation by Laurentiu Buzdugan.
2003-11-06 Jordi Mallach <jordi@gnu.org>
* sr.po: Added Serbian translation by Danilo Segan <dsegan@gmx.net>.
* LINGUAS: Added "sr" (Serbian), and alphabetize.
* ChangeLog: Recoded as UTF-8.
2003-10-30 Jordi Mallach <jordi@gnu.org>
* fi.po: Patch from Martin-Eric Racine <q-funk@pp.fishpool.fi>
to accept "Yy" and "Nn" as well as the Finnish letters in Yes/No
prompts.
2003-10-18 Jordi Mallach <jordi@gnu.org>
* ca.po: Updated Catalan translation.
2003-09-12 Jordi Mallach <jordi@gnu.org>
* POTFILES.in: Updated path to sources.
2003-09-01 Jordi Mallach <jordi@gnu.org>
* fr.po: Updated French translation by Jean-Philippe Guérard.
2003-08-17 Jordi Mallach <jordi@gnu.org>
* tr.po: Updated Turkish translation by A. Murat EREN.
2003-08-05 Jordi Mallach <jordi@gnu.org>
* ca.po: Updated Catalan translation.
2003-06-11 Jordi Mallach <jordi@gnu.org>
* nb.po: Updated Norwegian bokmål translation by Geir Helland.
2003-06-10 Jordi Mallach <jordi@gnu.org>
* fr.po: Updated French translation by Jean-Philippe Guérard.
2003-06-02 Jordi Mallach <jordi@gnu.org>
* de.po: Updated German translation by Michael Piefel.
2003-05-06 Jordi Mallach <jordi@gnu.org>
* ms.po: Updated Malay translation by Sharuzzaman Ahmat Raslan.
2003-04-24 Jordi Mallach <jordi@gnu.org>
* ro.po: New Romanian translation by Laurentiu Buzdugan.
* id.po: Updated Indonesian translation by Tedi Heriyanto.
* LINGUAS: Added "ro" (Romanian).
2003-04-12 Jordi Mallach <jordi@gnu.org>
* ms.po: Updated Malay translation by Sharuzzaman Ahmat Raslan.
2003-04-04 Jordi Mallach <jordi@gnu.org>
* fr.po: Updated French translation by Jean-Philippe Guérard.
* fr.po: Updated French translation by Jean-Philippe Guérard.
2003-03-17 Jordi Mallach <jordi@gnu.org>
@@ -26,7 +94,7 @@
2003-02-19 Jordi Mallach <jordi@gnu.org>
* fi.po: Updated Finnish translation by Kalle Olavi Niemitalo.
* es.po: Updated Spanish translation by Ricardo Javier Cárdenes
* es.po: Updated Spanish translation by Ricardo Javier Cárdenes
Medina.
2003-02-17 Jordi Mallach <jordi@gnu.org>
@@ -37,12 +105,12 @@
2003-02-16 Jordi Mallach <jordi@gnu.org>
* gl.po: Updated Galician translation by Jacobo Tarrío.
* fr.po: Updated French translation by Jean-Philippe Guérard.
* gl.po: Updated Galician translation by Jacobo Tarrío.
* fr.po: Updated French translation by Jean-Philippe Guérard.
2003-02-15 Jordi Mallach <jordi@gnu.org>
* fr.po: Updated French translation by Jean-Philippe Guérard.
* fr.po: Updated French translation by Jean-Philippe Guérard.
* nl.po: Updated Dutch translation by Guus Sliepen.
* sv.po: Updated Swedish translation by Christian Rose.
* ca.po: Updated Catalan translation.
@@ -69,8 +137,8 @@
2003-02-08 Jordi Mallach <jordi@gnu.org>
* it.po: Updated Italian translation by Marco Colombo.
* gl.po: Updated Galician translation by Jacobo Tarrío.
* es.po: Updated Spanish translation by Ricardo Javier Cárdenes
* gl.po: Updated Galician translation by Jacobo Tarrío.
* es.po: Updated Spanish translation by Ricardo Javier Cárdenes
Medina.
2003-02-06 Jordi Mallach <jordi@gnu.org>
@@ -81,13 +149,13 @@
2003-02-04 Jordi Mallach <jordi@gnu.org>
* ca.po: Updated Catalan translation.
* fr.po: Updated French translation by Jean-Philippe Guérard.
* fr.po: Updated French translation by Jean-Philippe Guérard.
* uk.po: Updated Ukrainian translation by Sergey A. Ribalchenko.
* de.po: Updated German translation by Michael Piefel.
2003-01-27 Jordi Mallach <jordi@gnu.org>
* es.po: Updated translation by Ricardo Javier Cárdenes Medina.
* es.po: Updated translation by Ricardo Javier Cárdenes Medina.
2002-01-26 Jordi Mallach <jordi@gnu.org>
@@ -95,7 +163,7 @@
2002-01-25 Jordi Mallach <jordi@gnu.org>
* gl.po: Updated translation by Jacobo Tarrío.
* gl.po: Updated translation by Jacobo Tarrío.
2002-01-22 Jordi Mallach <jordi@gnu.org>
@@ -103,13 +171,13 @@
2003-01-21 Jordi Mallach <jordi@gnu.org>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
* ms.po: Updated translation by Sharuzzaman Ahmat Raslan.
* uk.po: Updated translation by Sergey A. Ribalchenko.
2003-01-18 Jordi Mallach <jordi@gnu.org>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
* sv.po: Updated translation by Christian Rose.
* nl.po: Updated translation by Guus Sliepen.
* ca.po: Updated translation.
@@ -133,7 +201,7 @@
2002-12-14 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
* tr.po: New Turkish translation by Doruk Fisek.
2002-11-10 Jordi Mallach <jordi@sindominio.net>
@@ -153,22 +221,22 @@
2002-10-29 Jordi Mallach <jordi@sindominio.net>
* id.po: Updated translation by Tedi Heriyanto.
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
2002-10-27 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
2002-10-26 Jordi Mallach <jordi@sindominio.net>
* es.po: Updated translation by Ricardo Javier Cárdenes Medina.
* es.po: Updated translation by Ricardo Javier Cárdenes Medina.
2002-10-26 Jordi Mallach <jordi@sindominio.net>
* gl.po: Updated translation by Jacobo Tarrío.
* gl.po: Updated translation by Jacobo Tarrío.
* sv.po: Updated translation by Christian Rose.
* de.po: Updated translation by Michael Piefel.
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
* ca.po: Updated translation.
2002-10-17 Jordi Mallach <jordi@sindominio.net>
@@ -177,11 +245,11 @@
2002-10-14 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
2002-10-13 Jordi Mallach <jordi@sindominio.net>
* es.po: Updated translation by Ricardo Javier Cárdenes Medina.
* es.po: Updated translation by Ricardo Javier Cárdenes Medina.
2002-10-08 Jordi Mallach <jordi@sindominio.net>
@@ -199,7 +267,7 @@
2002-10-07 Jordi Mallach <jordi@sindominio.net>
* sv.po: Updated translation by Christian Rose.
* gl.po: Updated translation by Jacobo Tarrío.
* gl.po: Updated translation by Jacobo Tarrío.
* pl.po: Updated translation by Wojciech Kotwica.
2002-09-08 Jordi Mallach <jordi@sindominio.net>
@@ -208,7 +276,7 @@
2002-09-08 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
* da.po: Updated translation by Keld Simonsen.
2002-08-19 Jordi Mallach <jordi@sindominio.net>
@@ -218,15 +286,15 @@
2002-07-31 Jordi Mallach <jordi@sindominio.net>
* gl.po: Updated translation by Jacobo Tarrío.
* gl.po: Updated translation by Jacobo Tarrío.
2002-07-31 Jordi Mallach <jordi@sindominio.net>
* es.po: Updated translation by Ricardo Javier Cárdenes Medina.
* es.po: Updated translation by Ricardo Javier Cárdenes Medina.
2002-07-31 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
2002-07-30 Jordi Mallach <jordi@sindominio.net>
@@ -276,13 +344,13 @@
2002-05-13 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
* de.po: Updated translation by Michael Piefel.
2002-05-13 Jordi Mallach <jordi@sindominio.net>
* it.po: Updated translation by Marco Colombo.
* gl.po: Updated translation by Jacobo Tarrío.
* gl.po: Updated translation by Jacobo Tarrío.
* ca.po: Updated translation.
* es.po: Updated translation.
@@ -319,7 +387,7 @@
* gl.po: Updated translation by Jacobo Tarrio.
* de.po: Updated translation by Michael Piefel.
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
* ca.po: Updated.
* es.po: Updated.
@@ -337,7 +405,7 @@
2002-03-17 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
2002-03-15 Jordi Mallach <jordi@sindominio.net>
@@ -360,7 +428,7 @@
2002-03-11 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
2002-03-09 Jordi Mallach <jordi@sindominio.net>
@@ -408,7 +476,7 @@
2002-02-06 Jordi Mallach <jordi@sindominio.net>
* cs.po: Incomplete update by Václav Haisman.
* cs.po: Incomplete update by Václav Haisman.
2002-01-27 Jordi Mallach <jordi@sindominio.net>
@@ -416,14 +484,14 @@
2002-01-26 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
* nn.po: Updated translation by Kjetil Torgrim Homme.
* de.po: Updated translation by Michael Piefel.
2002-01-25 Jordi Mallach <jordi@sindominio.net>
* sv.po: Updated translation by Christian Rose.
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
2002-01-25 Jordi Mallach <jordi@sindominio.net>
@@ -454,21 +522,21 @@
* no.po: Removed, replaced by nn.po.
* nn.po: Updated translation by Kjetil Torgrim Homme.
* nb.po: New Norwegian bokmål translation by Stig E Sandoe.
* nb.po: New Norwegian bokmål translation by Stig E Sandoe.
2002-01-12 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
2002-01-10 Jordi Mallach <jordi@sindominio.net>
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
2002-01-08 Jordi Mallach <jordi@sindominio.net>
* ru.po, uk.po: Updated translations by Sergey A.
Ribalchenko.
* fr.po: Updated translation by Jean-Philippe Guérard.
* fr.po: Updated translation by Jean-Philippe Guérard.
2002-01-07 Jordi Mallach <jordi@sindominio.net>

View File

@@ -1,2 +1,2 @@
# List of available languages.
es de fr it id fi hu ca cs gl uk ru sv nn nl da pl nb ms pt_BR tr eu
ca cs da de es eu fi fr gl hu id it ms nb nl nn pl pt_BR ro ru sr sv tr uk zh_TW

View File

@@ -2,16 +2,16 @@
# List of source files containing translatable strings.
# Package source files
cut.c
files.c
global.c
move.c
nano.c
rcfile.c
search.c
utils.c
winio.c
src/cut.c
src/files.c
src/global.c
src/move.c
src/nano.c
src/rcfile.c
src/search.c
src/utils.c
src/winio.c
# Package header files
nano.h
proto.h
src/nano.h
src/proto.h

701
po/ca.po

File diff suppressed because it is too large Load Diff

431
po/cs.po
View File

@@ -6,7 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.6\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2002-01-30 16:03+0100\n"
"Last-Translator: Václav Haisman <V.Haisman@sh.cvut.cz>\n"
"Language-Team: Czech <cs@li.org>\n"
@@ -14,15 +15,6 @@ msgstr ""
"Content-Type: text/plain; charset=iso-8859-2\n"
"Content-Transfer-Encoding: 8bit\n"
#: cut.c:49
#, fuzzy, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer voláno s inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Blew away cutbuffer =)\n"
#: files.c:317
#, fuzzy, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -86,12 +78,6 @@ msgstr "Soubor pro vlo
msgid "File to insert [from ./] "
msgstr "Soubor pro vlo¾ení [z ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, fuzzy, c-format
msgid "filename is %s\n"
msgstr "jméno souboru je %s"
#: files.c:495
msgid "Command to execute"
msgstr ""
@@ -110,16 +96,6 @@ msgstr "Nelze vlo
msgid "Key illegal in non-multibuffer mode"
msgstr "Klávesa nepøípustná v ne-vicebufferovém módu"
#: files.c:704 nano.c:565
#, fuzzy, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "delete_node(): uzel uvolnìn, YAY!\n"
#: files.c:709 nano.c:570
#, fuzzy, c-format
msgid "%s: free'd last node.\n"
msgstr "delete_node(): poslední uzel uvolnìn.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "®ádné dal¹í otevøené soubory"
@@ -144,11 +120,6 @@ msgstr "Nemohu otev
msgid "Couldn't write backup: %s"
msgstr "Nemohu zavøít %s: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr ""
#: files.c:1413
#, fuzzy, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -170,11 +141,6 @@ msgstr "Nemohu nastavit p
msgid "Could not open file for writing: %s"
msgstr "Nemohu otevøít soubor pro zápis: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Zapsáno >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -549,228 +515,228 @@ msgstr "Otev
msgid "Toggle insert into new buffer"
msgstr ""
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Nápovìda"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Zavøít"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Konec"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Zapi¹"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Zarovnání"
#: global.c:443
#: global.c:448
#, fuzzy
msgid "Read File"
msgstr "Èíst Soubor"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Kde Je"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Pøedchozí Strana"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Dal¹í Strana"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Vyjmi Text"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "OdZarovnej"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Zru¹ vyjmutí textu"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Pozice Kurzoru"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Pravopis"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Nahoru"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Dolu"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Dopøedu"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Zpìt"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Domù"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Konec"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Obnovit"
#: global.c:513
#: global.c:526
#, fuzzy
msgid "Mark Text"
msgstr "Oznaè Text"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Smazat"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Backspace"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
#, fuzzy
msgid "Replace"
msgstr "Zámìna"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
#, fuzzy
msgid "Go To Line"
msgstr "Jdi na Øádku"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr ""
#: global.c:542
#: global.c:555
#, fuzzy
msgid "Move forward one word"
msgstr "Pøesun o znak dopøedu"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr ""
#: global.c:546
#: global.c:559
#, fuzzy
msgid "Move backward one word"
msgstr "Pøesun o znak zpìt"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Najdi závorku"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr ""
#: global.c:558
#: global.c:571
#, fuzzy
msgid "Next File"
msgstr "Nový Soubor"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Storno"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "První Øádka"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Poslední Øádka"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Case Sens"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
#, fuzzy
msgid "Direction"
msgstr "Jdi na Øádku"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Regexp"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr ""
#: global.c:617
#: global.c:640
#, fuzzy
msgid "No Replace"
msgstr "Bez zámìny"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
#, fuzzy
msgid "To Files"
msgstr "K Souborùm"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr ""
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr ""
#: global.c:706
#: global.c:733
#, fuzzy
msgid "Append"
msgstr "Pøidat"
#: global.c:709
#: global.c:737
#, fuzzy
msgid "Prepend"
msgstr "Pøidat"
#: global.c:713
#: global.c:742
#, fuzzy
msgid "Backup File"
msgstr "Backspace"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr ""
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Nový Buffer"
#: global.c:778
#: global.c:810
#, fuzzy
msgid "Go To Dir"
msgstr "Jdi do adresáøe"
@@ -1262,16 +1228,6 @@ msgstr "Nemou vyvolat program \"ispell\""
msgid "Could not fork"
msgstr "Nemou vyvolat program \"ispell\""
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data nyní = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Poté, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Znaèka Nastavena"
@@ -1398,48 +1354,6 @@ msgstr "zak
msgid "Tab size is too small for nano...\n"
msgstr "Okno je moc malé pro Nano..."
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: nastav okna\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: spodní okno\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: otevøi soubor\n"
#: nano.c:3461
#, fuzzy, c-format
msgid "AHA! %c (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: nano.c:3481
#, fuzzy, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Mám Alt-O-%c! (%d)\n"
#: nano.c:3508
#, fuzzy, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Mám Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, fuzzy, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Mám Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Mám Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Mám Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr ""
@@ -1448,11 +1362,6 @@ msgstr ""
msgid "XON ignored, mumble mumble."
msgstr ""
#: nano.c:3752
#, fuzzy, c-format
msgid "I got %c (%d)!\n"
msgstr "Mám Alt-%c! (%d)\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1498,14 +1407,6 @@ msgstr "regex
msgid "Missing syntax name"
msgstr "Chybìjící jméno barvy"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr ""
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr ""
#: rcfile.c:352
msgid "Missing color name"
msgstr "Chybìjící jméno barvy"
@@ -1514,16 +1415,6 @@ msgstr "Chyb
msgid "Cannot add a color directive without a syntax line"
msgstr ""
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr ""
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr ""
#: rcfile.c:437
#, fuzzy
msgid "\"start=\" requires a corresponding \"end=\""
@@ -1531,21 +1422,11 @@ msgstr ""
"\n"
"\t\"start=\" musí mít korespondující \"end=\""
#: rcfile.c:486
#, fuzzy, c-format
msgid "%s: Read a comment\n"
msgstr "parse_rcfile: Èíst komentáø\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "pøíkazu %s nebylo porozumìno"
#: rcfile.c:521
#, fuzzy, c-format
msgid "%s: Parsing option %s\n"
msgstr "parse_rcfile: Volba parsování %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1561,16 +1442,6 @@ msgstr "
msgid "requested tab size %d invalid"
msgstr "¾ádaná velikost tab %d je moc malá"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "nastav vlajku %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "zru¹ vlajku %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Nalezeny chyby v souboru .nanorc"
@@ -1672,141 +1543,207 @@ msgstr "Nen
msgid "No matching bracket"
msgstr "Není korespondující závorka"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
#, fuzzy
msgid "nano is out of memory!"
msgstr "nano: malloc: nedostatek pamìti!"
#: winio.c:90
#, fuzzy, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x_from_start pro xplus=%d vrátilo %d\n"
#: winio.c:245 winio.c:473
#, fuzzy, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "vstup '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Soubor: ..."
#: winio.c:551
#: winio.c:602
#, fuzzy
msgid " DIR: ..."
msgstr " Adresáø: ..."
#: winio.c:556
#: winio.c:607
#, fuzzy
msgid "File: "
msgstr "Soubor: ..."
#: winio.c:559
#: winio.c:610
#, fuzzy
msgid " DIR: "
msgstr " Adresáø: ..."
#: winio.c:564
#: winio.c:615
#, fuzzy
msgid " Modified "
msgstr "Zmìnìn"
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr ""
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr ""
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Pøesunut na (%d, %d) v editovacím bufferu\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Mám \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Aa"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Vv"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Ano"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "V¹e"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Ne"
#: winio.c:1448
#: winio.c:1499
#, fuzzy, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "øádka %d z %d (%.0f%%), znak %ld z %ld (%.0f%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Vyhazuji souborový buffer od stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Vyhazuji cutbuffer do stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Vyhazuji buffer do stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Nano texotvý editor"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "verze "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Pøinesen k Vám od:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Speciální díky:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "The Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr ""
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "a komukoliv na koho jsme zapomìli..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Dìkuji za u¾ívání nano!\n"
#, fuzzy
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer voláno s inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Blew away cutbuffer =)\n"
#, fuzzy
#~ msgid "filename is %s\n"
#~ msgstr "jméno souboru je %s"
#, fuzzy
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "delete_node(): uzel uvolnìn, YAY!\n"
#, fuzzy
#~ msgid "%s: free'd last node.\n"
#~ msgstr "delete_node(): poslední uzel uvolnìn.\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Zapsáno >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data nyní = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Poté, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: nastav okna\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: spodní okno\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: otevøi soubor\n"
#, fuzzy
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#, fuzzy
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Mám Alt-O-%c! (%d)\n"
#, fuzzy
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Mám Alt-[-1-%c! (%d)\n"
#, fuzzy
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Mám Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Mám Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Mám Alt-%c! (%d)\n"
#, fuzzy
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Mám Alt-%c! (%d)\n"
#, fuzzy
#~ msgid "%s: Read a comment\n"
#~ msgstr "parse_rcfile: Èíst komentáø\n"
#, fuzzy
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "parse_rcfile: Volba parsování %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "nastav vlajku %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "zru¹ vlajku %d!\n"
#, fuzzy
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x_from_start pro xplus=%d vrátilo %d\n"
#, fuzzy
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "vstup '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Pøesunut na (%d, %d) v editovacím bufferu\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Mám \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Vyhazuji souborový buffer od stderr...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Vyhazuji cutbuffer do stderr...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Vyhazuji buffer do stderr...\n"
#~ msgid "Can't visit parent in restricted mode"
#~ msgstr "Nemohu nav¹tívit rodièe v omezeném re¾imu"

439
po/da.po
View File

@@ -5,7 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.2.0\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-03-08 22:27+0100\n"
"Last-Translator: Keld Simonsen <keld@dkuug.dk>\n"
"Language-Team: Danish <dansk@klid.dk>\n"
@@ -14,15 +15,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() kaldt med inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Sprængte udklipsbufferen =)\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -85,12 +77,6 @@ msgstr "Fil at inds
msgid "File to insert [from ./] "
msgstr "Fil at indsætte [fra ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "filnavnet er %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Kommando der skal udføres"
@@ -108,16 +94,6 @@ msgstr "Kan ikke inds
msgid "Key illegal in non-multibuffer mode"
msgstr "Tasten ugyldig i ikke-multibuffer-tilstand"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: frigjorde en knude, JUBII!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: frigjorde sidste knude.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Ikke flere åbne filer"
@@ -142,11 +118,6 @@ msgstr "Kunde ikke
msgid "Couldn't write backup: %s"
msgstr "Kunne ikke skrive sikkerhedskopi: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Sikkerhedskopierer %s til %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -168,11 +139,6 @@ msgstr "Kunne ikke s
msgid "Could not open file for writing: %s"
msgstr "Kunne ikke åbne filen for skrivning: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Skrev >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -526,215 +492,215 @@ msgid "Toggle insert into new buffer"
msgstr "Skift mellem indsætning i ny buffer eller ej"
# kontrollér at den finns
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Få hjælp"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Luk"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Afslut"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Gem"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Ombryd"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Læs fil"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Hvor findes"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Forrige"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Næste"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Klip ud"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "Ingen ombrydning"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Ingen udklipning"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Akt. pos"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Stavekontr."
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Op"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Ned"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Fremad"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Bagud"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Hjem"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Slut"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Opdatér"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Markér tekst"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Fjern"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Slet baglæns"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tabulator"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Erstat"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Gå til linje"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Næste ord"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Gå et ord fremad"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Foregående ord"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Gå et ord bagud"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Find anden klamme"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "Foregående fil"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "Næste fil"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Annullér"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Første linje"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Sidste linje"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Versalfølsom"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Retning"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Regudtr"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "Historik"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Ingen erstatning"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Til filer"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "DOS-format"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Mac-format"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Tilføj ved enden"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "Tilføj ved begyndelsen"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "Sikkerhedskopiér fil"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Udfør kommando"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Ny buffer"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Gå til katalog"
@@ -1234,16 +1200,6 @@ msgstr "Kunne ikke overf
msgid "Could not fork"
msgstr "Kunne ikke forgrene"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data nu = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Efter, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Markering sat"
@@ -1364,49 +1320,6 @@ msgstr "deaktiveret"
msgid "Tab size is too small for nano...\n"
msgstr "Tabulatorstørrelsen er for lille til Nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: konfigurér vindue\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: bundvindue\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: åbn fil\n"
# Osæker.
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Jeg modtog Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Jeg modtog Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Jeg modtog Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Jeg modtog Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Jeg modtog Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "XOFF ignoreret, mumle mumle."
@@ -1415,11 +1328,6 @@ msgstr "XOFF ignoreret, mumle mumle."
msgid "XON ignored, mumble mumble."
msgstr "XON ignoreret, mumle mumle."
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "Jeg modtog %c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1464,14 +1372,6 @@ msgstr "regex-strenge skal begynde og ende med et \" tegn\n"
msgid "Missing syntax name"
msgstr "Mangler syntaksnavn"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Tilføjer ny syntaks efter første\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Starter en ny syntakstype\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Mangler farvenavn"
@@ -1480,35 +1380,15 @@ msgstr "Mangler farvenavn"
msgid "Cannot add a color directive without a syntax line"
msgstr "Kan ikke tilføje farveordre uden en syntakslinje"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Starter en ny farvestreng for fg %d bg %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Tilføjer ny indgang for fg %d bg %d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" kræver et tilsvarende \"end=\""
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: Læs en kommentar\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "kommando %s ikke forstået"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: Fortolker valgmulighed %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1524,16 +1404,6 @@ msgstr "
msgid "requested tab size %d invalid"
msgstr "ønsket tab-størrelse %d ugyldig"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "sæt flag %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "fjern flag %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Fejl fundet i .nanorc-fil"
@@ -1632,138 +1502,207 @@ msgstr "Ikke en klamme"
msgid "No matching bracket"
msgstr "Ingen tilsvarende klamme"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "nano har ikke mere hukommelse!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x for xplus=%d returnerede %d\n"
# Osæker.
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
# Osæker.
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "inddata \"%c\" (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Fil:..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " KAT:..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Fil: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " KAT:"
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " Ændret "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " Se "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "Afviser regex-træffer med længen 0"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Gik til (%d, %d) i redigeringsbufferen\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Jeg modtog \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "JjYy"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Aa"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Ja"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Alle"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Nej"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "linje %ld/%ld (%d%%), kol %lu/%lu (%d%%), tegn %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Dumper filbufferen til standard fejl...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Dumper udklipsbufferen til standard fejl...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Dumper en buffer til standard fejl...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Tekstredigereren nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "version "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Præsenteres af:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Særlig tak til:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "For ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "og alle andre som vi har glemt..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Tak for at du bruger nano!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() kaldt med inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Sprængte udklipsbufferen =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "filnavnet er %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: frigjorde en knude, JUBII!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: frigjorde sidste knude.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "Sikkerhedskopierer %s til %s\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Skrev >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data nu = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Efter, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: konfigurér vindue\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: bundvindue\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: åbn fil\n"
# Osæker.
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Jeg modtog Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Jeg modtog Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Jeg modtog Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Jeg modtog Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Jeg modtog Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Jeg modtog %c (%d)!\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "Tilføjer ny syntaks efter første\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "Starter en ny syntakstype\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "Starter en ny farvestreng for fg %d bg %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "Tilføjer ny indgang for fg %d bg %d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: Læs en kommentar\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: Fortolker valgmulighed %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "sæt flag %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "fjern flag %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x for xplus=%d returnerede %d\n"
# Osæker.
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
# Osæker.
#~ msgid "input '%c' (%d)\n"
#~ msgstr "inddata \"%c\" (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Gik til (%d, %d) i redigeringsbufferen\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Jeg modtog \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Dumper filbufferen til standard fejl...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Dumper udklipsbufferen til standard fejl...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Dumper en buffer til standard fejl...\n"
#~ msgid "read_line: not on first line and prev is NULL"
#~ msgstr "read_line: ikke på første linje og foregående er NULL"

441
po/de.po
View File

@@ -6,9 +6,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.99pre3\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"PO-Revision-Date: 2003-02-17 10:52:11+0100\n"
"Project-Id-Version: nano 1.2.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-06-02 10:03:56+0200\n"
"Last-Translator: Michael Piefel <piefel@informatik.hu-berlin.de>\n"
"Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n"
@@ -16,15 +17,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() aufgerufen mit inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Inhalt der Zwischenablage verworfen\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -87,12 +79,6 @@ msgstr "in neuen Puffer einzufügende Datei [von ./] "
msgid "File to insert [from ./] "
msgstr "einzufügende Datei [von ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "Dateiname ist %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Auszuführender Befehl"
@@ -110,16 +96,6 @@ msgstr "Kann Datei von außerhalb %s nicht einfügen"
msgid "Key illegal in non-multibuffer mode"
msgstr "Unzulässige Taste wenn nicht im Multibuffer-Modus"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: Knoten freigegeben, JO!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: letzter Knoten freigegeben.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Keine weiteren offenen Dateien"
@@ -144,11 +120,6 @@ msgstr "Konnte %s nicht für die Sicherungskopie lesen: %s"
msgid "Couldn't write backup: %s"
msgstr "Konnte Sicherungskopie nicht schreiben: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Fertige Sicherungskopie von %s auf %s an\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -170,11 +141,6 @@ msgstr "Konnte Zugriffs-/Änderungszeit für Sicherungskopie %s nicht setzen: %s
msgid "Could not open file for writing: %s"
msgstr "Konnte nicht in Datei schreiben: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Schrieb >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -528,215 +494,215 @@ msgstr "Nächste geladene Datei öffnen"
msgid "Toggle insert into new buffer"
msgstr "Einfügen in neuen Puffer umschalten"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Hilfe"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Schließen"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Beenden"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Speichern"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Ausrichten"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Datei öffnen"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Wo ist"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Seite zurück"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Seite vor"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Ausschneiden"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "Ausrichten rückgängig"
msgstr "Ausr.rückg"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Ausschneiden rückgängig"
msgstr "Einfügen"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Cursor"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Rechtschr."
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Hoch"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Runter"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Vorwärts"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Zurück"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Pos 1"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Ende"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Auffrischen"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Text markieren"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Löschen"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Rücktaste"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Ersetzen"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Zu Zeile"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Nächstes Wort"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Zum folgenden Wort springen"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Vorheriges Wort"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Zum vorhergehenden Wort springen"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Andere Klammer finden"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "Vorherige Datei"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "Nächste Datei"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Abbrechen"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Erste Zeile"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Letzte Zeile"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "GROSZ/klein"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Richtung"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "reg. Ausdruck"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "Geschichte"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Keine Ersetzung"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "In Dateien"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "DOS-Format"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Mac-Format"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Anhängen"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "vorn Anfügen"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "Sicherungskopie"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Befehl ausführen"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Neuer Puffer"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Gehe zu Verzeichnis"
@@ -1242,16 +1208,6 @@ msgstr "Konnte kein Pipe durchführen"
msgid "Could not fork"
msgstr "Konnte kein Fork durchführen "
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data jetzt = »%s«\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Nachher, data = »%s«\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Markierung gesetzt"
@@ -1375,48 +1331,6 @@ msgstr "deaktiviert"
msgid "Tab size is too small for nano...\n"
msgstr "Tabulatorweite ist zu klein für Nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Hauptprogramm: Fenster konfigurieren\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Hauptprogramm: unteres Fenster\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Hauptprogramm: Datei öffnen\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "Aha! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Erhielt Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Erhielt Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Erhielt Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Erhielt Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Erhielt Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "XOFF ignoriert, murmel murmel."
@@ -1425,11 +1339,6 @@ msgstr "XOFF ignoriert, murmel murmel."
msgid "XON ignored, mumble mumble."
msgstr "XON ignoriert, murmel murmel."
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "Erhielt %c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1475,14 +1384,6 @@ msgstr ""
msgid "Missing syntax name"
msgstr "Fehlender Syntaxname"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Füge neue Syntax nach der ersten hinzu\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Beginne einen neuen Syntaxtyp\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Fehlender Farbname"
@@ -1491,35 +1392,15 @@ msgstr "Fehlender Farbname"
msgid "Cannot add a color directive without a syntax line"
msgstr "Kann keine Farbdirektive hinzufügen, ohne eine Syntaxzeile zu haben"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Beginne eine neue Farbzeichenkette für fg %d bg %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Füge neuen Eintrag für fg %d bg %d hinzu\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "»start=« erfordert ein entsprechendes »end=«"
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: Kommentar lesen\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "Befehl %s nicht verstanden"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: Option %s lesen\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1535,16 +1416,6 @@ msgstr "Angeforderte Füllgröße %d ungültig"
msgid "requested tab size %d invalid"
msgstr "Angeforderte Tabulatorweite %d ungültig"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "setze Flag %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "lösche Flag %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Fehler in .nanorc-Datei gefunden"
@@ -1643,136 +1514,204 @@ msgstr "Keine Klammer"
msgid "No matching bracket"
msgstr "Keine passende Klammer"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "nano hat keinen Speicher mehr!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x für xplus=%d gab %d zurück\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "Eingabe '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Datei: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " Verz.: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Datei: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr "Verz.: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr "Verändert "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr "Ansehen "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "Treffer mit Länge 0 bei regulärem Ausdruck nicht akzeptiert"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Nach (%d, %d) im Bearbeitungspuffer verschoben\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Erhielt »%s«\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "JjYy"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Aa"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Ja"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Alle"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Nein"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "Zeile %ld/%ld (%d%%), Spalte %lu/%lu (%d%%), Zeichen %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Gebe Datei Puffer nach stderr aus...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Gebe Inhalt der Zwischenablage nach stderr aus...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Gebe einen Puffer nach stderr aus...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Der nano-Text-Editor"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "Version "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Entwickelt von:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Speziellen Dank an:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "The Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "Für ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "und alle Nichtgenannten..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Danke für die Benutzung von nano!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() aufgerufen mit inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Inhalt der Zwischenablage verworfen\n"
#~ msgid "filename is %s\n"
#~ msgstr "Dateiname ist %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: Knoten freigegeben, JO!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: letzter Knoten freigegeben.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "Fertige Sicherungskopie von %s auf %s an\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Schrieb >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data jetzt = »%s«\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Nachher, data = »%s«\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Hauptprogramm: Fenster konfigurieren\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Hauptprogramm: unteres Fenster\n"
#~ msgid "Main: open file\n"
#~ msgstr "Hauptprogramm: Datei öffnen\n"
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "Aha! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Erhielt Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Erhielt Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Erhielt Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Erhielt Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Erhielt Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Erhielt %c (%d)!\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "Füge neue Syntax nach der ersten hinzu\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "Beginne einen neuen Syntaxtyp\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "Beginne eine neue Farbzeichenkette für fg %d bg %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "Füge neuen Eintrag für fg %d bg %d hinzu\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: Kommentar lesen\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: Option %s lesen\n"
#~ msgid "set flag %d!\n"
#~ msgstr "setze Flag %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "lösche Flag %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x für xplus=%d gab %d zurück\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "Eingabe '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Nach (%d, %d) im Bearbeitungspuffer verschoben\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Erhielt »%s«\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Gebe Datei Puffer nach stderr aus...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Gebe Inhalt der Zwischenablage nach stderr aus...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Gebe einen Puffer nach stderr aus...\n"
#~ msgid ""
#~ "\n"
#~ "The -p flag now invokes the Pico \"preserve\" flag.\n"

449
po/es.po
View File

@@ -7,7 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.99pre3\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-02-19 15:36+0000\n"
"Last-Translator: Ricardo Javier Cárdenes Medina <a1402@dis.ulpgc.es>\n"
"Language-Team: Spanish <es@li.org>\n"
@@ -16,15 +17,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n!=1;\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() llamado con inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Nos hemos cargado el cutbuffer =)\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -88,12 +80,6 @@ msgstr "Fichero a insertar en el nuevo b
msgid "File to insert [from ./] "
msgstr "Fichero a insertar [desde ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "filename contiene %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Orden a ejecutar"
@@ -112,16 +98,6 @@ msgstr "No se puede insertar un fichero desde fuera de %s"
msgid "Key illegal in non-multibuffer mode"
msgstr "Tecla ilegal en modo no-multibuffer"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: liberado un nodo, ¡YEAH!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: liberado el último nodo.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "No hay más ficheros abiertos"
@@ -146,11 +122,6 @@ msgstr "No se pudo leer %s para hacer la copia de respaldo: %s"
msgid "Couldn't write backup: %s"
msgstr "No se pudo escribir la copia de respaldo: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Respaldando %s en %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -175,16 +146,6 @@ msgstr ""
msgid "Could not open file for writing: %s"
msgstr "No pude abrir el fichero para escribir: %s"
# En general, solemos evitar que un programa hable en primera persona.
# En vez de "he hecho esto" se suele poner "ha sucedido esto".
# En este caso sería "Se escribió >%s\n". sv
# Vale, esto viene de lejos, del primer día que traduje.
# Lo cambio, estoy totalmente de acuerdo. jm
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Se escribió >%s\n"
# Lo mismo. No se pudo cerrar. sv
#: files.c:1572
#, c-format
@@ -563,219 +524,219 @@ msgstr "Abrir siguiente fichero cargado"
msgid "Toggle insert into new buffer"
msgstr "Insertar/No insertar en nuevo búfer"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Ver ayuda"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Cerrar"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Salir"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Guardar"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Justificar"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "L Fichero"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Buscar"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Pág Ant"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Pág Sig"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "CortarTxt"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "Desjustificar"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "PegarTxt"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Pos act"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Ortografía"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Arriba"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Abajo"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Adelante"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Atrás"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Inicio"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Fin"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Refrescar"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "MarcarTxt"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Suprimir"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Borrar"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Reemplazar"
# Intro (?). sv
# O introducir, no encuentro el contexto...
# Ok, es Intro (pero no se usa, parece, reportaré el bug) jm
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Intro"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Ir a Línea"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Palabra siguiente"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Moverse hacia adelante una palabra"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Palabra anterior"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Moverse hacia atrás una palabra"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Buscar la otra llave"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "Fichero anterior"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "Fichero siguiente"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Cancelar"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Primera línea"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Última línea"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "May/Min"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Dirección"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "ExpReg"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "Histórico"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "No reemplazar"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "A ficheros"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "Formato DOS"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Formato Mac"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Añadir"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "Anteponer"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "Respaldar fichero"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Ejecutar orden"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Nuevo Buffer"
# a un. sv
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Ir a un directorio"
@@ -1285,16 +1246,6 @@ msgstr "No se pudo canalizar"
msgid "Could not fork"
msgstr "No se pudo crear otro proceso"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data ahora = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Después, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Marca Establecida"
@@ -1423,49 +1374,6 @@ msgstr "deshabilitado"
msgid "Tab size is too small for nano...\n"
msgstr "El tamaño del tabulador es demasiado pequeño para Nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: configurar las ventanas\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: ventana inferior\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: abrir fichero\n"
# Ajá. sv
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "¡Ajá! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "¡Pillé Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "¡Pillé Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "¡Pillé Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "¡Pillé Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "¡Pillé Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "Se ignora XOFF, grrrr..."
@@ -1474,11 +1382,6 @@ msgstr "Se ignora XOFF, grrrr..."
msgid "XON ignored, mumble mumble."
msgstr "Se ignora XON, grrrr..."
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "¡Pillé Alt-%c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1524,14 +1427,6 @@ msgstr "Las cadenas de regex han de empezar y acabar con un car
msgid "Missing syntax name"
msgstr "Nombre de la sintaxis inexistente"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Añadida nueva sintaxis tras la 1a\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Inicio de un nuevo tipo de sintaxis\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Nombre del color inexistente"
@@ -1540,25 +1435,10 @@ msgstr "Nombre del color inexistente"
msgid "Cannot add a color directive without a syntax line"
msgstr "No se puede añadir una directiva de color sin una línea de sintaxis"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Inicio de una nueva cadena de color para fg %d bg %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Se añade nueva entrada para fg %d bg %d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "«start=» requiere su «end=» correspondiente"
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: Comentario leído\n"
# en la línea. sv
# el comando -> la orden.
#: rcfile.c:509
@@ -1566,12 +1446,6 @@ msgstr "%s: Comentario le
msgid "command %s not understood"
msgstr "orden %s no reconocida"
# Analizando la opción. sv
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: Analizando opción %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1587,16 +1461,6 @@ msgstr "el tama
msgid "requested tab size %d invalid"
msgstr "el tamaño de tabulador %d no es válido"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "establecer marca %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "quitar marca %d!\n"
# Se encontraron errores en el fichero .nanorc. sv
#: rcfile.c:614
msgid "Errors found in .nanorc file"
@@ -1699,137 +1563,212 @@ msgid "No matching bracket"
msgstr "No hay una llave correspondiente"
# ¡memoria insuficiente! sv
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "¡nano se ha quedado sin memoria!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x para xplus=%d devolvió %d\n"
# Ajá. sv
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Ajá! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "entrada '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr "Fichero: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " DIR: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Fichero: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " DIR: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " Modificado "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " Ver "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "Rechazada coincidencia de expreg de longitud 0"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Moviendo a (%d, %d) en búfer de edición\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Pillé \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Ss"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Tt"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Sí"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Todas"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "No"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "línea %ld/%ld (%d%%), col %lu/%lu (%d%%), car %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Volcando búfer de fichero a stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Volcando el cutbuffer a stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Volcando un búfer a stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "El editor de textos GNU nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "versión "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Por cortesía de:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Agradecimientos especiales para:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "La Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "Por ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "y cualquiera del que nos hayamos olvidado..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "¡Gracias por usar nano!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() llamado con inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Nos hemos cargado el cutbuffer =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "filename contiene %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: liberado un nodo, ¡YEAH!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: liberado el último nodo.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "Respaldando %s en %s\n"
# En general, solemos evitar que un programa hable en primera persona.
# En vez de "he hecho esto" se suele poner "ha sucedido esto".
# En este caso sería "Se escribió >%s\n". sv
# Vale, esto viene de lejos, del primer día que traduje.
# Lo cambio, estoy totalmente de acuerdo. jm
#~ msgid "Wrote >%s\n"
#~ msgstr "Se escribió >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data ahora = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Después, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: configurar las ventanas\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: ventana inferior\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: abrir fichero\n"
# Ajá. sv
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "¡Ajá! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "¡Pillé Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "¡Pillé Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "¡Pillé Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "¡Pillé Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "¡Pillé Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "¡Pillé Alt-%c (%d)!\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "Añadida nueva sintaxis tras la 1a\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "Inicio de un nuevo tipo de sintaxis\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "Inicio de una nueva cadena de color para fg %d bg %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "Se añade nueva entrada para fg %d bg %d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: Comentario leído\n"
# Analizando la opción. sv
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: Analizando opción %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "establecer marca %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "quitar marca %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x para xplus=%d devolvió %d\n"
# Ajá. sv
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Ajá! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "entrada '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Moviendo a (%d, %d) en búfer de edición\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Pillé \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Volcando búfer de fichero a stderr...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Volcando el cutbuffer a stderr...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Volcando un búfer a stderr...\n"
#~ msgid ""
#~ "\n"
#~ "The -p flag now invokes the Pico \"preserve\" flag.\n"

427
po/eu.po
View File

@@ -6,7 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.2pre2\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2002-12-22 18:19+0100\n"
"Last-Translator: Peio Ziarsolo <peio@sindominio.net>\n"
"Language-Team: Basque <itzulpena@euskalgnu.org>\n"
@@ -14,15 +15,6 @@ msgstr ""
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
#: cut.c:49
#, fuzzy, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer Honekin deitua: inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Cutbuffera apurtu da =)\n"
#: files.c:317
#, fuzzy, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -86,12 +78,6 @@ msgstr "Artxiboa insertatzeko [./tik]"
msgid "File to insert [from ./] "
msgstr "Artxiboa insertatzeko [./tik]"
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, fuzzy, c-format
msgid "filename is %s\n"
msgstr "%s da artxiboaren izena"
#: files.c:495
msgid "Command to execute"
msgstr ""
@@ -110,16 +96,6 @@ msgstr "Ezin da artxiboa txertatu %s-tik kanpo"
msgid "Key illegal in non-multibuffer mode"
msgstr "Tekla ilegala ikuskatze moduan"
#: files.c:704 nano.c:565
#, fuzzy, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "delete_node():nodo bat liberatua, IEPA!\n"
#: files.c:709 nano.c:570
#, fuzzy, c-format
msgid "%s: free'd last node.\n"
msgstr "delete_node(): Azkenengo nodoa liberatua.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Ez dago artxibo gehiago irekirik"
@@ -144,11 +120,6 @@ msgstr "Ezin izan zen %s ireki %s idazteko"
msgid "Couldn't write backup: %s"
msgstr "Ezin da %staz kanpo idatzi"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr ""
#: files.c:1413
#, fuzzy, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -170,11 +141,6 @@ msgstr "Ezin izan ziren %o baimenak %sri ezarri: %s "
msgid "Could not open file for writing: %s"
msgstr "Ezin da idazteko artxibo hau zabaldu:%s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Idatzi zen >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -540,221 +506,221 @@ msgstr "Ireki kargatutako hurrengo artxiboa"
msgid "Toggle insert into new buffer"
msgstr ""
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Laguntza begiratu"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Itxi"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Irten"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Gorde"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Justificatu"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Artxiboa irakurri"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Bilatu"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Aurreko orrialdea"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Hurrengo orrialdea"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Textua moztu"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "Justifikazioa deuzeztu"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Textua txertatu"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Uneko posizioa"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Ortografia"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Goian"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Behean"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Aurrean"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Atzean"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Hasierako orria"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Bukaera"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Freskatze"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Textua markatu"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Ezabatu"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr ""
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Ordezkatu"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
#, fuzzy
msgid "Go To Line"
msgstr "Lerrora joan"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr ""
#: global.c:542
#: global.c:555
#, fuzzy
msgid "Move forward one word"
msgstr "Karaktere bat aurreruntz mugitu"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr ""
#: global.c:546
#: global.c:559
#, fuzzy
msgid "Move backward one word"
msgstr "Karaktere bat atzeruntz mugitu"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Beste giltz bat bilatu"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr ""
#: global.c:558
#: global.c:571
#, fuzzy
msgid "Next File"
msgstr "Artxibo berria"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Bertan behera utzi"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Lehen lerroa"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Azken lerroa"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "May/Min"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Direkzioa"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Regexp"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr ""
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Ez ordezkatu"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Artxiboetara"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr ""
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr ""
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Gehitu"
#: global.c:709
#: global.c:737
#, fuzzy
msgid "Prepend"
msgstr "Gehitu"
#: global.c:713
#: global.c:742
#, fuzzy
msgid "Backup File"
msgstr "msgid \"Backspace\"\n"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr ""
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Bufer berria"
#: global.c:778
#: global.c:810
#, fuzzy
msgid "Go To Dir"
msgstr "Direktoriora joan"
@@ -1202,16 +1168,6 @@ msgstr "Ezin izan zen %s: %s itxi"
msgid "Could not fork"
msgstr "Ezin izan zen %s: %s itxi"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data orain =\"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Gero, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Marka aukeratua"
@@ -1339,48 +1295,6 @@ msgstr "Ez gaitua"
msgid "Tab size is too small for nano...\n"
msgstr "Terminalaren tamainua txikiegia da nano-rentzat"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: Lehioak konfiguratu\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: Beheko lehioa\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: artxiboa ireki\n"
#: nano.c:3461
#, fuzzy, c-format
msgid "AHA! %c (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Alt-O-%c! Lortu dut! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Alt-[-1-%c Lortu dut! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Alt-[-2-%c lortu dut! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "lt-[-%c lortu dut! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Alt-%c lortu dut! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr ""
@@ -1389,11 +1303,6 @@ msgstr ""
msgid "XON ignored, mumble mumble."
msgstr ""
#: nano.c:3752
#, fuzzy, c-format
msgid "I got %c (%d)!\n"
msgstr "Alt-%c lortu dut! (%d)\n"
#: rcfile.c:103
#, fuzzy, c-format
msgid "Error in %s on line %d: "
@@ -1434,14 +1343,6 @@ msgstr ""
msgid "Missing syntax name"
msgstr ""
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr ""
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr ""
#: rcfile.c:352
msgid "Missing color name"
msgstr ""
@@ -1450,35 +1351,15 @@ msgstr ""
msgid "Cannot add a color directive without a syntax line"
msgstr ""
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr ""
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr ""
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr ""
#: rcfile.c:486
#, fuzzy, c-format
msgid "%s: Read a comment\n"
msgstr "parse_rcfile:Komentarioa irakurria\n"
#: rcfile.c:509
#, fuzzy, c-format
msgid "command %s not understood"
msgstr "Arazoa %sn %d lerroan: %s comandoa ez ulertua"
#: rcfile.c:521
#, fuzzy, c-format
msgid "%s: Parsing option %s\n"
msgstr "parse_rcfile: %s ahukera parseatzen\n"
#: rcfile.c:541
#, fuzzy, c-format
msgid "option %s requires an argument"
@@ -1494,16 +1375,6 @@ msgstr ""
msgid "requested tab size %d invalid"
msgstr ""
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "%dmarka jarri!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "%d marka kendu!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Arazo bat/batzuk aurkituak .nanorc artxiboan"
@@ -1602,140 +1473,202 @@ msgstr "Ez da hori giltza"
msgid "No matching bracket"
msgstr "Ez dago giltz egokirik"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
#, fuzzy
msgid "nano is out of memory!"
msgstr "nano: malloc: memoria falta!"
#: winio.c:90
#, fuzzy, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x_from_start xplus=%d-entzat %d bueltatzen du\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "sarrera '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Artxiboa:..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr "DIR: ..."
#: winio.c:556
#: winio.c:607
#, fuzzy
msgid "File: "
msgstr " Artxiboa:..."
#: winio.c:559
#: winio.c:610
#, fuzzy
msgid " DIR: "
msgstr "DIR: ..."
#: winio.c:564
#: winio.c:615
#, fuzzy
msgid " Modified "
msgstr "Aldatua"
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr ""
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr ""
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "(%d, %d)ra mugitu bufer editatuan\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "\"%s\"Lortu dut!\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Bb"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Ee"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Dd"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Bai"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Denak"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Ez"
#: winio.c:1448
#: winio.c:1499
#, fuzzy, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "%1$d (%3$.0f%%)-tik %2$d lerroa, %4$d (%6$.0f%%)-tik %5$d karakterea"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Artxibo buferra stderrera pasatzen...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Cutbuferra stderrera pasatzen...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Buferra stderrera pasatzen...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Nano textu editorea"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "bertsioa"
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Zuretzako hauek egina:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Esker bereziak:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "Free software fundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr ""
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "and anyone else we forgot..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Eskerrikasko nano erabiltzeagatik\n"
#, fuzzy
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer Honekin deitua: inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Cutbuffera apurtu da =)\n"
#, fuzzy
#~ msgid "filename is %s\n"
#~ msgstr "%s da artxiboaren izena"
#, fuzzy
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "delete_node():nodo bat liberatua, IEPA!\n"
#, fuzzy
#~ msgid "%s: free'd last node.\n"
#~ msgstr "delete_node(): Azkenengo nodoa liberatua.\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Idatzi zen >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data orain =\"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Gero, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: Lehioak konfiguratu\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: Beheko lehioa\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: artxiboa ireki\n"
#, fuzzy
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Alt-O-%c! Lortu dut! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Alt-[-1-%c Lortu dut! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Alt-[-2-%c lortu dut! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "lt-[-%c lortu dut! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Alt-%c lortu dut! (%d)\n"
#, fuzzy
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Alt-%c lortu dut! (%d)\n"
#, fuzzy
#~ msgid "%s: Read a comment\n"
#~ msgstr "parse_rcfile:Komentarioa irakurria\n"
#, fuzzy
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "parse_rcfile: %s ahukera parseatzen\n"
#~ msgid "set flag %d!\n"
#~ msgstr "%dmarka jarri!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "%d marka kendu!\n"
#, fuzzy
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x_from_start xplus=%d-entzat %d bueltatzen du\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "sarrera '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "(%d, %d)ra mugitu bufer editatuan\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "\"%s\"Lortu dut!\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Artxibo buferra stderrera pasatzen...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Cutbuferra stderrera pasatzen...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Buferra stderrera pasatzen...\n"
#~ msgid "Can't visit parent in restricted mode"
#~ msgstr "Ezin da maila nagusia era murriztuan bisitatu"

437
po/fi.po
View File

@@ -7,7 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.99pre3\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-02-17 22:32+0200\n"
"Last-Translator: Kalle Olavi Niemitalo <kon@iki.fi>\n"
"Language-Team: Finnish <fi@li.org>\n"
@@ -16,15 +17,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() kutsuttu, inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Leiketila katosi =)\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -89,12 +81,6 @@ msgstr "Uuteen puskuriin lis
msgid "File to insert [from ./] "
msgstr "Lisättävä tiedosto [hakemistosta ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "tiedoston nimi on %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Suoritettava komento"
@@ -114,16 +100,6 @@ msgstr "Ei voi lis
msgid "Key illegal in non-multibuffer mode"
msgstr "Virheellinen näppäin yhden puskurin tilassa"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: solmu vapautettu, YAY!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: viimeinen solmu vapautettu.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Ei muita avoimia tiedostoja"
@@ -150,11 +126,6 @@ msgstr "Tiedostoa %s ei voitu lukea varmuuskopioitavaksi: %s"
msgid "Couldn't write backup: %s"
msgstr "Varmuuskopiota ei voitu kirjoittaa: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Kopioin tiedoston %s tiedostoksi %s\n"
# Allatiivi kuulostaa väärältä.
#: files.c:1413
#, c-format
@@ -194,11 +165,6 @@ msgstr "Varmuuskopion %s k
msgid "Could not open file for writing: %s"
msgstr "Tiedostoa ei voitu avata kirjoitettavaksi: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Kirjoitettu: >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -566,225 +532,225 @@ msgstr "Avaa seuraava ladattu tiedosto"
msgid "Toggle insert into new buffer"
msgstr "Vaihda lisätäänkö tiedosto samaan vai uuteen puskuriin"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Ohjeita"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Sulje"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Lopeta"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Kirjoita"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Tasaa"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Lue tied."
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Etsi"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Ed. sivu"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Seur. sivu"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Leikkaa"
# 80 sarakkeen näytöllä mahtuu 10 merkkiä, mieluummin 9.
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "Epätasaa"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Liitä"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Sijainti"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Oikolue"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Ylös"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Alas"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Eteenpäin"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Takaisin"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Home"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "End"
# "Päivitä"?
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Piirrä uudelleen"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Merkitse tekstiä"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Poista"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Askelpalautin"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Sarkain"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Korvaa"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
# Tämä on "Etsi"-valikossa.
# 80 sarakkeen näytöllä mahtuu 13 merkkiä, mieluummin 12.
# Huomaa myös "Go To Line Help Text".
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Rivinumero"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Seuraava sana"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Siirry yksi sana eteenpäin"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Edellinen sana"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Siirry yksi sana taaksepäin"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Etsi toinen sulje"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "Edellinen tiedosto"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "Seuraava tiedosto"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Peru"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "1. rivi"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Viim. rivi"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Kirj. koko"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Suunta"
# "Äiti, mikä on säännöke?" "Kai se joku pikku sääntö on."
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Säännöke"
# Tämä on Etsi-valikossa.
# 80 sarakkeen näytöllä mahtuu 11 merkkiä.
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "Historia"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Älä korvaa"
# Tämä on Kirjoita tiedosto- ja Lisää tiedosto -valikoissa.
# 80 sarakkeen näytöllä mahtuu 17 merkkiä, mieluummin 16.
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Tiedostoselain"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "DOS-muoto"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Mac-muoto"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Lisää loppuun"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "Lisää alkuun"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "Varmuuskopio"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Suorita komento"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Uusi teksti"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Siirry hakemistoon"
@@ -1285,16 +1251,6 @@ msgstr "Ei voitu tehd
msgid "Could not fork"
msgstr "Ei voitu tehdä lapsiprosessia"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data nyt = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Jälkeenpäin data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Merkintä alkoi"
@@ -1416,48 +1372,6 @@ msgstr "ei k
msgid "Tab size is too small for nano...\n"
msgstr "Sarkaimen leveys on liian pieni Nanolle...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Pääohjelma: ikkunoiden asettelu\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Pääohjelma: alaikkuna\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Pääohjelma: avaa tiedosto\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "Ahaa! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Vastaanotettu Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Vastaanotettu Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Vastaanotettu Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Vastaanotettu Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "XOFF:ia ei käytetä, mutinaa"
@@ -1466,11 +1380,6 @@ msgstr "XOFF:ia ei k
msgid "XON ignored, mumble mumble."
msgstr "XON:ia ei käytetä, mutinaa"
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "Vastaanotettu %c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1515,14 +1424,6 @@ msgstr "s
msgid "Missing syntax name"
msgstr "Puuttuva syntaksin nimi"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Lisään syntaksin ensimmäisen jälkeen\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Aloitan uuden syntaksityypin\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Puuttuva värin nimi"
@@ -1531,35 +1432,15 @@ msgstr "Puuttuva v
msgid "Cannot add a color directive without a syntax line"
msgstr "En voi lisätä väriohjetta ilman syntaksiriviä"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Aloitan uuden värimerkkijonon fg: %d bg: %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Lisään uuden määrityksen fg: %d bg: %d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" vaatii vastaavan \"end=\":n"
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: Luki kommentin\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "tuntematon komento %s"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: Tulkitsee asetusta %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1577,16 +1458,6 @@ msgstr "haluttu rivinpituus %d ei kelpaa"
msgid "requested tab size %d invalid"
msgstr "haluttu sarkaimen koko %d ei kelpaa"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "asetti lipun %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "poisti lipun %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Tiedostossa .nanorc oli virheitä"
@@ -1687,137 +1558,205 @@ msgstr "Ei ole suljemerkki"
msgid "No matching bracket"
msgstr "Ei vastaavaa suljetta"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "Nanolta loppui muisti!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x parametrilla xplus=%d palauttaa %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Ahaa! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "syöte '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Tiedosto: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " HAKEMISTO: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Tiedosto: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " HAKEMISTO: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " Muokattu "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " Näkymä "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "En hyväksy 0-pituista säännöllisen lausekkeen osumaa"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Kohtaan (%d,%d) siirrytty muokkausruudussa\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Saatiin \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Kk"
msgstr "KkYy"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Ee"
msgstr "EeNn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "aA"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Kyllä"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Kaikki"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Ei"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "rivi %ld/%ld (%d%%), sarake %lu/%lu (%d%%), merkki %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Syöttää tiedoston stderriin...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Syöttää leiketilan stderriin...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Syöttää tekstin stderriin...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Nano-editori"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "versio "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Tehneet:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Erikoiskiitokset:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "Free Software Foundation"
# Special thanks to: (nimiä) For ncurses: (nimiä)
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "Ncursesista:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "ja kaikille muille, jotka unohdimme..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Kiitos Nanon käyttämisestä!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() kutsuttu, inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Leiketila katosi =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "tiedoston nimi on %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: solmu vapautettu, YAY!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: viimeinen solmu vapautettu.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "Kopioin tiedoston %s tiedostoksi %s\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Kirjoitettu: >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data nyt = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Jälkeenpäin data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Pääohjelma: ikkunoiden asettelu\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Pääohjelma: alaikkuna\n"
#~ msgid "Main: open file\n"
#~ msgstr "Pääohjelma: avaa tiedosto\n"
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "Ahaa! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Vastaanotettu Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Vastaanotettu Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Vastaanotettu Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Vastaanotettu Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Vastaanotettu %c (%d)!\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "Lisään syntaksin ensimmäisen jälkeen\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "Aloitan uuden syntaksityypin\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "Aloitan uuden värimerkkijonon fg: %d bg: %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "Lisään uuden määrityksen fg: %d bg: %d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: Luki kommentin\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: Tulkitsee asetusta %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "asetti lipun %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "poisti lipun %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x parametrilla xplus=%d palauttaa %d\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Ahaa! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "syöte '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Kohtaan (%d,%d) siirrytty muokkausruudussa\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Saatiin \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Syöttää tiedoston stderriin...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Syöttää leiketilan stderriin...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Syöttää tekstin stderriin...\n"
#~ msgid ""
#~ "\n"
#~ "The -p flag now invokes the Pico \"preserve\" flag.\n"

858
po/fr.po

File diff suppressed because it is too large Load Diff

433
po/gl.po
View File

@@ -6,7 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.99pre3\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-02-15 18:46+0100\n"
"Last-Translator: Jacobo Tarrio <jtarrio@trasno.net>\n"
"Language-Team: Galician <gpul-traduccion@ceu.fi.udc.es>\n"
@@ -15,15 +16,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n!=1;\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "chamouse a add_to_cutbuffer() con inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Borrouse o buffer de cortado =)\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -86,12 +78,6 @@ msgstr "Ficheiro a inserir nun novo buffer [dende ./]"
msgid "File to insert [from ./] "
msgstr "Ficheiro a inserir [dende ./]"
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "filename é %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Comando a executar"
@@ -109,16 +95,6 @@ msgstr "Non se pode inserir un ficheiro de f
msgid "Key illegal in non-multibuffer mode"
msgstr "Tecla non válida no modo sen multibuffer"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: liberouse un nodo, ¡AI!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: liberouse o derradeiro nodo.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Non hai máis ficheiros abertos"
@@ -143,11 +119,6 @@ msgstr "Non se puido abrir %s para facer unha copia: %s"
msgid "Couldn't write backup: %s"
msgstr "Non se puido grava-la copia: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Copiando %s en %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -169,11 +140,6 @@ msgstr "Non se puido estabrece-la data de acceso/modificaci
msgid "Could not open file for writing: %s"
msgstr "Non se puido abri-lo ficheiro para escribir: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Escribíuse >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -526,215 +492,215 @@ msgstr "Abri-lo seguinte ficheiro cargado"
msgid "Toggle insert into new buffer"
msgstr "Inserir/non inserir no novo buffer"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Axuda"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Pechar"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Saír"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Gravar"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Xustif."
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Ler Fich."
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Buscar"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Páx. Seg."
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Páx. Ant."
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Cortar"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "Des-Xust."
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Pegar"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Pos. Act."
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Ortograf."
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Arriba"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Abaixo"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Adiante"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Atrás"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Inicio"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Fin"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Actualizar"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Marcar"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Borrar"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Retroceso"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tabulador"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Substit."
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Ir Á Liña"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Seguinte Palabra"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Avanzar unha palabra"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Palabra Anterior"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Recuar unha palabra"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Busca-la Parella"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "Ficheiro Anterior"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "Seguinte Ficheiro"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Cancelar"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Pri. Liña"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Der. Liña"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Maiú./Min."
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Dirección"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "ExpReg"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "Historia"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Non Subst."
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "A Ficheiros"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "Formato DOS"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Formato Mac"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Engadir"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "Engadir ao Princ."
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "Facer CopiaSeg."
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Executar Comando"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Novo Buffer"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Ir Ao Directorio"
@@ -1237,16 +1203,6 @@ msgstr "Non se puido estabrecer unha canalizaci
msgid "Could not fork"
msgstr "Non se puido iniciar outro proceso"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data agora = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Despois, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Marca Posta"
@@ -1369,48 +1325,6 @@ msgstr "desactivado"
msgid "Tab size is too small for nano...\n"
msgstr "O tamaño de tabulación é pequeno de máis para nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: configura-las fiestras\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: fiestra inferior\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: abrir ficheiro\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "¡Aghá! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "¡Recibiuse Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "¡Recibiuse Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "¡Recibiuse Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "¡Recibiuse Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "¡Recibiuse Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "Ignórase XOFF, mmmm..."
@@ -1419,11 +1333,6 @@ msgstr "Ign
msgid "XON ignored, mumble mumble."
msgstr "Ignórase XON, mmmm..."
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "¡Recibiuse %c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1469,14 +1378,6 @@ msgstr ""
msgid "Missing syntax name"
msgstr "Falla o nome da sintaxe"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Engadindo a nova sintaxe trala primeira\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Iniciando un novo tipo de sintaxe\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Falla o nome da cor"
@@ -1485,35 +1386,15 @@ msgstr "Falla o nome da cor"
msgid "Cannot add a color directive without a syntax line"
msgstr "Non se pode engadir unha directiva de cor sen unha liña de sintaxe"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Iniciando unha nova cadea de cor para %d, fondo %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Engadindo unha nova entrada para %d, fondo %d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" precisa dun \"end=\" correspondente"
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: Leuse un comentario\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "o comando %s non se comprendeu"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: Analizando a opción %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1529,16 +1410,6 @@ msgstr "o tama
msgid "requested tab size %d invalid"
msgstr "o tamaño de tabulación solicitado %d non é válido"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "¡estabrece-lo indicador %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "¡elimina-lo indicador %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Atopáronse erros no ficheiro .nanorc"
@@ -1637,136 +1508,204 @@ msgstr "Non
msgid "No matching bracket"
msgstr "Non se atopou a parella do delimitador"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "¡A nano esgotóuselle a memoria!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x para xplus=%d devolve %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "¡Aghá! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "entrada '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Ficheiro: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " DIR: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Ficheiro: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " DIR: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " Modificado "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " Ver "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "Rexeitando a coincidencia cunha expresión regular de lonxitude 0"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Moveuse a (%d, %d) no buffer de edición\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Recibiuse \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Ss"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Tt"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Si"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Todo"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Non"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "liña %ld/%ld (%d%%), col %lu/%lu (%d%%), car %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Envorcando o buffer de ficheiro a stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Envorcando o buffer de cortado a stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Envorcando un buffer a stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "O editor de texto nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "versión "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Por cortesía de:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Gracias en especial a:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "A Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "Por ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "e a todos os que esquencemos..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "¡Gracias por usar nano!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "chamouse a add_to_cutbuffer() con inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Borrouse o buffer de cortado =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "filename é %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: liberouse un nodo, ¡AI!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: liberouse o derradeiro nodo.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "Copiando %s en %s\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Escribíuse >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data agora = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Despois, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: configura-las fiestras\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: fiestra inferior\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: abrir ficheiro\n"
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "¡Aghá! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "¡Recibiuse Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "¡Recibiuse Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "¡Recibiuse Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "¡Recibiuse Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "¡Recibiuse Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "¡Recibiuse %c (%d)!\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "Engadindo a nova sintaxe trala primeira\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "Iniciando un novo tipo de sintaxe\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "Iniciando unha nova cadea de cor para %d, fondo %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "Engadindo unha nova entrada para %d, fondo %d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: Leuse un comentario\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: Analizando a opción %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "¡estabrece-lo indicador %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "¡elimina-lo indicador %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x para xplus=%d devolve %d\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "¡Aghá! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "entrada '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Moveuse a (%d, %d) no buffer de edición\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Recibiuse \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Envorcando o buffer de ficheiro a stderr...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Envorcando o buffer de cortado a stderr...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Envorcando un buffer a stderr...\n"
#~ msgid ""
#~ "\n"
#~ "The -p flag now invokes the Pico \"preserve\" flag.\n"

427
po/hu.po
View File

@@ -7,7 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.6\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2002-02-06 18:42+0200\n"
"Last-Translator: Gergely Nagy <algernon@debian.org>\n"
"Language-Team: Hungarian <magyar@lists.linux.hu>\n"
@@ -15,15 +16,6 @@ msgstr ""
"Content-Type: text/plain; charset=iso-8859-2\n"
"Content-Transfer-Encoding: 8-bit\n"
#: cut.c:49
#, fuzzy, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer inptr->data = %s -el lett meghívva\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "A cutbuffert elfújta a szél =)\n"
#: files.c:317
#, fuzzy, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -87,12 +79,6 @@ msgstr "
msgid "File to insert [from ./] "
msgstr "Állomány beszúrása [./-ból] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, fuzzy, c-format
msgid "filename is %s\n"
msgstr "az állomány neve %s"
#: files.c:495
msgid "Command to execute"
msgstr ""
@@ -110,16 +96,6 @@ msgstr "Nem lehet
msgid "Key illegal in non-multibuffer mode"
msgstr "A billentyû értelmezhetetlen nem-multibuffer módban"
#: files.c:704 nano.c:565
#, fuzzy, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "delete_node(): egy szem felszabadítva, HURRÁ!\n"
#: files.c:709 nano.c:570
#, fuzzy, c-format
msgid "%s: free'd last node.\n"
msgstr "delete_node(): utolsó szem felszabadítva.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Nincs több nyitott állomány"
@@ -144,11 +120,6 @@ msgstr "Nem lehet %s-t megnyitni
msgid "Couldn't write backup: %s"
msgstr "Nem lehet lezárni %s: %s."
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr ""
#: files.c:1413
#, fuzzy, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -170,11 +141,6 @@ msgstr "Nem lehet a jogosults
msgid "Could not open file for writing: %s"
msgstr "Nem tudom az állományt írásra megnyitni: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Kiírva >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -543,221 +509,221 @@ msgstr "K
msgid "Toggle insert into new buffer"
msgstr ""
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Súgó"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Bezárás"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Kilépés"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Mentés"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Sorkizár"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Beolvasás"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Keresés"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Elõzõ old."
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Köv. old."
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Kivágás"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "Vissza-Sorkizár"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Beilleszt"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Pozíció"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Helyes-e?"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Fel"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Le"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Elõre"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Vissza"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Eleje"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Vége"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Frissít"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Kijelöl"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Töröl"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Visszalép"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tabulátor"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Csere"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
#, fuzzy
msgid "Go To Line"
msgstr "Sorra ugrás"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr ""
#: global.c:542
#: global.c:555
#, fuzzy
msgid "Move forward one word"
msgstr "Ugrás a következõ karakterre"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr ""
#: global.c:546
#: global.c:559
#, fuzzy
msgid "Move backward one word"
msgstr "Ugrás az elõzõ karakterre"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Másik zárójel megkeresése"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr ""
#: global.c:558
#: global.c:571
#, fuzzy
msgid "Next File"
msgstr "Új Állomány"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Mégsem"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Elsõ sor"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Utolsó sor"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Kis/Nagy"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Irány"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Regkif"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr ""
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Nem cserél"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Tallózás"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr ""
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr ""
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Hozzáfûz"
#: global.c:709
#: global.c:737
#, fuzzy
msgid "Prepend"
msgstr "Hozzáfûz"
#: global.c:713
#: global.c:742
#, fuzzy
msgid "Backup File"
msgstr "Visszalép"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr ""
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Új buffer"
#: global.c:778
#: global.c:810
#, fuzzy
msgid "Go To Dir"
msgstr "Könyvtárváltás"
@@ -1290,16 +1256,6 @@ msgstr "Nem lehet lez
msgid "Could not fork"
msgstr "Nem lehet lezárni %s: %s."
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data most = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Azután, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Kijelölés kezdete"
@@ -1428,48 +1384,6 @@ msgstr "kikapcsolva"
msgid "Tab size is too small for nano...\n"
msgstr "Az ablak mérete túl kicsi a Nanonak..."
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Fõprogram: az ablakok beállítása\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Fõprogram: alsó ablak\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Fõprogram: állomány megnyitása\n"
#: nano.c:3461
#, fuzzy, c-format
msgid "AHA! %c (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Alt-O-%c billentyûket észleltem! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Alt-[-1-%c billentyûket észleltem! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Alt-[-2-%c billentyûket észleltem! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Alt-[-%c billentyûket észleltem! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Alt-%c billentyûket észleltem! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr ""
@@ -1478,11 +1392,6 @@ msgstr ""
msgid "XON ignored, mumble mumble."
msgstr ""
#: nano.c:3752
#, fuzzy, c-format
msgid "I got %c (%d)!\n"
msgstr "Alt-%c billentyûket észleltem! (%d)\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1528,14 +1437,6 @@ msgstr "a regul
msgid "Missing syntax name"
msgstr "Hiányzik a szín neve"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr ""
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr ""
#: rcfile.c:352
msgid "Missing color name"
msgstr "Hiányzik a szín neve"
@@ -1544,16 +1445,6 @@ msgstr "Hi
msgid "Cannot add a color directive without a syntax line"
msgstr ""
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr ""
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr ""
#: rcfile.c:437
#, fuzzy
msgid "\"start=\" requires a corresponding \"end=\""
@@ -1561,21 +1452,11 @@ msgstr ""
"\n"
"\t\"start=\" -hoz kell megfelelõ \"end=\""
#: rcfile.c:486
#, fuzzy, c-format
msgid "%s: Read a comment\n"
msgstr "parse_rcfile: Komment olvasása\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "A %s parancs nem értelmezhetõ"
#: rcfile.c:521
#, fuzzy, c-format
msgid "%s: Parsing option %s\n"
msgstr "parse_rcfile: A %s opció értelmezése\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1591,16 +1472,6 @@ msgstr "a k
msgid "requested tab size %d invalid"
msgstr "a kért %d tabulátorhossz túl rövid"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "%d állapotjelzõ engedélyezve!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "%d állapotjelzõ kikapcsolva\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Hibák találhatóak a .nanorc állományban"
@@ -1700,138 +1571,200 @@ msgstr "Nem z
msgid "No matching bracket"
msgstr "Nincs illeszkedõ zárójel"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
#, fuzzy
msgid "nano is out of memory!"
msgstr "nano: malloc: elfogyott a memória!"
#: winio.c:90
#, fuzzy, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "xplus=%d érték actual_x_from_start-hoz\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "bevitel '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Állomány: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " Könyvtár: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Állomány: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " Könyvtár: "
#: winio.c:564
#: winio.c:615
#, fuzzy
msgid " Modified "
msgstr "Módosítva"
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr ""
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr ""
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Átmozgatva (%d, %d) pozicióba a szerkesztõ-bufferben\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "\"%s\" észlelve.\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Ii"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Mm"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Igen"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Mindet"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Nem"
#: winio.c:1448
#: winio.c:1499
#, fuzzy, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "%d(/%d). sor (%.0f%%) és %ld(/%ld). karakter (%.0f%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Az állománybuffer kiírása a standard hibakimenetre...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "A cutbuffer kiírása a standard hibakimenetre...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "A buffer kiírása a standard hibakimenetre...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "A nano szövegszerkesztõ"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "verzió "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Fejlesztõk:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Külön köszönet:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "A Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr ""
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "és mindenkinek, akit kifelejtettünk volna..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Köszönjük, hogy a nano-t választottad!\n"
#, fuzzy
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer inptr->data = %s -el lett meghívva\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "A cutbuffert elfújta a szél =)\n"
#, fuzzy
#~ msgid "filename is %s\n"
#~ msgstr "az állomány neve %s"
#, fuzzy
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "delete_node(): egy szem felszabadítva, HURRÁ!\n"
#, fuzzy
#~ msgid "%s: free'd last node.\n"
#~ msgstr "delete_node(): utolsó szem felszabadítva.\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Kiírva >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data most = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Azután, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Fõprogram: az ablakok beállítása\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Fõprogram: alsó ablak\n"
#~ msgid "Main: open file\n"
#~ msgstr "Fõprogram: állomány megnyitása\n"
#, fuzzy
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Alt-O-%c billentyûket észleltem! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Alt-[-1-%c billentyûket észleltem! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Alt-[-2-%c billentyûket észleltem! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Alt-[-%c billentyûket észleltem! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Alt-%c billentyûket észleltem! (%d)\n"
#, fuzzy
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Alt-%c billentyûket észleltem! (%d)\n"
#, fuzzy
#~ msgid "%s: Read a comment\n"
#~ msgstr "parse_rcfile: Komment olvasása\n"
#, fuzzy
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "parse_rcfile: A %s opció értelmezése\n"
#~ msgid "set flag %d!\n"
#~ msgstr "%d állapotjelzõ engedélyezve!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "%d állapotjelzõ kikapcsolva\n"
#, fuzzy
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "xplus=%d érték actual_x_from_start-hoz\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "bevitel '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Átmozgatva (%d, %d) pozicióba a szerkesztõ-bufferben\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "\"%s\" észlelve.\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Az állománybuffer kiírása a standard hibakimenetre...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "A cutbuffer kiírása a standard hibakimenetre...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "A buffer kiírása a standard hibakimenetre...\n"
#~ msgid "Can't visit parent in restricted mode"
#~ msgstr "Nem lehet feljebb menni korlátozott módban"

523
po/id.po
View File

@@ -1,12 +1,13 @@
# nano 1.2.0 (Indonesian)
# nano 1.2.1 (Indonesian)
# Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
# Tedi Heriyanto <tedi_h@gmx.net>, 2001, 2002, 2003
#
msgid ""
msgstr ""
"Project-Id-Version: nano 1.2.0\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"PO-Revision-Date: 2003-03-03 10:38GMT+0700\n"
"Project-Id-Version: nano 1.2.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-04-23 09:41+0000\n"
"Last-Translator: Tedi Heriyanto <tedi_h@gmx.net>\n"
"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
@@ -15,15 +16,6 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: KBabel 0.9.6\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() dipanggil dgn inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Hapus cutbuffer =)\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -86,12 +78,6 @@ msgstr "File untuk disisipkan ke buffer baru [dari ./] "
msgid "File to insert [from ./] "
msgstr "File untuk disisipkan [dari ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "Namafile adalah %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Perintah untuk dieksekusi "
@@ -109,16 +95,6 @@ msgstr "Tidak dapat menyisipkan file dari luar %s"
msgid "Key illegal in non-multibuffer mode"
msgstr "Kunci ilegal dalam mode non-multibuffer"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: bebaskan sebuah node, YAY!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: bebaskan node terakhir.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Tidak ada file yang terbuka lagi"
@@ -143,11 +119,6 @@ msgstr "Tidak dapat membaca %s untuk backup: %s"
msgid "Couldn't write backup: %s"
msgstr "Tidak dapat menulis backup: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Backup %s ke %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -169,11 +140,6 @@ msgstr "Tidak dapat menset waktu akses/modifikasi pada backup %s: %s"
msgid "Could not open file for writing: %s"
msgstr "Tidak dapat membuka file untuk menulis: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Tulis >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -526,215 +492,215 @@ msgstr "Buka file yang akan dimuat"
msgid "Toggle insert into new buffer"
msgstr "Pilih insert ke buffer baru"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Bantuan"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Tutup"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Keluar"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Tulis"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Justifikasi"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Baca File"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Di mana"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Hlm sebelumnya"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Hlm berikutnya"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Ptng Teks"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "UnJustifikasi"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "UnCut Teks"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Pos Kursor"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Mengeja"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Naik"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Turun"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Depan"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Belakang"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Awal"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Akhir"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Refresh"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Tandai Teks"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Hapus"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Backspace"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Ganti"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Ke baris"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Kata Berikut"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Ke depan satu kata"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Kata Sebelum"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Ke belakang satu kata"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Cari Kurung Lain"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "File Sebelumnya"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "File Sesudahnya"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Batal"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Baris pertama"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Baris terakhir"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Case Sens"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Arah"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Regexp"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "Sejarah"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Tiada Replace"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Ke File"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "Format DOS"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Format Mac"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Tambah"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "Tambah"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "Backup File"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Eksekusi Perintah"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Buffer baru"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Ke Direktori"
@@ -990,7 +956,7 @@ msgstr ""
"telah dimodifikasi. Selanjutnya adalah jendela editor utama yang "
"menunjukkan file yang sedang diedit. Baris status adalah baris ketiga dari "
"bawah dan menunjukkan pesan-pesan penting. Dua baris terbawah menunjukkan "
"shortcut yang paling umum digunakan dalam editor..\n"
"shortcut yang paling umum digunakan dalam editor.\n"
"\n"
" Notasi shortcut adalah sebagai berikut : Urutan kunci Control ditunjukkan "
"oleh simbol caret (^) dan dimasukkan dengan kunci Control (Ctrl). Urutan "
@@ -1058,7 +1024,7 @@ msgstr "Aktifkan multiple file buffer"
#: nano.c:639
msgid "Log & read search/replace string history"
msgstr "Log dan baca sejarah string search/replace"
msgstr "Log dan baca sejarah pencarian/penggantian string"
#: nano.c:640
msgid "Don't look at nanorc files"
@@ -1154,7 +1120,7 @@ msgstr "Set direktori operasi"
#: nano.c:673
msgid "Preserve XON (^Q) and XOFF (^S) keys"
msgstr "Memelihara tombol XON (^Q) dan XOFF (^S)"
msgstr "Preserve kunci XON (^Q) dan XOFF (^S)"
#: nano.c:675
msgid "-r [#cols]"
@@ -1233,16 +1199,6 @@ msgstr "Tidak dapat mem-pipe"
msgid "Could not fork"
msgstr "Tidak dapat mem-fork"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data sekarang =\"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Setelah, data= \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Set Tanda"
@@ -1257,27 +1213,27 @@ msgstr "Edit pengganti"
#: nano.c:1686
msgid "Could not create pipe"
msgstr "Tidak dapat mem-pipe"
msgstr "Tidak dapat membuat pipe"
#: nano.c:1688
msgid "Creating misspelled word list, please wait..."
msgstr "Membuat daftar kata yang misspell, silakan tunggu..."
msgstr "Membuat daftar kata yang misspelled, silakan tunggu..."
#: nano.c:1784
msgid "Could not get size of pipe buffer"
msgstr "Tidak dapat mengambil ukuran buffer pipe"
msgstr "Tidak dapat menentukan ukuran buffer pipe"
#: nano.c:1836
msgid "Error invoking \"spell\""
msgstr "Kesalahan memanggil \"spell\""
msgstr "Gagal memanggil \"spell\""
#: nano.c:1839
msgid "Error invoking \"sort -f\""
msgstr "Kesalahan memanggil \"sort -f\""
msgstr "Gagal memanggil \"sort -f\""
#: nano.c:1842
msgid "Error invoking \"uniq\""
msgstr "Kesalahan memanggil \"uniq\""
msgstr "Gagal memanggil \"uniq\""
#: nano.c:1918
#, c-format
@@ -1365,48 +1321,6 @@ msgstr "tiadakan"
msgid "Tab size is too small for nano...\n"
msgstr "Ukuran tab terlalu kecil bagi nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: menset jendela\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: jendela bawah\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: membuka file\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "AHA! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Saya mendapat Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Saya mendapat Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Saya mendapat Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Saya mendapat Alt-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Saya mendapat Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "XOFF diabaikan, mumble mumble."
@@ -1415,11 +1329,6 @@ msgstr "XOFF diabaikan, mumble mumble."
msgid "XON ignored, mumble mumble."
msgstr "XON diabaikan, mumble mumble."
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "Saya mendapat %c (%d)\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1464,14 +1373,6 @@ msgstr "String regexp harus dimulai dan diakhiri dengan sebuah karakter \"\n"
msgid "Missing syntax name"
msgstr "Nama sintaks tidak ada"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Menambahkan sintaks baru setelah yang pertama\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Memulai tipe sintaks baru\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Nama warna tidak ada"
@@ -1480,35 +1381,15 @@ msgstr "Nama warna tidak ada"
msgid "Cannot add a color directive without a syntax line"
msgstr "Tidak dapat menambah direktif warna tanpa baris sintaks"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Memulai colorstring baru untuk fg %d bg %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Menambahkan entri baru untuk fg %d bg%d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" membutuhkan \"end=\" yang sesuai"
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: Baca sebuah komentar\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "Perintah %s tidak dipahami"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: Opsi parsing %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1524,16 +1405,6 @@ msgstr "ukuran fill yang diminta %d tidak valid"
msgid "requested tab size %d invalid"
msgstr "ukuran tab yang diminta %d tidak valid"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "set flag %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "unset flag %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Kesalahan ditemukan dalam file .nanorc"
@@ -1555,7 +1426,7 @@ msgstr "\"%s...\" tidak ditemukan"
#: search.c:105
#, c-format
msgid "Invalid regex \"%s\""
msgstr "Regex \"%s\" tidak valid"
msgstr "Regex tidak valid \"%s\""
#: search.c:133
msgid "Search"
@@ -1609,7 +1480,7 @@ msgstr "Ganti dengan"
#, c-format
msgid "Replaced %d occurrence"
msgid_plural "Replaced %d occurrences"
msgstr[0] "Mengganti %d"
msgstr[0] "%d tempat terganti"
#: search.c:777
msgid "Enter line number"
@@ -1631,138 +1502,203 @@ msgstr "Bukan tanda kurung"
msgid "No matching bracket"
msgstr "Tidak ada tanda kurung yang cocok"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "nano kehabisan memori!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x for xplus=%d returns %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "input '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " File: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " DIR: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "File: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " DIR: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " Dimodifikasi "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " View "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "Menolak kecocokan regex panjang 0"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Pindah ke (%d, %d) dalam buffer edit\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Saya dapat \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Yy"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Tt"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Aa"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Ya"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Semua"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Tidak"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "baris %ld/%ld (%d%%), kol %lu/%lu (%d%%), char %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Kirim buffer file ke stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Kirim cutbuffer ke stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Kirim buffer ke stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Nano teks editor"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "versi "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Dibuat untuk anda oleh:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Ucapan terima kasih khusus kepada:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "The Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "Untuk ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "dan orang lain yang kami lupa...."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Terima kasih telah menggunakan nano!\n"
#~ msgid "read_line: not on first line and prev is NULL"
#~ msgstr "read_line: tidak di baris pertama dan sebelumnya adalah NULL"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() dipanggil dgn inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Hapus cutbuffer =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "Namafile adalah %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: bebaskan sebuah node, YAY!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: bebaskan node terakhir.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "Backup %s ke %s\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Tulis >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data sekarang =\"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Setelah, data= \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: menset jendela\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: jendela bawah\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: membuka file\n"
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "AHA! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Saya mendapat Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Saya mendapat Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Saya mendapat Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Saya mendapat Alt-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Saya mendapat Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Saya mendapat %c (%d)\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "Menambahkan sintaks baru setelah yang pertama\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "Memulai tipe sintaks baru\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "Memulai colorstring baru untuk fg %d bg %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "Menambahkan entri baru untuk fg %d bg%d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: Membaca sebuah komentar\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: Opsi parsing %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "set flag %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "unset flag %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x for xplus=%d returns %d\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "input '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Pindah ke (%d, %d) dalam buffer edit\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Saya dapat \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Kirim buffer file ke stderr...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Kirim cutbuffer ke stderr...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Kirim buffer ke stderr...\n"
#~ msgid "delete_opennode(): free'd a node, YAY!\n"
#~ msgstr "delete_node(): bebaskan sebuah node, YAY!\n"
@@ -1773,6 +1709,53 @@ msgstr "Terima kasih telah menggunakan nano!\n"
#~ msgid "Can't visit parent in restricted mode"
#~ msgstr "Tidak dapat mengunjungi parent dalam mode terbatas"
#~ msgid "-p"
#~ msgstr "-p"
#~ msgid "--preserve"
#~ msgstr "--preserve"
#~ msgid ""
#~ "\n"
#~ "The -p flag now invokes the Pico \"preserve\" flag. The Pico\n"
#~ msgstr ""
#~ "\n"
#~ "Flag -p sekarang memanggil flag \"preserve\" Pico. Flag\n"
#~ msgid "compatibility flag has been removed as nano is now fully Pico\n"
#~ msgstr ""
#~ "kompatibilitas Pico telah dihilangkan karena nano sekarang sangat "
#~ "kompatibel\n"
#~ msgid ""
#~ "compatible. Please see the nano FAQ for more info on this change...\n"
#~ "\n"
#~ msgstr ""
#~ "terhadap Pico. Silakan lihat FAQ nano untuk informasi lebih lanjut "
#~ "tentang perubahan ini...\n"
#~ "\n"
#~ msgid "Press return to continue\n"
#~ msgstr "Tekan return untuk lanjut\n"
#~ msgid "Generic error"
#~ msgstr "Kesalahan generik"
#~ msgid "string val=%s\n"
#~ msgstr "string val=%s\n"
#~ msgid "For end part, beginning = \"%s\"\n"
#~ msgstr "Untuk bagian akhir, awal = \"%s\"\n"
#~ msgid "current->data = \"%s\"\n"
#~ msgstr "current->data = \"%s\"\n"
#~ msgid "do_cursorpos: linepct = %f, bytepct = %f\n"
#~ msgstr "do_cursorpos: linepct = %f, bytepct = %f\n"
#~ msgid "read_line: not on first line and prev is NULL"
#~ msgstr "read_line: tidak di baris pertama dan sebelumnya adalah NULL"
#~ msgid "Pico mode"
#~ msgstr "Mode Pico"
@@ -1785,12 +1768,6 @@ msgstr "Terima kasih telah menggunakan nano!\n"
#~ msgid ".?!"
#~ msgstr ".?!"
#~ msgid "string val=%s\n"
#~ msgstr "string val=%s\n"
#~ msgid "For end part, beginning = \"%s\"\n"
#~ msgstr "Untuk bagian akhir, awal = \"%s\"\n"
#~ msgid "Replaced 1 occurrence"
#~ msgstr "Terganti 1 tempat"
@@ -1799,9 +1776,3 @@ msgstr "Terima kasih telah menggunakan nano!\n"
#~ msgid "nano: realloc: out of memory!"
#~ msgstr "nano: realloc: memori habis!"
#~ msgid "current->data = \"%s\"\n"
#~ msgstr "current->data = \"%s\"\n"
#~ msgid "do_cursorpos: linepct = %f, bytepct = %f\n"
#~ msgstr "do_cursorpos: linepct = %f, bytepct = %f\n"

433
po/it.po
View File

@@ -6,7 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.12\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-01-02 13:13+01:00\n"
"Last-Translator: Marco Colombo <magicdice@inwind.it>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
@@ -15,15 +16,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() chiamato con inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Svuota cutbuffer =)\n"
#: files.c:317
#, fuzzy, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -86,12 +78,6 @@ msgstr "File da inserire nel nuovo buffer [da ./] "
msgid "File to insert [from ./] "
msgstr "File da inserire [da ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "il nome del file è %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Comando da eseguire"
@@ -109,16 +95,6 @@ msgstr "Non posso inserire il file dall'esterno di %s"
msgid "Key illegal in non-multibuffer mode"
msgstr "Chiave illegale in modalità non multibuffer"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: liberato un nodo, YEAH!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: liberato l'ultimo nodo.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Nessun altro file aperto"
@@ -143,11 +119,6 @@ msgstr "Impossibile aprire %s per backup: %s"
msgid "Couldn't write backup: %s"
msgstr "Impossibile effettuare il backup: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Copia di backup di %s su %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -169,11 +140,6 @@ msgstr "Impossibile impostare ora di accesso/modifica sul backup %s: %s"
msgid "Could not open file for writing: %s"
msgstr "Impossibile aprire il file in scrittura: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Scritto >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -526,215 +492,215 @@ msgstr "Apri il successivo file caricato"
msgid "Toggle insert into new buffer"
msgstr "Attiva inserimento in un nuovo buffer"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Aiuto"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Chiudi"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Esci"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Salva"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Giustifica"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Inserisci"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Cerca"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Pag Prec."
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Pag Succ."
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Taglia"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "DeGiustifica"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Incolla"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Posizione"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Ortografia"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Alza"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Abbassa"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Avanti"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Indietro"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Inizio"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Fine"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Aggiorna"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Marca testo"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Elimina"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Backspace"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Sostituisci"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Invio"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Vai a riga"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Parola successiva"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Avanza di una parola"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Parola precedente"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Arretra di una parola"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Trova la parentesi corrispondente"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "File precedente"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "File successivo"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Annulla"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Prima riga"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Ultima riga"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Case sens"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Direzione"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Espr. Reg."
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "History"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Non sost."
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Sfoglia"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "Formato DOS"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Formato Mac"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Accoda"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "Scrivi in testa"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "File di backup"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Esegui comando"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Nuovo Buffer"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Vai alla directory"
@@ -1224,16 +1190,6 @@ msgstr "Impossibile effettuare un pipe"
msgid "Could not fork"
msgstr "Impossibile effettuare un fork"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data ora = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Dopo, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Marcatura impostata"
@@ -1359,48 +1315,6 @@ msgstr "disabilitato"
msgid "Tab size is too small for nano...\n"
msgstr "La lunghezza della tabulazione è troppo piccola per nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: configura finestre\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: finestra inferiore\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: apri file\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "Aha! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Premuto Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Premuto Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Premuto Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Premuto Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Premuto Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "XOFF ignorato, mmm..."
@@ -1409,11 +1323,6 @@ msgstr "XOFF ignorato, mmm..."
msgid "XON ignored, mumble mumble."
msgstr "XON ignorato, mmm..."
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "Premuto %c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1458,14 +1367,6 @@ msgstr "l'espressione regolare deve iniziare e finire con il carattere \"\n"
msgid "Missing syntax name"
msgstr "Nome di sintassi mancante"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Aggiunta nuova sintassi dopo la prima\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Iniziato un nuovo tipo di sintassi\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Nome del colore mancante"
@@ -1475,35 +1376,15 @@ msgid "Cannot add a color directive without a syntax line"
msgstr ""
"Impossibile aggiungere una direttiva di colore senza una riga di sintassi"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Iniziata una nuova colorstring per fg %d bg %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Aggiunta nuova voce per fg %d bg %d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" richiede un \"end=\" corrispondente"
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s Letto un commento\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "comando %s non compreso"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: opzioni di parsing %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1519,16 +1400,6 @@ msgstr "riempimento richiesto %d invalido"
msgid "requested tab size %d invalid"
msgstr "lunghezza della tabulazione richiesta %d invalida"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "Imposta flag %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "Rimuovi flag %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Errori trovati in .nanorc"
@@ -1627,135 +1498,203 @@ msgstr "Non
msgid "No matching bracket"
msgstr "Parentesi corrispondente non trovata"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "nano ha esaurito la memoria!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x per xplus=%d ritorna %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "input '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " File: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " Dir: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "File: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " Dir: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " Modificato "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " Vedi "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr ""
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Spostato in (%d, %d) nel buffer di modifica\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Premuto \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Ss"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Tt"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Sì"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Tutti"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "No"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "Riga %ld/%ld (%d%%), col %lu/%lu (%d%%), car %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Copia file buffer sullo stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Copia cutbuffer sullo stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Copia un buffer sullo stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "L'editor di testi nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "versione"
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Prodotto per voi da:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Ringraziamenti speciali a:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "La Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "Per ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "e chiunque altro abbiamo dimenticato..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Grazie per aver usato nano!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() chiamato con inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Svuota cutbuffer =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "il nome del file è %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: liberato un nodo, YEAH!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: liberato l'ultimo nodo.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "Copia di backup di %s su %s\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Scritto >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data ora = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Dopo, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: configura finestre\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: finestra inferiore\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: apri file\n"
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "Aha! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Premuto Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Premuto Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Premuto Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Premuto Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Premuto Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Premuto %c (%d)!\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "Aggiunta nuova sintassi dopo la prima\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "Iniziato un nuovo tipo di sintassi\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "Iniziata una nuova colorstring per fg %d bg %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "Aggiunta nuova voce per fg %d bg %d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s Letto un commento\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: opzioni di parsing %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "Imposta flag %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "Rimuovi flag %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x per xplus=%d ritorna %d\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "input '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Spostato in (%d, %d) nel buffer di modifica\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Premuto \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Copia file buffer sullo stderr...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Copia cutbuffer sullo stderr...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Copia un buffer sullo stderr...\n"
#~ msgid "Generic error"
#~ msgstr "Errore generico"

470
po/ms.po
View File

@@ -1,28 +1,19 @@
# Nano Editor Bahasa Melayu.
# Copyright (C) 2002 Free Software Foundation, Inc.
# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2002.
# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2002, 2003, 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: nano 1.2.0\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"PO-Revision-Date: 2003-03-25 00:51GMT+8\n"
"Project-Id-Version: nano 1.2.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2004-02-24 00:51GMT+8\n"
"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: KBabel 0.9.5\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() dipanggil dengan inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Cutbuffer dipadamkan =)\n"
#: files.c:317
#, c-format
@@ -86,12 +77,6 @@ msgstr "Fail untuk dimasukkan kedalam buffer baru [daripada ./] "
msgid "File to insert [from ./] "
msgstr "Fail untuk dimasukkan [daripada ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "nama fail adalah %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Arahan untuk dilaksanakan"
@@ -109,16 +94,6 @@ msgstr "Tidak dapat memasukkan fail luar daripada %s"
msgid "Key illegal in non-multibuffer mode"
msgstr "Kekunci tidak sah dalam mod bukan multibuffer"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: sebuah nod dibebaskan, YAY!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: nod terakhir dibebaskan.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Tiada lagi fail terbuka"
@@ -143,11 +118,6 @@ msgstr "Tidak dapat membuka %s untuk salinan: %s"
msgid "Couldn't write backup: %s"
msgstr "Tidak dapat menulis salinan: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Menyalin %s ke %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -169,11 +139,6 @@ msgstr "Tidak dapat menetapkan masa akses/perubahan pada salinan %s: %s"
msgid "Could not open file for writing: %s"
msgstr "Fail tidak dapat dibuka untuk ditulis: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Ditulis >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -526,215 +491,215 @@ msgstr "Buka fail muatan selepasnya"
msgid "Toggle insert into new buffer"
msgstr "Toggle masukkan kedalam buffer baru"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Bantuan"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Tutup"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Keluar"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Tulis"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Justifikasi"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Baca Fail"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Di mana"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Terdahulu"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Berikut"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Kerat Teks"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "UnJustifikasi"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "UnCut Teks"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Pos Kursor"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Ke Pengeja"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Naik"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Turun"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Maju"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Undur"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Asal"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Akhir"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Segarkan"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Tanda Teks"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Padam"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Backspace"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Ganti"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Ke Baris"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Perkataan Selepas"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Maju ke depan satu perkataan"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Perkataan Terdahulu"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Undur ke belakang satu perkataan"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Cari Lain-lain Tanda Kurungan"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "Fail Sebelum"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "Fail Selepas"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Batal"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Brs Awal"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Brs Akhir"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Case Sens"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Arah"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Regexp"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "Sejarah"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Jangan Ganti"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Ke Fail"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "Format DOS"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Format Mac"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Tambah"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "Tambahan awalan"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "Fail Salinan"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Laksanakan Arahan"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Buffer Baru"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Pergi Ke Dir"
@@ -768,27 +733,18 @@ msgstr "Kekunci tidak sah dalam mod LIHAT"
msgid ""
"Search Command Help Text\n"
"\n"
" Enter the words or characters you would like to search for, then hit "
"enter. If there is a match for the text you entered, the screen will be "
"updated to the location of the nearest match for the search string.\n"
" Enter the words or characters you would like to search for, then hit enter. If there is a match for the text you entered, the screen will be updated to the location of the nearest match for the search string.\n"
"\n"
" The previous search string will be shown in brackets after the Search: "
"prompt. Hitting Enter without entering any text will perform the previous "
"search.\n"
" The previous search string will be shown in brackets after the Search: prompt. Hitting Enter without entering any text will perform the previous search.\n"
"\n"
" The following function keys are available in Search mode:\n"
"\n"
msgstr ""
"Teks Bantuan Arahan Carian\n"
"\n"
" Masukkan perkataan atau aksara yang anda hendak cari, kemudian tekan "
"enter. Jika terdapat padanan untuk teks yang anda masukkan, skrin akan "
"dikemaskinikan kepada lokasi terdekat padanan terhampir rentetan carian "
"tersebut.\n"
" Masukkan perkataan atau aksara yang anda hendak cari, kemudian tekan enter. Jika terdapat padanan untuk teks yang anda masukkan, skrin akan dikemaskinikan kepada lokasi terdekat padanan terhampir rentetan carian tersebut.\n"
"\n"
" Rentetan carian terdahulu akan dipaparkan dalam kurungan selepas prom "
"Cari:. Menekan Enter tanpa memasukkan apa-apa teks akan melaksanakan carian "
"terdahulu.\n"
" Rentetan carian terdahulu akan dipaparkan dalam kurungan selepas prom Cari:. Menekan Enter tanpa memasukkan apa-apa teks akan melaksanakan carian terdahulu.\n"
"\n"
" Kekunci fungsi berikut terdapat didalam mod Cari:\n"
"\n"
@@ -797,18 +753,14 @@ msgstr ""
msgid ""
"Go To Line Help Text\n"
"\n"
" Enter the line number that you wish to go to and hit Enter. If there are "
"fewer lines of text than the number you entered, you will be brought to the "
"last line of the file.\n"
" Enter the line number that you wish to go to and hit Enter. If there are fewer lines of text than the number you entered, you will be brought to the last line of the file.\n"
"\n"
" The following function keys are available in Go To Line mode:\n"
"\n"
msgstr ""
"Teks Bantuan Pergi Ke Baris\n"
"\n"
" Masukkan nombor baris yang anda hendak pergi dan tekan Enter. Jika "
"terdapat kurang baris teks daripada nombor yang anda masukkan, anda akan "
"dibawa ke baris akhir fail tersebut.\n"
" Masukkan nombor baris yang anda hendak pergi dan tekan Enter. Jika terdapat kurang baris teks daripada nombor yang anda masukkan, anda akan dibawa ke baris akhir fail tersebut.\n"
"\n"
" Kekunci fungsi berikut terdapat didalam mod Pergi Ke Baris:\n"
"\n"
@@ -817,33 +769,22 @@ msgstr ""
msgid ""
"Insert File Help Text\n"
"\n"
" Type in the name of a file to be inserted into the current file buffer at "
"the current cursor location.\n"
" Type in the name of a file to be inserted into the current file buffer at the current cursor location.\n"
"\n"
" If you have compiled nano with multiple file buffer support, and enable "
"multiple buffers with the -F or --multibuffer command line flags, the Meta-F "
"toggle, or a nanorc file, inserting a file will cause it to be loaded into a "
"separate buffer (use Meta-< and > to switch between file buffers).\n"
" If you have compiled nano with multiple file buffer support, and enable multiple buffers with the -F or --multibuffer command line flags, the Meta-F toggle, or a nanorc file, inserting a file will cause it to be loaded into a separate buffer (use Meta-< and > to switch between file buffers).\n"
"\n"
" If you need another blank buffer, do not enter any filename, or type in a "
"nonexistent filename at the prompt and press Enter.\n"
" If you need another blank buffer, do not enter any filename, or type in a nonexistent filename at the prompt and press Enter.\n"
"\n"
" The following function keys are available in Insert File mode:\n"
"\n"
msgstr ""
"Teks Bantuan Sisipan Fail\n"
"\n"
" Taip nama fail yang hendak disisipkan ke dalam buffer fail semasa di "
"kedudukan kursor semasa.\n"
" Taip nama fail yang hendak disisipkan ke dalam buffer fail semasa di kedudukan kursor semasa.\n"
"\n"
" Jika anda telah menghimpun nano dengan sokongan buffer fail berganda, dan "
"menghidupkan buffer berganda dengan penanda baris arahan -F atau --"
"multibuffer, Meta-F toggle, atau fail nanorc, menyisipkan fail akan "
"menyebabkannya dimuatkan ke dalam buffer berlainan (guna Meta-< dan > untuk "
"menukar diantara buffer fail).\n"
" Jika anda telah menghimpun nano dengan sokongan buffer fail berganda, dan menghidupkan buffer berganda dengan penanda baris arahan -F atau --multibuffer, Meta-F toggle, atau fail nanorc, menyisipkan fail akan menyebabkannya dimuatkan ke dalam buffer berlainan (guna Meta-< dan > untuk menukar diantara buffer fail).\n"
"\n"
" Jika anda memerlukan buffer kosong tambahan, jangan masukkan sebarang "
"namafail, atau taip namafail yang tidak wujud pada prom dan tekan Enter.\n"
" Jika anda memerlukan buffer kosong tambahan, jangan masukkan sebarang namafail, atau taip namafail yang tidak wujud pada prom dan tekan Enter.\n"
"\n"
" Kekunci fungsi berikut terdapat didalam mod Sisipan Fail:\n"
"\n"
@@ -852,26 +793,18 @@ msgstr ""
msgid ""
"Write File Help Text\n"
"\n"
" Type the name that you wish to save the current file as and hit Enter to "
"save the file.\n"
" Type the name that you wish to save the current file as and hit Enter to save the file.\n"
"\n"
" If you have selected text with Ctrl-^, you will be prompted to save only "
"the selected portion to a separate file. To reduce the chance of "
"overwriting the current file with just a portion of it, the current filename "
"is not the default in this mode.\n"
" If you have selected text with Ctrl-^, you will be prompted to save only the selected portion to a separate file. To reduce the chance of overwriting the current file with just a portion of it, the current filename is not the default in this mode.\n"
"\n"
" The following function keys are available in Write File mode:\n"
"\n"
msgstr ""
"Teks Bantuan Menulis Fail\n"
"\n"
" Taip nama fail semasa yang anda hendak simpan dan tekan Enter untuk "
"menyimpan fail tersebut.\n"
" Taip nama fail semasa yang anda hendak simpan dan tekan Enter untuk menyimpan fail tersebut.\n"
"\n"
" Jika anda telah memilih teks dengan Ctrl-^, anda akan ditanya untuk "
"menyimpan hanya bahagian dipilih ke dalam fail berasingan. Untuk "
"mengurangkan risiko menulisganti fail semasa dengan hanya sebahagian "
"daripadanya, namafail semasa tidak dijadikan pilihan asal dalam mod ini.\n"
" Jika anda telah memilih teks dengan Ctrl-^, anda akan ditanya untuk menyimpan hanya bahagian dipilih ke dalam fail berasingan. Untuk mengurangkan risiko menulisganti fail semasa dengan hanya sebahagian daripadanya, namafail semasa tidak dijadikan pilihan asal dalam mod ini.\n"
"\n"
" Kekunci fungsi berikut terdapat didalam mod Menulis Fail:\n"
"\n"
@@ -880,22 +813,14 @@ msgstr ""
msgid ""
"File Browser Help Text\n"
"\n"
" The file browser is used to visually browse the directory structure to "
"select a file for reading or writing. You may use the arrow keys or Page Up/"
"Down to browse through the files, and S or Enter to choose the selected file "
"or enter the selected directory. To move up one level, select the directory "
"called \"..\" at the top of the file list.\n"
" The file browser is used to visually browse the directory structure to select a file for reading or writing. You may use the arrow keys or Page Up/Down to browse through the files, and S or Enter to choose the selected file or enter the selected directory. To move up one level, select the directory called \"..\" at the top of the file list.\n"
"\n"
" The following function keys are available in the file browser:\n"
"\n"
msgstr ""
"Teks Bantuan Pelayar Fail\n"
"\n"
" Pelayar fail digunakan untuk melihat secara visual struktur direktori untuk "
"memilih fail untuk membaca dan menulis. Anda boleh menggunakan kekunci "
"panah atau Page Up/Down untuk melihat fail, dan S atau Enter untuk memilih "
"fail atau memasuki direktori yang dipilih. Untuk naik ke atas satu tahap, "
"pilih direktori bernama \"..\" di bahagian atas senarai fail.\n"
" Pelayar fail digunakan untuk melihat secara visual struktur direktori untuk memilih fail untuk membaca dan menulis. Anda boleh menggunakan kekunci panah atau Page Up/Down untuk melihat fail, dan S atau Enter untuk memilih fail atau memasuki direktori yang dipilih. Untuk naik ke atas satu tahap, pilih direktori bernama \"..\" di bahagian atas senarai fail.\n"
"\n"
" Kekunci fungsi berikut terdapat didalam pelayar fail:\n"
"\n"
@@ -906,8 +831,7 @@ msgid ""
"\n"
" Enter the name of the directory you would like to browse to.\n"
"\n"
" If tab completion has not been disabled, you can use the TAB key to "
"(attempt to) automatically complete the directory name.\n"
" If tab completion has not been disabled, you can use the TAB key to (attempt to) automatically complete the directory name.\n"
"\n"
" The following function keys are available in Browser Go To Directory mode:\n"
"\n"
@@ -916,9 +840,7 @@ msgstr ""
"\n"
" Masukkan nama direktori yang anda hendak lihat.\n"
"\n"
" Jika tab pelengkapan tidak dimatikan, anda boleh menggunakan kekunci TAB "
"untuk (mencuba untuk) melengkapkan secara automatik nama direktori "
"tersebut.\n"
" Jika tab pelengkapan tidak dimatikan, anda boleh menggunakan kekunci TAB untuk (mencuba untuk) melengkapkan secara automatik nama direktori tersebut.\n"
"\n"
" Kekunci fungsi berikut terdapat didalam mod Pelayar Pergi ke Direktori:\n"
"\n"
@@ -927,20 +849,14 @@ msgstr ""
msgid ""
"Spell Check Help Text\n"
"\n"
" The spell checker checks the spelling of all text in the current file. "
"When an unknown word is encountered, it is highlighted and a replacement can "
"be edited. It will then prompt to replace every instance of the given "
"misspelled word in the current file.\n"
" The spell checker checks the spelling of all text in the current file. When an unknown word is encountered, it is highlighted and a replacement can be edited. It will then prompt to replace every instance of the given misspelled word in the current file.\n"
"\n"
" The following other functions are available in Spell Check mode:\n"
"\n"
msgstr ""
"Teks Bantuan Penyemak Ejaan\n"
"\n"
" Penyemak ejaan menyemak ejaan semua teks didalam fail semasa. Apabila "
"perkataan yang tidak diketahui dijumpai, ia akan disorot dan penggantinya "
"boleh disunting. Ia kemudian akan bertanya untuk menggantikan setiap "
"jumpaan perkataan salah eja yang diberikan didalam fail semasa.\n"
" Penyemak ejaan menyemak ejaan semua teks didalam fail semasa. Apabila perkataan yang tidak diketahui dijumpai, ia akan disorot dan penggantinya boleh disunting. Ia kemudian akan bertanya untuk menggantikan setiap jumpaan perkataan salah eja yang diberikan didalam fail semasa.\n"
"\n"
" Fungsi lain berikut terdapat didalam mod Penyemak Ejaan:\n"
"\n"
@@ -949,17 +865,14 @@ msgstr ""
msgid ""
"External Command Help Text\n"
"\n"
" This menu allows you to insert the output of a command run by the shell "
"into the current buffer (or a new buffer in multibuffer mode).\n"
" This menu allows you to insert the output of a command run by the shell into the current buffer (or a new buffer in multibuffer mode).\n"
"\n"
" The following keys are available in this mode:\n"
"\n"
msgstr ""
"Teks Bantuan Arahan Luaran\n"
"\n"
" Menu ini membenearkan anda untuk memasukkan keluaran sesuatu arahan yang "
"dijalankan oleh shell ke dalam buffer semasa (atau satu buffer baru dalam "
"mod multibuffer).\n"
" Menu ini membenearkan anda untuk memasukkan keluaran sesuatu arahan yang dijalankan oleh shell ke dalam buffer semasa (atau satu buffer baru dalam mod multibuffer).\n"
"\n"
" Kekunci berikut terdapat didalam mod ini:\n"
"\n"
@@ -968,38 +881,16 @@ msgstr ""
msgid ""
" nano help text\n"
"\n"
" The nano editor is designed to emulate the functionality and ease-of-use of "
"the UW Pico text editor. There are four main sections of the editor: The "
"top line shows the program version, the current filename being edited, and "
"whether or not the file has been modified. Next is the main editor window "
"showing the file being edited. The status line is the third line from the "
"bottom and shows important messages. The bottom two lines show the most "
"commonly used shortcuts in the editor.\n"
" The nano editor is designed to emulate the functionality and ease-of-use of the UW Pico text editor. There are four main sections of the editor: The top line shows the program version, the current filename being edited, and whether or not the file has been modified. Next is the main editor window showing the file being edited. The status line is the third line from the bottom and shows important messages. The bottom two lines show the most commonly used shortcuts in the editor.\n"
"\n"
" The notation for shortcuts is as follows: Control-key sequences are notated "
"with a caret (^) symbol and are entered with the Control (Ctrl) key. Escape-"
"key sequences are notated with the Meta (M) symbol and can be entered using "
"either the Esc, Alt or Meta key depending on your keyboard setup. The "
"following keystrokes are available in the main editor window. Alternative "
"keys are shown in parentheses:\n"
" The notation for shortcuts is as follows: Control-key sequences are notated with a caret (^) symbol and are entered with the Control (Ctrl) key. Escape-key sequences are notated with the Meta (M) symbol and can be entered using either the Esc, Alt or Meta key depending on your keyboard setup. The following keystrokes are available in the main editor window. Alternative keys are shown in parentheses:\n"
"\n"
msgstr ""
" teks bantuan nano\n"
"\n"
" Penyunting nano direka untuk meniru fungsi dan kemudahgunaan penyunting "
"teks UW Pico. Terdapat empat bahagian utama penyunting: Baris teratas "
"menunjukkan versi program, namafail semasa yang sedang disunting, dan adakah "
"fail tersebut telah diubahsuai. Berikutnya adalah tetingkap utama "
"penyunting yang menunjukkan fail yang sedang disunting. Baris status adalah "
"baris ketiga dari bawah dan menunjukkan mesej-mesej penting. Dua baris "
"terbawah menunjukkan pintasan yang sering digunakan dalam penyunting.\n"
" Penyunting nano direka untuk meniru fungsi dan kemudahgunaan penyunting teks UW Pico. Terdapat empat bahagian utama penyunting: Baris teratas menunjukkan versi program, namafail semasa yang sedang disunting, dan adakah fail tersebut telah diubahsuai. Berikutnya adalah tetingkap utama penyunting yang menunjukkan fail yang sedang disunting. Baris status adalah baris ketiga dari bawah dan menunjukkan mesej-mesej penting. Dua baris terbawah menunjukkan pintasan yang sering digunakan dalam penyunting.\n"
"\n"
" Penandaan untuk pintasan adalah seperti berikut: turutan kekunci Control "
"ditandakan dengan simbol caret (^) dan dimasukkan dengan kekunci Control "
"(Ctrl). Turutan kekunci Escape ditandakan dengan simbol Meta (M) dan boleh "
"dimasukkan dengan menggunakan kekunci Esc, Alt atau Meta tergantung pada "
"susunatur papan kekunci anda. Kekunci-kekunci berikut terdapat dalam "
"tetingkap utama penyunting. Kekunci alternatif ditunjukkan dalam kurungan:\n"
" Penandaan untuk pintasan adalah seperti berikut: turutan kekunci Control ditandakan dengan simbol caret (^) dan dimasukkan dengan kekunci Control (Ctrl). Turutan kekunci Escape ditandakan dengan simbol Meta (M) dan boleh dimasukkan dengan menggunakan kekunci Esc, Alt atau Meta tergantung pada susunatur papan kekunci anda. Kekunci-kekunci berikut terdapat dalam tetingkap utama penyunting. Kekunci alternatif ditunjukkan dalam kurungan:\n"
"\n"
#: nano.c:388 nano.c:458
@@ -1235,16 +1126,6 @@ msgstr "Tidak dapat menyalurkan"
msgid "Could not fork"
msgstr "Tidak dapat mencabang"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data sekarang = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Setelah, data= \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Tetapkan Tanda"
@@ -1315,8 +1196,7 @@ msgstr "Sekarang boleh UnJustify!"
#: nano.c:2696
msgid "Save modified buffer (ANSWERING \"No\" WILL DESTROY CHANGES) ? "
msgstr ""
"Simpan buffer ubahsuai (JAWAB \"Tidak\" AKAN MENGHILANGKAN PERUBAHAN) ? "
msgstr "Simpan buffer ubahsuai (JAWAB \"Tidak\" AKAN MENGHILANGKAN PERUBAHAN) ? "
#: nano.c:2796
msgid "Received SIGHUP or SIGTERM\n"
@@ -1366,48 +1246,6 @@ msgstr "dimatikan"
msgid "Tab size is too small for nano...\n"
msgstr "Saiz tab terlalu kecil bagi nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Utama: menetapkan tetingkap\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Utama: tetingkap bawah\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Utama: buka fail\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "AHA! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Saya mendapat Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Saya mendapat Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Saya mendapat Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Saya mendapat Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Saya mendapat Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "XOFF diabaikan, mumble mumble."
@@ -1416,11 +1254,6 @@ msgstr "XOFF diabaikan, mumble mumble."
msgid "XON ignored, mumble mumble."
msgstr "XON diabaikan, mumble mumble."
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "Saya mendapat %c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1465,14 +1298,6 @@ msgstr "rentetan regex mesti bermula dan tamat dengan aksara \"\n"
msgid "Missing syntax name"
msgstr "Nama sintaks tiada"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Menambah sintaks baru selepas yang pertama\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Memulakan jenis sintaks baru\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Nama warna tiada"
@@ -1481,35 +1306,15 @@ msgstr "Nama warna tiada"
msgid "Cannot add a color directive without a syntax line"
msgstr "Tidak dapat menambah arahan warna tanpa baris sintaks"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Memulakan rentetanwarna baru bagi fg %d bg %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Menambah kemasukan baru bagi fg %d bg %d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" memerlukan padanan \"end=\""
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: Baca komen\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "arahan %s tidak difahami"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: Pilihan huraian %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1525,16 +1330,6 @@ msgstr "saiz isian %d yang dipohon tidak sah"
msgid "requested tab size %d invalid"
msgstr "saiz tab %d yang dipohon tidak sah"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "set penanda %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "penanda %d di nyahset!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Ralat ditemui dalam fail .nanorc"
@@ -1633,132 +1428,95 @@ msgstr "Bukan kurungan"
msgid "No matching bracket"
msgstr "Tiada padanan kurungan"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "nano tidak cukup memori!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x untuk xplus=%d mengembalikan %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "masukan '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Fail: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " DIR: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Fail: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " DIR: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " Diubahsuai "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " Lihat "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "Padanan regex sepanjang 0 tidak boleh diterima"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Pindah ke (%d, %d) dalam buffer suntingan\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Saya dapat \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Yy"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Tt"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Ss"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Ya"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Semua"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Tidak"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "baris %ld/%ld (%d%%), lajur %lu/%lu (%d%%), aksara %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Lambak buffer fail ke stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Lambak cutbuffer ke stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Lambak buffer ke stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Penyunting teks nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "versi "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Dibawakan kepada anda oleh:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Terima kasih khas kepada:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "The Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "Untuk ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "dan sesiapa yang kami lupa...."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Terima kasih kerana menggunakan nano!\n"

992
po/nb.po

File diff suppressed because it is too large Load Diff

434
po/nl.po
View File

@@ -5,7 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.2.0\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-02-22 16:31:14+0100\n"
"Last-Translator: Guus Sliepen <guus@sliepen.warande.net>\n"
"Language-Team: Dutch <vertaling@nl.linux.org>\n"
@@ -14,15 +15,6 @@ msgstr ""
"Content-Transfer-Encoding: 8-bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() aangeroepen met inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Knipbuffer weggeblazen =)\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -85,12 +77,6 @@ msgstr "Bestand om in nieuwe buffer in te voegen [van ./] "
msgid "File to insert [from ./] "
msgstr "Bestand om in te voegen [vanaf ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "bestandsnaam is %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Opdracht om uit te voeren"
@@ -108,16 +94,6 @@ msgstr "Kan bestand van buiten %s niet invoegen"
msgid "Key illegal in non-multibuffer mode"
msgstr "Toets illegaal in niet-multibuffer modus"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: node vrijgegeven, JOEPIE!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: laatste node vrijgegeven.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Geen open bestanden over"
@@ -142,11 +118,6 @@ msgstr "Kon %s niet lezen om veiligheidskopie te maken: %s"
msgid "Couldn't write backup: %s"
msgstr "Kon geen veiligheidskopie maken: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Aanmaken veiligheidskopie %s van %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -169,11 +140,6 @@ msgstr ""
msgid "Could not open file for writing: %s"
msgstr "Kon bestand niet openen om naar te schrijven: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr ">%s geschreven\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -526,215 +492,215 @@ msgstr "Open volgend ingeladen bestand"
msgid "Toggle insert into new buffer"
msgstr "Omschakelen invoegen in nieuwe buffer"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Toon hulp"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Sluit"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Afsluiten"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Schrijven"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Uitlijnen"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Lees bestand"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Zoek"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Vorige Pagina"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Volgende Pagina"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Snij"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "OnUitlijnen"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Plak"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Positie"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Spelling"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Op"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Neer"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Voorwaarts"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Terug"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Begin"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Eind"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Verfris"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Markeer"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Verwijder"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Backspace"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Vervang"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Ga naar regel"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Volgend woord"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Ga <20><>n woord verder"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Vorig woord"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Ga <20><>n woord terug"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Vind andere rechte haak"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "Vorig bestand"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "Volgend bestand"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Afbreken"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Eerste regel"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Laatste regel"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Kast-gevoelig"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Richting"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Regexp"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "Geschiedenis"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Geen vervanging"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Naar bestanden"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "DOS formaat"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Mac formaat"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Voeg achteraan toe"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "Voeg vooraan toe"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "Maak veiligheidskopie"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Voer opdracht uit"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Nieuwe buffer"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Ga naar map"
@@ -1240,16 +1206,6 @@ msgstr "Kon niet doorsluizen"
msgid "Could not fork"
msgstr "Kon geen nieuw proces opstarten"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data nu = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Na afloop, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Markering gezet"
@@ -1374,48 +1330,6 @@ msgstr "uitgezet"
msgid "Tab size is too small for nano...\n"
msgstr "Tabgrootte te klein voor nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: vensters instellen\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: onderste venster\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: bestand openen\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "AHA! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Ik kreeg Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Ik kreeg Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Ik kreeg Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Ik kreeg Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Ik kreeg Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "XOFF genegeerd, mopper mopper."
@@ -1424,11 +1338,6 @@ msgstr "XOFF genegeerd, mopper mopper."
msgid "XON ignored, mumble mumble."
msgstr "XON genegeerd, mopper mopper."
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "Ik kreeg %c! (%d)\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1473,14 +1382,6 @@ msgstr "regex strings moeten beginnen en eindigen met een \" karakter\n"
msgid "Missing syntax name"
msgstr "Missende syntaxnaam"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Toevoegen nieuwe syntax na eerste\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Starten van een nieuw syntaxtype\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Missende kleurnaam"
@@ -1489,35 +1390,15 @@ msgstr "Missende kleurnaam"
msgid "Cannot add a color directive without a syntax line"
msgstr "Kan geen kleurentekst toevoegen zonder syntaxregel"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Starten van een nieuwe kleurentekst voor voorgrond %d achtergrond %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Toevoegen nieuwe invoer voor voorgrond %d achtergrond %d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" benodigt een corresponderende \"end=\""
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: Lees een regel commentaar\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "commando %s niet begrepen"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: Ontleden optie %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1533,16 +1414,6 @@ msgstr "gevraagde vulgrootte %d ongeldig"
msgid "requested tab size %d invalid"
msgstr "gevraagde tabgrootte %d ongeldig"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "zet vlag %d aan!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "zet vlag %d uit!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Fouten gevonden in .nanorc bestand"
@@ -1641,132 +1512,201 @@ msgstr "Geen rechte haak"
msgid "No matching bracket"
msgstr "Geen overeenkomende rechte haak"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "nano heeft geen geheugen meer!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x voor xplus=%d gaf %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "invoer '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Bestand: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " Map: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Bestand: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " Map: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " Veranderd "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " Toon "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "Weigering regex overeenkomst van lengte 0"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Ging naar (%d, %d) in bewerkingsbuffer\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Ik kreeg \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Jj"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Aa"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Ja"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Alle"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Nee"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "regel %ld/%ld (%d%%), kolom %lu/%lu (%d%%), karakter %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Dumpen bestandsbuffer naar stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Dumpen snijbuffer naar stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Dumpen buffer naar stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "De nano tekst editor"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "versie "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "U gebracht door:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Speciale dank aan:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "De Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "Voor ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "en iedereen die we vergeten zijn..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Dank u voor het gebruiken van nano!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() aangeroepen met inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Knipbuffer weggeblazen =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "bestandsnaam is %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: node vrijgegeven, JOEPIE!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: laatste node vrijgegeven.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "Aanmaken veiligheidskopie %s van %s\n"
#~ msgid "Wrote >%s\n"
#~ msgstr ">%s geschreven\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data nu = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Na afloop, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: vensters instellen\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: onderste venster\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: bestand openen\n"
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "AHA! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Ik kreeg Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Ik kreeg Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Ik kreeg Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Ik kreeg Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Ik kreeg Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Ik kreeg %c! (%d)\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "Toevoegen nieuwe syntax na eerste\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "Starten van een nieuw syntaxtype\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr ""
#~ "Starten van een nieuwe kleurentekst voor voorgrond %d achtergrond %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "Toevoegen nieuwe invoer voor voorgrond %d achtergrond %d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: Lees een regel commentaar\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: Ontleden optie %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "zet vlag %d aan!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "zet vlag %d uit!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x voor xplus=%d gaf %d\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "invoer '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Ging naar (%d, %d) in bewerkingsbuffer\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Ik kreeg \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Dumpen bestandsbuffer naar stderr...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Dumpen snijbuffer naar stderr...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Dumpen buffer naar stderr...\n"

427
po/nn.po
View File

@@ -7,7 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.6\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2002-01-26 02:49+0100\n"
"Last-Translator: Kjetil Torgrim Homme <kjetilho@linpro.no>\n"
"Language-Team: Norwegian nynorsk <i18n-nn@lister.ping.uio.no>\n"
@@ -15,15 +16,6 @@ msgstr ""
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
#: cut.c:49
#, fuzzy, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer vart kalla med inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Tømte utklippsbufferet\n"
#: files.c:317
#, fuzzy, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -88,12 +80,6 @@ msgstr "Fil som skal setjast inn [fr
msgid "File to insert [from ./] "
msgstr "Fil som skal setjast inn [frå ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, fuzzy, c-format
msgid "filename is %s\n"
msgstr "filnamnet er %s"
#: files.c:495
msgid "Command to execute"
msgstr ""
@@ -111,16 +97,6 @@ msgstr "Kan ikkje setja inn fil fr
msgid "Key illegal in non-multibuffer mode"
msgstr "Tasten er ugyldig utan fleire buffer"
#: files.c:704 nano.c:565
#, fuzzy, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "delete_node(): frigjorde ein node, HURRA!\n"
#: files.c:709 nano.c:570
#, fuzzy, c-format
msgid "%s: free'd last node.\n"
msgstr "delete_node(): frigjorde siste node.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Ingen fleire opne filer"
@@ -145,11 +121,6 @@ msgstr "Kunne ikkje opna %s for skriving: %s"
msgid "Couldn't write backup: %s"
msgstr "Kunne ikkje lukka %s: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr ""
#: files.c:1413
#, fuzzy, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -171,11 +142,6 @@ msgstr "Kunne ikkje setja tilgangsniv
msgid "Could not open file for writing: %s"
msgstr "Kunne ikkje opna fila for skriving: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Skreiv >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -544,221 +510,221 @@ msgstr "Opna neste leste fil"
msgid "Toggle insert into new buffer"
msgstr ""
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Hjelp"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Lukk"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Avslutt"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Lagra"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Brekk om"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Les fil"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Finn"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Førre side"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Neste side"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Klipp"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "U-ombrekk"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "U-klipp"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Posisjon"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Staving"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Opp"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Ned"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Framover"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Bakover"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Home"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "End"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Frisk opp"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Merk tekst"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Delete"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Backspace"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Erstatt"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
#, fuzzy
msgid "Go To Line"
msgstr "Gå til linje"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr ""
#: global.c:542
#: global.c:555
#, fuzzy
msgid "Move forward one word"
msgstr "Gå ein bokstav fram"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr ""
#: global.c:546
#: global.c:559
#, fuzzy
msgid "Move backward one word"
msgstr "Gå ein bokstav attende"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Finn den andre klamma"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr ""
#: global.c:558
#: global.c:571
#, fuzzy
msgid "Next File"
msgstr "Ny fil"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Avbryt"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Første linje"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Siste linje"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Store/små"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Retning"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Reguttrykk"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr ""
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Inga erstatting"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Til filer"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr ""
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr ""
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Legg til"
#: global.c:709
#: global.c:737
#, fuzzy
msgid "Prepend"
msgstr "Legg til"
#: global.c:713
#: global.c:742
#, fuzzy
msgid "Backup File"
msgstr "Backspace"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr ""
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Ny buffer"
#: global.c:778
#: global.c:810
#, fuzzy
msgid "Go To Dir"
msgstr "Gå til katalog"
@@ -1280,16 +1246,6 @@ msgstr "Kunne ikkje lukka %s: %s"
msgid "Could not fork"
msgstr "Kunne ikkje lukka %s: %s"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data no = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Etter, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Merke sett"
@@ -1414,48 +1370,6 @@ msgstr "av"
msgid "Tab size is too small for nano...\n"
msgstr "Vindauget er for lite for Nano..."
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Hovud: Vindauge sett opp\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Hovud: botnvindauge\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Hovud: opna fil\n"
#: nano.c:3461
#, fuzzy, c-format
msgid "AHA! %c (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Eg fekk Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Eg fekk Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Eg fekk Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Eg fekk Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Eg fekk Alt-%c (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr ""
@@ -1464,11 +1378,6 @@ msgstr ""
msgid "XON ignored, mumble mumble."
msgstr ""
#: nano.c:3752
#, fuzzy, c-format
msgid "I got %c (%d)!\n"
msgstr "Eg fekk Alt-%c (%d)\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1514,14 +1423,6 @@ msgstr "reguttrykk m
msgid "Missing syntax name"
msgstr "Fargenamnet manglar"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr ""
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr ""
#: rcfile.c:352
msgid "Missing color name"
msgstr "Fargenamnet manglar"
@@ -1530,16 +1431,6 @@ msgstr "Fargenamnet manglar"
msgid "Cannot add a color directive without a syntax line"
msgstr ""
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr ""
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr ""
#: rcfile.c:437
#, fuzzy
msgid "\"start=\" requires a corresponding \"end=\""
@@ -1547,21 +1438,11 @@ msgstr ""
"\n"
"\tfor kvar «start=» må der vera ein «end=»"
#: rcfile.c:486
#, fuzzy, c-format
msgid "%s: Read a comment\n"
msgstr "parse_rcfile: Las ein kommentar\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "kommandoen %s er ikkje forståeleg"
#: rcfile.c:521
#, fuzzy, c-format
msgid "%s: Parsing option %s\n"
msgstr "parse_rcfile: Les inn opsjon %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1577,16 +1458,6 @@ msgstr "fyllbreidda du foreslo (%d) er for smal"
msgid "requested tab size %d invalid"
msgstr "tab-breidda du foreslo (%d) er for smal"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "sett flagget %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "skru av flagget %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Feil funne i .nanorc fila"
@@ -1686,139 +1557,201 @@ msgstr "Ikkje ei klamme"
msgid "No matching bracket"
msgstr "Inga motsvarande klamme"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
#, fuzzy
msgid "nano is out of memory!"
msgstr "nano: malloc: tom for minne!"
#: winio.c:90
#, fuzzy, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x_from_start for xplus=%d returnerte %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "input '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Fil: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " KAT: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Fil: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " KAT: "
#: winio.c:564
#: winio.c:615
#, fuzzy
msgid " Modified "
msgstr "Endra"
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr ""
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr ""
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Flytta til (%d, %d) i redigeringsbuffer\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Eg fekk \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "JjYy"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Aa"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Ja"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Alle"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Nei"
#: winio.c:1448
#: winio.c:1499
#, fuzzy, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "linje %d av %d (%.0f%%), teikn %ld av %ld (%.0f%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Dumpar fil-bufferet til stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Dumpar utklippsbufferet til stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Dumpar eit buffer til stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Teksteditoren nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "versjon "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Gjeve til deg av:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Spesiell takk til:"
# Oversette dette ?
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "Free Sofware Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr ""
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "og alle dei andre vi gløymde..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Takk for at du brukar nano!\n"
#, fuzzy
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer vart kalla med inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Tømte utklippsbufferet\n"
#, fuzzy
#~ msgid "filename is %s\n"
#~ msgstr "filnamnet er %s"
#, fuzzy
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "delete_node(): frigjorde ein node, HURRA!\n"
#, fuzzy
#~ msgid "%s: free'd last node.\n"
#~ msgstr "delete_node(): frigjorde siste node.\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Skreiv >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data no = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Etter, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Hovud: Vindauge sett opp\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Hovud: botnvindauge\n"
#~ msgid "Main: open file\n"
#~ msgstr "Hovud: opna fil\n"
#, fuzzy
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Eg fekk Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Eg fekk Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Eg fekk Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Eg fekk Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Eg fekk Alt-%c (%d)\n"
#, fuzzy
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Eg fekk Alt-%c (%d)\n"
#, fuzzy
#~ msgid "%s: Read a comment\n"
#~ msgstr "parse_rcfile: Las ein kommentar\n"
#, fuzzy
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "parse_rcfile: Les inn opsjon %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "sett flagget %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "skru av flagget %d!\n"
#, fuzzy
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x_from_start for xplus=%d returnerte %d\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "input '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Flytta til (%d, %d) i redigeringsbuffer\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Eg fekk \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Dumpar fil-bufferet til stderr...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Dumpar utklippsbufferet til stderr...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Dumpar eit buffer til stderr...\n"
#~ msgid "Can't visit parent in restricted mode"
#~ msgstr "Kan ikkje gå til foreldrekatalogen i avgrensa modus"

433
po/pl.po
View File

@@ -7,7 +7,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.99pre2\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-02-05 10:10+0200\n"
"Last-Translator: Wojciech Kotwica <wkotwica@post.pl>\n"
"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
@@ -17,15 +18,6 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() wywo³ane z inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Wywia³o bufor wycinania =)\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -91,12 +83,6 @@ msgstr "Plik do wstawienia do nowego bufora [z ./] "
msgid "File to insert [from ./] "
msgstr "Plik do wstawienia [z ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "nazwa pliku to %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Polecenie do wykonania "
@@ -114,16 +100,6 @@ msgstr "Nie mo
msgid "Key illegal in non-multibuffer mode"
msgstr "Klawisz niedozwolony w trybie innym ni¿ wielu buforów"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: zwolniono wêze³, OJ!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: zwolniono ostatni wêze³.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Nie ma wiêcej otwartych plików"
@@ -148,11 +124,6 @@ msgstr "Nie mo
msgid "Couldn't write backup: %s"
msgstr "Nie mo¿na zapisaæ kopii zapasowej: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Tworzenie kopii zapasowej %s jako %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -174,11 +145,6 @@ msgstr "Nie mo
msgid "Could not open file for writing: %s"
msgstr "NIe mo¿na otworzyæ pliku do zapisu: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Zapisano >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -532,215 +498,215 @@ msgstr "Otw
msgid "Toggle insert into new buffer"
msgstr "Prze³±cz wstawianie do nowego bufora"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Pomoc"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Zamknij"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Wyjd¼"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Zapisz"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Wyjustuj"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Wczytaj plik"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Wyszukaj"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Poprz.str."
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Nast.str."
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Wytnij"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "Cofnij just."
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Wklej"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Bie¿.poz."
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Pisownia"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Góra"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Dó³"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "W przód"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Wstecz"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Pocz±tek"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Koniec"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Od¶wie¿"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Zaznacz"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Usuñ"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Backspace"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Zast±p"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Przejd¼ do linii"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Nast.s³owo"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Przejd¼ o s³owo do przodu"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Poprz.s³owo"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Przejd¼ o s³owo wstecz"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Znajd¼ nawias do pary"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "Poprzedni plik"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "Nastêpny plik"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Anuluj"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Pierw.lin."
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Ost.lin."
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Wielk.liter"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Kierunek"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Wyr.reg."
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "Historia"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Nie zast."
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Pliki"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "Format DOS"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Format Mac"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Dopisz"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "Wpisz"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "Kopia zapas."
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Wywo³aj polecenie"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Nowy bufor"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Przejd¼ do katalogu"
@@ -1242,16 +1208,6 @@ msgstr "Nie mo
msgid "Could not fork"
msgstr "Nie mo¿na rozwidliæ procesu"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data teraz = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Po, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Znacznik ustawiony"
@@ -1374,48 +1330,6 @@ msgstr "wy
msgid "Tab size is too small for nano...\n"
msgstr "Rozmiar okna za ma³y dla nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: ustaw okna\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: dolne okno\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: otwórz plik\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "Aha! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Dosta³em Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Dosta³em Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Dosta³em Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Dosta³em Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Dosta³em Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "Zignorowano XOFF, hmm, hmm."
@@ -1424,11 +1338,6 @@ msgstr "Zignorowano XOFF, hmm, hmm."
msgid "XON ignored, mumble mumble."
msgstr "Zignorowano XON, hmm, hmm."
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "Dosta³em %c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1473,14 +1382,6 @@ msgstr "wyra
msgid "Missing syntax name"
msgstr "Brak nazwy sk³adni"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Dodawanie nowej sk³adni po pierwszej\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Uruchamianie nowego typu sk³adni\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Brak nazwy koloru"
@@ -1489,35 +1390,15 @@ msgstr "Brak nazwy koloru"
msgid "Cannot add a color directive without a syntax line"
msgstr "Nie mo¿na dodaæ dyrektywy koloru bez linii sk³adni"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Uruchamianie nowego ³añcucha koloru dla zn:%d t³o:%d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Dodawanie nowej pozycji dla zn:%d t³o:%d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" wymaga odpowiadaj±cego mu \"end=\""
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: Odczyt komentarza\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "niezrozumia³e polecenie %s"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: Analiza opcji %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1533,16 +1414,6 @@ msgstr "
msgid "requested tab size %d invalid"
msgstr "¿±dana wielko¶æ tabulacji %d niepoprawna"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "ustawiono opcjê %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "usuniêto ustawienie opcji %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "W pliku .nanorc znaleziono b³êdy"
@@ -1642,136 +1513,204 @@ msgstr "To nie nawias"
msgid "No matching bracket"
msgstr "Brak nawiasu do pary"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "nano brak³o pamiêci!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x dla xplus=%d zwraca %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "wej¶cie '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Plik: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " KAT: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Plik: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " KAT: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " Zmieniony "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " Przegl. "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "Odmowa dopasowania wyr.reg. zerowej d³ugo¶ci"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Przesuniêto do (%d, %d) w buforze edycji\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Dosta³em \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "Tt"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Ww"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Tak"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Wszystko"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Nie"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "lin.%ld/%ld (%d%%), kol.%lu/%lu (%d%%), zn.%lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Zrzucanie bufora pliku na stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Zrzucanie bufora wycinania na stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Zrzucanie bufora na stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Edytor tekstu nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "wersja "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Stworzony przez:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Specjalne podziêkowania otrzymuj±:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "Free Software Foundation (Fundacja Wolnego Oprogramowania)"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "Za ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "oraz wszyscy pozostali, o których zapomnieli¶my..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Dziêkujemy za pracê z nano!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() wywo³ane z inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Wywia³o bufor wycinania =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "nazwa pliku to %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: zwolniono wêze³, OJ!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: zwolniono ostatni wêze³.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "Tworzenie kopii zapasowej %s jako %s\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Zapisano >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data teraz = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Po, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: ustaw okna\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: dolne okno\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: otwórz plik\n"
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "Aha! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Dosta³em Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Dosta³em Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Dosta³em Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Dosta³em Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Dosta³em Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Dosta³em %c (%d)!\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "Dodawanie nowej sk³adni po pierwszej\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "Uruchamianie nowego typu sk³adni\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "Uruchamianie nowego ³añcucha koloru dla zn:%d t³o:%d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "Dodawanie nowej pozycji dla zn:%d t³o:%d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: Odczyt komentarza\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: Analiza opcji %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "ustawiono opcjê %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "usuniêto ustawienie opcji %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x dla xplus=%d zwraca %d\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "wej¶cie '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Przesuniêto do (%d, %d) w buforze edycji\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Dosta³em \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Zrzucanie bufora pliku na stderr...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Zrzucanie bufora wycinania na stderr...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Zrzucanie bufora na stderr...\n"
#~ msgid "Generic error"
#~ msgstr "Standardowy b³±d"

View File

@@ -5,7 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.0.9\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2002-07-26 16:00-0300\n"
"Last-Translator: Claudio Neves <cneves@nextis.com>\n"
"Language-Team: pt_BR <ldp-br@bazar.conectiva.com.br>\n"
@@ -13,15 +14,6 @@ msgstr ""
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr ""
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr ""
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -85,12 +77,6 @@ msgstr "Arquivo a inserir [de ./]"
msgid "File to insert [from ./] "
msgstr "Arquivo a inserir [de ./]"
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, fuzzy, c-format
msgid "filename is %s\n"
msgstr "nome do arquivo é %s"
#: files.c:495
msgid "Command to execute"
msgstr ""
@@ -109,16 +95,6 @@ msgstr ""
msgid "Key illegal in non-multibuffer mode"
msgstr "Tecla ilegal no modo VISUALIZAÇÃO"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr ""
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr ""
#: files.c:873 files.c:936
msgid "No more open files"
msgstr ""
@@ -143,11 +119,6 @@ msgstr "N
msgid "Couldn't write backup: %s"
msgstr ""
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr ""
#: files.c:1413
#, fuzzy, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -169,11 +140,6 @@ msgstr "N
msgid "Could not open file for writing: %s"
msgstr "Não foi possível abrir o arquivo para escrita: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Escrito >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -542,221 +508,221 @@ msgstr ""
msgid "Toggle insert into new buffer"
msgstr ""
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Ajuda"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr ""
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Sair"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Escrever"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Justificar"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Ler Arq."
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Localizar"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Pág. Ant."
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Pág. Seg."
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Recortar"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "DesJustif"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Colar"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Posição"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Corretor"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Subir"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Descer"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Avançar"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Voltar"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr ""
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Fim"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Atualizar"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Marcar"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Apagar"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Backspace"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tab"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Substituir"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
#, fuzzy
msgid "Go To Line"
msgstr "Ir para"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr ""
#: global.c:542
#: global.c:555
#, fuzzy
msgid "Move forward one word"
msgstr "Avançar 1 caracter"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr ""
#: global.c:546
#: global.c:559
#, fuzzy
msgid "Move backward one word"
msgstr "Voltar 1 caracter"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr ""
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr ""
#: global.c:558
#: global.c:571
#, fuzzy
msgid "Next File"
msgstr "Novo Arquivo"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Cancelar"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "1a Linha"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Últ Linha"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Case Sens"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr ""
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr ""
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr ""
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Ñ Substit"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "P/ Arquivos"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr ""
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr ""
#: global.c:706
#: global.c:733
#, fuzzy
msgid "Append"
msgstr "Suspender"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr ""
#: global.c:713
#: global.c:742
#, fuzzy
msgid "Backup File"
msgstr "Backspace"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr ""
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Novo Buffer"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr ""
@@ -1198,16 +1164,6 @@ msgstr "N
msgid "Could not fork"
msgstr "Não foi possível fechar %s: %s"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr ""
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr ""
#: nano.c:1365
msgid "Mark Set"
msgstr "Marcado"
@@ -1334,48 +1290,6 @@ msgstr "inativo"
msgid "Tab size is too small for nano...\n"
msgstr "O tamanho da janela é pequeno demais para o Nano"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Principal: configurar janelas\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Principal: janela inferior\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Principal: abrir arquivo\n"
#: nano.c:3461
#, fuzzy, c-format
msgid "AHA! %c (%d)\n"
msgstr "Recebi Alt-%c! (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Recebi Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Recebi Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Recebi Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Recebi Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Recebi Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr ""
@@ -1384,11 +1298,6 @@ msgstr ""
msgid "XON ignored, mumble mumble."
msgstr ""
#: nano.c:3752
#, fuzzy, c-format
msgid "I got %c (%d)!\n"
msgstr "Recebi Alt-%c! (%d)\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1427,14 +1336,6 @@ msgstr ""
msgid "Missing syntax name"
msgstr ""
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr ""
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr ""
#: rcfile.c:352
msgid "Missing color name"
msgstr ""
@@ -1443,35 +1344,15 @@ msgstr ""
msgid "Cannot add a color directive without a syntax line"
msgstr ""
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr ""
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr ""
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr ""
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr ""
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr ""
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr ""
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1487,16 +1368,6 @@ msgstr ""
msgid "requested tab size %d invalid"
msgstr ""
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr ""
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr ""
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr ""
@@ -1597,139 +1468,147 @@ msgstr ""
msgid "No matching bracket"
msgstr ""
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr ""
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr ""
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr ""
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr ""
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Arquivo: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " DIR: ..."
#: winio.c:556
#: winio.c:607
#, fuzzy
msgid "File: "
msgstr " Arquivo: ..."
#: winio.c:559
#: winio.c:610
#, fuzzy
msgid " DIR: "
msgstr " DIR: ..."
#: winio.c:564
#: winio.c:615
#, fuzzy
msgid " Modified "
msgstr "Modificado"
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr ""
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr ""
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Movido para (%d, %d) no buffer de edição\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Recebi \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "SsYy"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "TtAa"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Sim"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Todos"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Não"
#: winio.c:1448
#: winio.c:1499
#, fuzzy, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "linha %d de %d (%.0f%%), caracter %d de %d (%.0f%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr ""
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr ""
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr ""
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Editor de textos nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "versão"
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Um oferecimento de:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Agradecimentos especiais para:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "A Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "Para o ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "e qualquer um que tenhamos esquecido..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Obrigado por usar o nano!\n"
#, fuzzy
#~ msgid "filename is %s\n"
#~ msgstr "nome do arquivo é %s"
#~ msgid "Wrote >%s\n"
#~ msgstr "Escrito >%s\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Principal: configurar janelas\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Principal: janela inferior\n"
#~ msgid "Main: open file\n"
#~ msgstr "Principal: abrir arquivo\n"
#, fuzzy
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "Recebi Alt-%c! (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Recebi Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Recebi Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Recebi Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Recebi Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Recebi Alt-%c! (%d)\n"
#, fuzzy
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Recebi Alt-%c! (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Movido para (%d, %d) no buffer de edição\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Recebi \"%s\"\n"
#~ msgid "read_line: not on first line and prev is NULL"
#~ msgstr "read_line: não está na 1a linha e a anterior é NULA"

1521
po/ro.po Normal file

File diff suppressed because it is too large Load Diff

433
po/ru.po
View File

@@ -5,7 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.99pre3\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-02-17 15:10+0300\n"
"Last-Translator: Sergey A. Ribalchenko <fisher@obu.ck.ua>\n"
"Language-Team: Russian <ru@li.org>\n"
@@ -15,15 +16,6 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() ×ÙÚ×ÁÎ Ó inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "cutbuffer ÓÄÕÌÏ ×ÅÔÒÏÍ =)\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -89,12 +81,6 @@ msgstr "
msgid "File to insert [from ./] "
msgstr "æÁÊÌ ÄÌÑ ×ÓÔÁ×ËÉ [ÏÔ ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "ÉÍÑ ÆÁÊÌÁ %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "ëÏÍÁÎÄÁ ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ"
@@ -112,16 +98,6 @@ msgstr "
msgid "Key illegal in non-multibuffer mode"
msgstr "îÅ×ÅÒÎÁÑ ËÌÁ×ÉÛÁ × ÎÅ-ÍÕÌØÔÉÂÕÆÆÅÒÎÏÍ ÒÅÖÉÍÅ"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: ÊÏÊ, ÕÚÅÌ ÏÓ×ÏÂÏÖÄÅÎ!..\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: ÏÓ×ÏÂÏÖÄÅÎ ÐÏÓÌÅÄÎÉÊ ÕÚÅÌ.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "îÅÔ ÂÏÌØÛÅ ÏÔËÒÙÔÙÈ ÆÁÊÌÏ×"
@@ -146,11 +122,6 @@ msgstr "
msgid "Couldn't write backup: %s"
msgstr "îÅ ÍÏÇÕ ÚÁÐÉÓÁÔØ ÒÅÚÅÒ×ÎÕÀ ËÏÐÉÀ: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "óÏÚÄÁÎÉÅ ÒÅÚÅÒ×ÎÏÊ ËÏÐÉÉ ÆÁÊÌÁ %s × ÆÁÊÌÅ %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -172,11 +143,6 @@ msgstr "
msgid "Could not open file for writing: %s"
msgstr "îÅ ÍÏÇÕ ÏÔËÒÙÔØ ÆÁÊÌ ÎÁ ÚÁÐÉÓØ: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "úÁÐÉÓÁÎÏ >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -530,215 +496,215 @@ msgstr "
msgid "Toggle insert into new buffer"
msgstr "ðÅÒÅËÌÀÞÉÔØ ÒÅÖÉÍ ×ÓÔÁ×ËÉ × ÎÏ×ÏÍ ÂÕÆÆÅÒÅ"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "ðÏÍÏÝØ"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "úÁËÒÙÔØ"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "÷ÙÈÏÄ"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "úÁÐÉÓÁÔØ"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "÷ÙÒÏ×ÎÑÔØ"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "þÉÔÁÔØæÁÊÌ"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "ðÏÉÓË"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "ðÒÅÄ CÔÒ"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "óÌÅÄ CÔÒ"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "÷ÙÒÅÚÁÔØ"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "ïÔÍ ÷ÙÒÁ×Î"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "ïÔÍ ÷ÙÒÅÚ"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "ôÅËðÏÚÉÃÉÑ"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "ïÒÆÏÇÒÁÆÉÑ"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "÷×ÅÒÈ"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "÷ÎÉÚ"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "÷ÐÅÒÅÄ"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "îÁÚÁÄ"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "îÁÞÁÌÏ"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "ëÏÎÅÃ"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "ðÅÒÅÒÉÓÏ×ÁÔØ"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "ïÔÍÅÔÉÔØ"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "õÄÁÌÉÔØ"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "úÁÂÏÊ (BS)"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "ôÁÂÕÌÑÃÉÑ"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "úÁÍÅÎÁ"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Enter"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "ë ÓÔÒÏËÅ"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "óÌÅÄ óÌÏ×Ï"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "÷ÐÅÒÅÄ ÎÁ ÏÄÎÏ ÓÌÏ×Ï"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "ðÒÅÄ óÌÏ×Ï"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "îÁÚÁÄ ÎÁ ÏÄÎÏ ÓÌÏ×Ï"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "îÁÊÔÉ äÒÕÇÕÀ óËÏÂËÕ"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "ðÒÅÄÙÄÕÝÉÊ æÁÊÌ"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "óÌÅÄÕÀÝÉÊ æÁÊÌ"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "ïÔÍÅÎÉÔØ"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "ðÅÒ×óÔÒÏËÁ"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "ðÏÓÌóÔÒÏËÁ"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "òÅÇúÁ×ÉÓÉÍ"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "îÁÐÒÁ×ÌÅÎÉÅ"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "æÏÒÍ÷ÙÒ"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "éÓÔÏÒÉÑ"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "îÅúÁÍÅÝÁÔØ"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "ë æÁÊÌÁÍ"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "ÆÏÒÍÁÔ DOS"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "ÆÏÒÍÁÔ Mac"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "äÏÂÁ×ÉÔØ(ë)"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "äÏÂÁ×ÉÔØ(î)"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "òÅÚÅÒ× ËÏÐÉÑ"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "÷ÙÐÏÌÎÉÔØ ËÏÍÁÎÄÕ"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "îÏ×ÙÊ âÕÆÅÒ"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "ë ÄÉÒÅËÔÏÒÉÉ"
@@ -1239,16 +1205,6 @@ msgstr "
msgid "Could not fork"
msgstr "îÅ ÍÏÇÕ ÓÄÅÌÁÔØ fork()"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data ÓÅÊÞÁÓ = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "ðÏÓÌÅ, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "íÅÔËÁ ÕÓÔÁÎÏ×ÌÅÎÁ"
@@ -1369,48 +1325,6 @@ msgstr "
msgid "Tab size is too small for nano...\n"
msgstr "òÁÚÍÅÒ ÔÁÂÕÌÑÃÉÉ ÓÌÉÛËÏÍ ÍÁÌ ÄÌÑ nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: ÕÓÔÁÎÏ×ÉÔØ ÏËÎÁ\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: ÎÉÖÎÅÅ ÏËÎÏ\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: ÏÔËÒÙÔØ ÆÁÊÌ\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "áÇÁ! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "ðÏÊÍÁÌ Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "ðÏÊÍÁÌ Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "ðÏÊÍÁÌ Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "ðÏÊÍÁÌ Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "ðÏÊÍÁÌ Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "XOFF ÐÒÏÉÇÎÏÒÉÒÏ×ÁÎ, ÍÒ-ÂÒ-ÂÒ"
@@ -1419,11 +1333,6 @@ msgstr "XOFF
msgid "XON ignored, mumble mumble."
msgstr "XON ÐÒÏÉÇÎÏÒÉÒÏ×ÁÎ, ÍÒ-ÂÒ-ÂÒ"
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "ðÏÊÍÁÌ %c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1469,14 +1378,6 @@ msgstr ""
msgid "Missing syntax name"
msgstr "ïÔÓÕÔÓÔ×ÕÅÔ ÎÁÚ×ÁÎÉÅ ÓÉÎÔÁËÓÉÓÁ"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "äÏÂÁ×ÌÅÎÉÅ ÎÏ×ÏÇÏ ÓÉÎÔÁËÓÉÓÁ ÐÏÓÌÅ ÐÅÒ×ÏÇÏ\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "îÁÞÉÎÁÅÍ ÎÏ×ÙÊ ÔÉÐ ÓÉÎÔÁËÓÉÓÁ\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "ïÔÓÕÔÓÔ×ÕÅÔ ÎÁÚ×ÁÎÉÅ Ã×ÅÔÁ"
@@ -1485,35 +1386,15 @@ msgstr "
msgid "Cannot add a color directive without a syntax line"
msgstr "îÅ ÍÏÇÕ ÄÏÂÁ×ÉÔØ ÄÉÒÅËÔÉ×Õ Ã×ÅÔÁ ÂÅÚ ÓÒÏËÉ ÓÉÎÔÁËÓÉÓÁ"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "îÁÞÉÎÁÅÍ ÎÏ×ÕÀ ÓÔÒÏËÕ Ã×ÅÔÁ ÄÌÑ Ã×ÅÔÁ %d, ÆÏÎÁ %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "äÏÂÁ×ÌÑÅÍ ÎÏ×ÕÀ ÚÁÐÉÓØ ÄÌÑ Ã×ÅÔÁ %d, ÆÏÎÁ %d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" ÔÒÅÂÕÅÔ ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÅÇÏ \"end=\""
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: þÉÔÁÅÍ ËÏÍÍÅÎÔÁÒÉÊ\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "ËÏÍÁÎÄÁ %s ×ÅÓØÍÁ ÎÅ ×ÒÁÚÕÍÉÔÅÌØÎÁ"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: òÁÚÂÉÒÁÅÍ ÏÐÃÉÀ %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1529,16 +1410,6 @@ msgstr "
msgid "requested tab size %d invalid"
msgstr "ÚÁÐÒÏÛÅÎÎÙÊ ÒÁÚÍÅÒ ÔÁÂÕÌÑÃÉÉ %d ÎÅ ×ÁÌÉÄÅÎ"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "ÕÓÔÁÎÏ×ÉÔÅ ÆÌÁÇ %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "cÎÉÍÉÔÅ ÆÌÁÇ %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "÷ ÆÁÊÌÅ .nanorc ÎÁÊÄÅÎÙ ÏÛÉÂËÉ"
@@ -1638,137 +1509,205 @@ msgstr "
msgid "No matching bracket"
msgstr "îÅÔ ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÅÊ ÓËÏÂËÉ"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "ÎÅ È×ÁÔÁÅÔ ÐÁÍÑÔÉ ÄÌÑ nano!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x ÄÌÑ xplus=%d ×ÅÒÎÕÌÏ %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "áÇÁ! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "××ÏÄ '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " æÁÊÌ: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " äÉÒ: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "æÁÊÌ: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " äÉÒ: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " éÚÍÅÎÅÎ "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " óÍÏÔÒ "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "ïÔÂÒÁÓÙ×ÁÅÍ ×ÈÏÖÄÅÎÉÅ ÎÕÌÅ×ÏÊ ÄÌÉÎÙ"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "ðÅÒÅÍÅÝÅÎÏ ÎÁ (%d, %d) × ÂÕÆÅÒÅ ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "ðÏÊÍÁÌ \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "YyäÄ"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "NnîÎ"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Aa÷×"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "äÁ"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "÷ÓÅ"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "îÅÔ"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "ÓÔÒÏËÁ %ld/%ld (%d%%), ÓÔÏÌÂÅà %lu/%lu (%d%%), ÓÉÍ×ÏÌ %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "óÂÒÏÓ ÂÕÆÅÒÁ ÆÁÊÌÁ ÎÁ stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "óÂÒÏÓ cutbuffer'Á ÎÁ stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "óÂÒÏÓ ÂÕÆÆÅÒÁ ÎÁ stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "ôÅËÓÔÏ×ÙÊ ÒÅÄÁËÔÏÒ nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "×ÅÒÓÉÑ "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "ðÒÅÄÏÓÔÁ×ÌÅÎ ×ÁÍ:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "ïÓÏÂÁÑ ÂÌÁÇÏÄÁÒÎÏÓÔØ:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr ""
"The Free Software Foundation (ÆÏÎÄ Ó×ÏÂÏÄÎÏÇÏ ÐÒÏÇÒÁÍÍÎÏÇÏ ÏÂÅÓÐÅÞÅÎÉÑ)"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "äÌÑ ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "É ×ÓÅÍ ÏÓÔÁÌØÎÙÍ, ËÏÇÏ ÍÙ ÚÁÂÙÌÉ ÕÐÏÍÑÎÕÔØ..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "óÐÁÓÉÂÏ ÷ÁÍ ÚÁ ×ÙÂÏÒ nano!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() ×ÙÚ×ÁÎ Ó inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "cutbuffer ÓÄÕÌÏ ×ÅÔÒÏÍ =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "ÉÍÑ ÆÁÊÌÁ %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: ÊÏÊ, ÕÚÅÌ ÏÓ×ÏÂÏÖÄÅÎ!..\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: ÏÓ×ÏÂÏÖÄÅÎ ÐÏÓÌÅÄÎÉÊ ÕÚÅÌ.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "óÏÚÄÁÎÉÅ ÒÅÚÅÒ×ÎÏÊ ËÏÐÉÉ ÆÁÊÌÁ %s × ÆÁÊÌÅ %s\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "úÁÐÉÓÁÎÏ >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data ÓÅÊÞÁÓ = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "ðÏÓÌÅ, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: ÕÓÔÁÎÏ×ÉÔØ ÏËÎÁ\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: ÎÉÖÎÅÅ ÏËÎÏ\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: ÏÔËÒÙÔØ ÆÁÊÌ\n"
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "áÇÁ! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "ðÏÊÍÁÌ Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "ðÏÊÍÁÌ Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "ðÏÊÍÁÌ Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "ðÏÊÍÁÌ Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "ðÏÊÍÁÌ Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "ðÏÊÍÁÌ %c (%d)!\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "äÏÂÁ×ÌÅÎÉÅ ÎÏ×ÏÇÏ ÓÉÎÔÁËÓÉÓÁ ÐÏÓÌÅ ÐÅÒ×ÏÇÏ\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "îÁÞÉÎÁÅÍ ÎÏ×ÙÊ ÔÉÐ ÓÉÎÔÁËÓÉÓÁ\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "îÁÞÉÎÁÅÍ ÎÏ×ÕÀ ÓÔÒÏËÕ Ã×ÅÔÁ ÄÌÑ Ã×ÅÔÁ %d, ÆÏÎÁ %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "äÏÂÁ×ÌÑÅÍ ÎÏ×ÕÀ ÚÁÐÉÓØ ÄÌÑ Ã×ÅÔÁ %d, ÆÏÎÁ %d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: þÉÔÁÅÍ ËÏÍÍÅÎÔÁÒÉÊ\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: òÁÚÂÉÒÁÅÍ ÏÐÃÉÀ %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "ÕÓÔÁÎÏ×ÉÔÅ ÆÌÁÇ %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "cÎÉÍÉÔÅ ÆÌÁÇ %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x ÄÌÑ xplus=%d ×ÅÒÎÕÌÏ %d\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "áÇÁ! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "××ÏÄ '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "ðÅÒÅÍÅÝÅÎÏ ÎÁ (%d, %d) × ÂÕÆÅÒÅ ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "ðÏÊÍÁÌ \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "óÂÒÏÓ ÂÕÆÅÒÁ ÆÁÊÌÁ ÎÁ stderr...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "óÂÒÏÓ cutbuffer'Á ÎÁ stderr...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "óÂÒÏÓ ÂÕÆÆÅÒÁ ÎÁ stderr...\n"
#~ msgid ""
#~ "\n"
#~ "The -p flag now invokes the Pico \"preserve\" flag.\n"

1528
po/sr.po Normal file

File diff suppressed because it is too large Load Diff

437
po/sv.po
View File

@@ -5,7 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.99pre3\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-02-15 14:20+0100\n"
"Last-Translator: Christian Rose <menthos@menthos.com>\n"
"Language-Team: Swedish <sv@li.org>\n"
@@ -14,15 +15,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() anropades med inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "Sprängde urklippsbufferten =)\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -85,12 +77,6 @@ msgstr "Fil att infoga i ny buffert [fr
msgid "File to insert [from ./] "
msgstr "Fil att infoga [från ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "filnamnet är %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "Kommando att köra"
@@ -108,16 +94,6 @@ msgstr "Kan inte infoga fil fr
msgid "Key illegal in non-multibuffer mode"
msgstr "Tangenten ogiltig i icke-flerbuffertläget"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: frigjorde en nod, JIPPI!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: frigjorde sista noden.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "Inga fler öppna filer"
@@ -142,11 +118,6 @@ msgstr "Kunde inte
msgid "Couldn't write backup: %s"
msgstr "Kunde inte skriva säkerhetskopia: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "Säkerhetskopierar %s till %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -168,11 +139,6 @@ msgstr "Kunde inte s
msgid "Could not open file for writing: %s"
msgstr "Kunde inte öppna filen för skrivning: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "Skrev >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -525,215 +491,215 @@ msgstr "
msgid "Toggle insert into new buffer"
msgstr "Växla infoga i ny buffert"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "Få hjälp"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "Stäng"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "Avsluta"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "Spara"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "Justera"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "Läs fil"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "Var finns"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "Föreg sid"
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "Nästa sid"
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "Klipp ut"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "Ojustera"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "Klist. in"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "Akt. pos"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "Stavkontr."
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "Upp"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "Ner"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "Framåt"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "Bakåt"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "Hem"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "Slut"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "Uppdatera"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "Markera text"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "Ta bort"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "Backsteg"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "Tabb"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "Ersätt"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "Retur"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "Gå till rad"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "Nästa ord"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "Gå framåt ett ord"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "Föreg ord"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "Gå bakåt ett ord"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "Hitta andra klammern"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "Föregående fil"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "Nästa fil"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "Avbryt"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "Första raden"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "Sista raden"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "Skiftkänsl"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "Riktning"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "Reguljärt uttr"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "Historik"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "Ingen ersättning"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "Till filer"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "DOS-format"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "Mac-format"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "Lägg till"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "Infoga"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "Säkerhetskopiera fil"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "Kör kommando"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "Ny buffert"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "Gå till katalog"
@@ -1233,16 +1199,6 @@ msgstr "Kunde inte anv
msgid "Could not fork"
msgstr "Kunde inte grena"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data nu = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "Efter, data = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "Markering satt"
@@ -1365,48 +1321,6 @@ msgstr "inaktiverad"
msgid "Tab size is too small for nano...\n"
msgstr "Tabulatorstorleken är för liten för nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: konfigurera fönster\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: nedre fönstret\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: öppna fil\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "AHA! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Jag mottog Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Jag mottog Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Jag mottog Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Jag mottog Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Jag mottog Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "XOFF ignorerades, mummel mummel."
@@ -1415,11 +1329,6 @@ msgstr "XOFF ignorerades, mummel mummel."
msgid "XON ignored, mumble mumble."
msgstr "XON ignorerades, mummel mummel."
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "Jag mottog %c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1465,14 +1374,6 @@ msgstr ""
msgid "Missing syntax name"
msgstr "Syntaxnamn saknas"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "Lägger till ny syntax efter första\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "Startar ny syntaxtyp\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "Färgnamn saknas"
@@ -1481,36 +1382,15 @@ msgstr "F
msgid "Cannot add a color directive without a syntax line"
msgstr "Kan inte lägga till ett färgdirektiv utan en syntaxrad"
# fg = förgrund, bg = bakgrund gissar jag
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "Startar en ny färgsträng för fg %d bg %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "Lägger till ny post för fg %d bg %d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" kräver ett motsvarande \"end=\""
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: Läste in en kommentar\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "förstår inte kommandot %s"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: Tolkar flaggan %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1526,16 +1406,6 @@ msgstr "beg
msgid "requested tab size %d invalid"
msgstr "begärd tabulatorstorlek %d är ogiltig"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "satte flagga %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "tog bort flagga %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "Fel hittades i filen .nanorc"
@@ -1634,137 +1504,206 @@ msgstr "Inte en klammer"
msgid "No matching bracket"
msgstr "Ingen matchande klammer"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "nano har slut på minne!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x för xplus=%d returnerade %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "Aha! \"%c\" (%d)\n"
# Osäker.
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "indata \"%c\" (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " Fil:..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " KAT:..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "Fil: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " KAT: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " Ändrad "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " Visa "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "Vägrar matchning av reguljärt uttryck med längd 0"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "Gick till (%d, %d) i redigeringsbufferten\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "Jag mottog \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "JjYy"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "Nn"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Aa"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "Ja"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "Alla"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "Nej"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "rad %ld/%ld (%d%%), kolumn %lu/%lu (%d%%), tecken %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "Dumpar filbufferten till standard fel...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "Dumpar urklippsbufferten till standard fel...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "Dumpar en buffert til standard fel...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "Textredigeraren nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "version "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "Presenteras av:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "Ytterligare tack till:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "Free Software Foundation"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "För ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "och alla andra som vi har glömt..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "Tack för att du använder nano!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() anropades med inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "Sprängde urklippsbufferten =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "filnamnet är %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: frigjorde en nod, JIPPI!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: frigjorde sista noden.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "Säkerhetskopierar %s till %s\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "Skrev >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data nu = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "Efter, data = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: konfigurera fönster\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: nedre fönstret\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: öppna fil\n"
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "AHA! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "Jag mottog Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "Jag mottog Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "Jag mottog Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "Jag mottog Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "Jag mottog Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "Jag mottog %c (%d)!\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "Lägger till ny syntax efter första\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "Startar ny syntaxtyp\n"
# fg = förgrund, bg = bakgrund gissar jag
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "Startar en ny färgsträng för fg %d bg %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "Lägger till ny post för fg %d bg %d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: Läste in en kommentar\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: Tolkar flaggan %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "satte flagga %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "tog bort flagga %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x för xplus=%d returnerade %d\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "Aha! \"%c\" (%d)\n"
# Osäker.
#~ msgid "input '%c' (%d)\n"
#~ msgstr "indata \"%c\" (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "Gick till (%d, %d) i redigeringsbufferten\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "Jag mottog \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "Dumpar filbufferten till standard fel...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "Dumpar urklippsbufferten till standard fel...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "Dumpar en buffert til standard fel...\n"
#~ msgid ""
#~ "\n"
#~ "The -p flag now invokes the Pico \"preserve\" flag.\n"

738
po/tr.po

File diff suppressed because it is too large Load Diff

433
po/uk.po
View File

@@ -5,7 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: nano 1.1.99pre3\n"
"POT-Creation-Date: 2003-04-19 23:02-0400\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2003-08-11 21:49-0400\n"
"PO-Revision-Date: 2003-02-17 10:51+0300\n"
"Last-Translator: Sergey A. Ribalchenko <fisher@obu.ck.ua>\n"
"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
@@ -15,15 +16,6 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#: cut.c:49
#, c-format
msgid "add_to_cutbuffer() called with inptr->data = %s\n"
msgstr "add_to_cutbuffer() ×ÉËÌÉËÁÎÏ Ú inptr->data = %s\n"
#: cut.c:213
msgid "Blew away cutbuffer =)\n"
msgstr "\"ËÉÛÅÎÀ\" (cutbuffer) ÚÄÕÌÏ ×¦ÔÒÏÍ =)\n"
#: files.c:317
#, c-format
msgid "Read %d line (Converted from Mac format)"
@@ -89,12 +81,6 @@ msgstr "
msgid "File to insert [from ./] "
msgstr "æÁÊÌ ÄÏ ×ÓÔÁ×ËÉ [×¦Ä ./] "
#: files.c:479 files.c:736 files.c:793 files.c:881 files.c:893 files.c:944
#: files.c:955 files.c:1815
#, c-format
msgid "filename is %s\n"
msgstr "¦Í'Ñ ÆÁÊÌÕ: %s\n"
#: files.c:495
msgid "Command to execute"
msgstr "ëÏÍÁÎÄÁ ÄÏ ×ÉËÏÎÁÎÎÑ "
@@ -112,16 +98,6 @@ msgstr "
msgid "Key illegal in non-multibuffer mode"
msgstr "îÅצÒÎÁ ËÎÏÐËÁ × ÎÅ-ÍÕÌØÔÉÂÕÆÅÒÎÏÍÕ ÒÅÖÉͦ"
#: files.c:704 nano.c:565
#, c-format
msgid "%s: free'd a node, YAY!\n"
msgstr "%s: êÏÊ.. ×ÕÚÏÌ Ú×¦ÌØÎÅÎÏ!\n"
#: files.c:709 nano.c:570
#, c-format
msgid "%s: free'd last node.\n"
msgstr "%s: Ú×¦ÌØÎÅÎÏ ÏÓÔÁÎÎØÏÇÏ ×ÕÚÌÁ.\n"
#: files.c:873 files.c:936
msgid "No more open files"
msgstr "â¦ÌØÛ ÎÅÍÁ צÄËÒÉÔÉÈ ÆÁÊ̦×"
@@ -146,11 +122,6 @@ msgstr "
msgid "Couldn't write backup: %s"
msgstr "îÅ ÍÏÖÕ ÚÁÐÉÓÁÔÉ ÒÅÚÅÒ×: %s"
#: files.c:1401
#, c-format
msgid "Backing up %s to %s\n"
msgstr "òÏÂÌÀ ÒÅÚÅÒ×ÎÕ ËÏЦÀ ÆÁÊÌÕ %s, ÒÅÚÅÒ×ÎÉÊ ÆÁÊÌ: %s\n"
#: files.c:1413
#, c-format
msgid "Could not set permissions %o on backup %s: %s"
@@ -173,11 +144,6 @@ msgstr ""
msgid "Could not open file for writing: %s"
msgstr "îÅ ÍÏÖÕ ×¦ÄËÒÉÔÉ ÆÁÊÌ ÄÌÑ ÚÁÐÉÓÕ: %s"
#: files.c:1516
#, c-format
msgid "Wrote >%s\n"
msgstr "úÁÐÉÓÁÎÏ >%s\n"
#: files.c:1572
#, c-format
msgid "Could not close %s: %s"
@@ -531,215 +497,215 @@ msgstr "
msgid "Toggle insert into new buffer"
msgstr "ðÅÒÅÍÉËÎÕÔÉ ÒÅÖÉÍ ×ÓÔÁ×ËÉ × ÎÏ×ÉÊ ÂÕÆÅÒ"
#: global.c:418 global.c:565 global.c:605 global.c:641 global.c:660
#: global.c:690 global.c:722 global.c:744 global.c:754 global.c:764
#: global.c:784
#: global.c:418 global.c:578 global.c:627 global.c:664 global.c:683
#: global.c:713 global.c:751 global.c:775 global.c:785 global.c:795
#: global.c:816
msgid "Get Help"
msgstr "äÏÐÏÍÏÇÁ"
#: global.c:424
#: global.c:425
msgid "Close"
msgstr "úÁËÒÉÔÉ"
#: global.c:430 global.c:683
#: global.c:432 global.c:706
msgid "Exit"
msgstr "÷ÉȦÄ"
#: global.c:434
#: global.c:437
msgid "WriteOut"
msgstr "úÁÐÉÓÁÔÉ"
#: global.c:438
#: global.c:442
msgid "Justify"
msgstr "÷ÉÒ¦×ÎÀ×ÁÎÎÑ"
#: global.c:443
#: global.c:448
msgid "Read File"
msgstr "þÉÔ. æÁÊÌ"
#: global.c:452
#: global.c:458
msgid "Where Is"
msgstr "ðÏÛÕË"
#: global.c:456 global.c:675 global.c:770
#: global.c:463 global.c:698 global.c:801
msgid "Prev Page"
msgstr "ðÏÐ.óÔÏÒ."
#: global.c:460 global.c:679 global.c:774
#: global.c:468 global.c:702 global.c:805
msgid "Next Page"
msgstr "îÁÓÔ.óÔÏÒ."
#: global.c:464
#: global.c:473
msgid "Cut Text"
msgstr "÷ÉÒ¦ÚÁÔÉ"
#: global.c:469
#: global.c:479
msgid "UnJustify"
msgstr "óËÁÓ÷ÉÒ¦×Î"
#: global.c:473
#: global.c:484
msgid "UnCut Txt"
msgstr "óËÁÓ÷ÉÒ¦Ú"
#: global.c:477
#: global.c:489
msgid "Cur Pos"
msgstr "ðÏÚÉæÑ"
#: global.c:481
#: global.c:494
msgid "To Spell"
msgstr "ðÒÁ×ÏÐÉÓ"
#: global.c:485 nano.c:420 winio.c:604
#: global.c:498 nano.c:420 winio.c:655
msgid "Up"
msgstr "÷ÇÏÒÕ"
#: global.c:489
#: global.c:502
msgid "Down"
msgstr "÷ÎÉÚ"
#: global.c:493
#: global.c:506
msgid "Forward"
msgstr "÷ÐÅÒÅÄ"
#: global.c:497
#: global.c:510
msgid "Back"
msgstr "îÁÚÁÄ"
#: global.c:501
#: global.c:514
msgid "Home"
msgstr "ðÏÞÁÔÏË"
#: global.c:505
#: global.c:518
msgid "End"
msgstr "ë¦ÎÅÃØ"
#: global.c:509
#: global.c:522
msgid "Refresh"
msgstr "ðÅÒÅÍÁÌÀ×ÁÔÉ"
#: global.c:513
#: global.c:526
msgid "Mark Text"
msgstr "ðÏͦÔÉÔÉ"
#: global.c:517
#: global.c:530
msgid "Delete"
msgstr "÷ÉÄÁÌÉÔÉ"
#: global.c:521
#: global.c:534
msgid "Backspace"
msgstr "úÁ¦Ê"
#: global.c:525
#: global.c:538
msgid "Tab"
msgstr "ôÁÂÕÌÑæÑ"
#: global.c:528 global.c:578
#: global.c:541 global.c:595
msgid "Replace"
msgstr "úÁͦÎÁ"
#: global.c:532
#: global.c:545
msgid "Enter"
msgstr "÷×ÏÄ"
#: global.c:536 global.c:581 global.c:620
#: global.c:549 global.c:599 global.c:643
msgid "Go To Line"
msgstr "äÏ òÑÄËÁ"
#: global.c:541
#: global.c:554
msgid "Next Word"
msgstr "îÁÓÔóÌÏ×Ï"
#: global.c:542
#: global.c:555
msgid "Move forward one word"
msgstr "÷ÐÅÒÅÄ ÎÁ ÏÄÎÅ ÓÌÏ×Ï"
#: global.c:545
#: global.c:558
msgid "Prev Word"
msgstr "ðÏÐóÌÏ×Ï"
#: global.c:546
#: global.c:559
msgid "Move backward one word"
msgstr "îÁÚÁÄ ÎÁ ÏÄÎÅ ÓÌÏ×Ï"
#: global.c:550
#: global.c:563
msgid "Find Other Bracket"
msgstr "úÎÁÊÔÉ äÒÕÇÕ äÕÖËÕ"
#: global.c:555
#: global.c:568
msgid "Previous File"
msgstr "ðÏÐÅÒÅÄÎ¦Ê æÁÊÌ"
#: global.c:558
#: global.c:571
msgid "Next File"
msgstr "îÁÓÔÕÐÎÉÊ ÆÁÊÌ"
#: global.c:568 global.c:608 global.c:644 global.c:663 global.c:717
#: global.c:725 global.c:747 global.c:757 global.c:767 global.c:787
#: winio.c:1272
#: global.c:582 global.c:630 global.c:667 global.c:686 global.c:746
#: global.c:754 global.c:778 global.c:788 global.c:798 global.c:819
#: winio.c:1323
msgid "Cancel"
msgstr "óËÁÓÕ×ÁÔÉ"
#: global.c:571 global.c:611 global.c:647 global.c:666
#: global.c:586 global.c:633 global.c:670 global.c:689
msgid "First Line"
msgstr "ðÅÒÛÉÊ òÑÄÏË"
#: global.c:575 global.c:614 global.c:650 global.c:669
#: global.c:591 global.c:636 global.c:673 global.c:692
msgid "Last Line"
msgstr "ïÓÔÁÎÎ¦Ê òÑÄÏË"
#: global.c:585 global.c:624
#: global.c:604 global.c:647
msgid "Case Sens"
msgstr "òÅÇúÁÌÅÖ"
#: global.c:588 global.c:627
#: global.c:608 global.c:650
msgid "Direction"
msgstr "îÁÐÒÑÍÏË"
#: global.c:592 global.c:631
#: global.c:613 global.c:654
msgid "Regexp"
msgstr "æÏÒÍ÷ÉÒ"
#: global.c:597 global.c:635 global.c:654
#: global.c:619 global.c:658 global.c:677
msgid "History"
msgstr "¶ÓÔÏÒ¦Ñ"
#: global.c:617
#: global.c:640
msgid "No Replace"
msgstr "îÅ úÁͦÝÁÔÉ"
#: global.c:694 global.c:729
#: global.c:718 global.c:758
msgid "To Files"
msgstr "äÏ æÁÊ̦×"
#: global.c:699
#: global.c:724
msgid "DOS Format"
msgstr "ÆÏÒÍÁÔ DOS"
#: global.c:702
#: global.c:728
msgid "Mac Format"
msgstr "ÆÏÒÍÁÔ Mac"
#: global.c:706
#: global.c:733
msgid "Append"
msgstr "äÏÄÁÔÉ"
#: global.c:709
#: global.c:737
msgid "Prepend"
msgstr "äÏÄÁÔÉ(0)"
#: global.c:713
#: global.c:742
msgid "Backup File"
msgstr "úÒÏÂÉÔÉ ÒÅÚÅÒ×ÎÕ ËÏЦÀ"
#: global.c:733
#: global.c:763
msgid "Execute Command"
msgstr "÷ÉËÏÎÁÔÉ ËÏÍÁÎÄÕ"
#: global.c:736 winio.c:545
#: global.c:767 winio.c:596
msgid "New Buffer"
msgstr "îÏ×ÉÊ âÕÆÅÒ"
#: global.c:778
#: global.c:810
msgid "Go To Dir"
msgstr "äÏ äÉÒÅËÔÏÒ¦§"
@@ -1240,16 +1206,6 @@ msgstr "
msgid "Could not fork"
msgstr "îÅ ÍÏÖÕ ÚÒÏÂÉÔÉ fork()"
#: nano.c:1032
#, c-format
msgid "current->data now = \"%s\"\n"
msgstr "current->data ÚÁÒÁÚ = \"%s\"\n"
#: nano.c:1092
#, c-format
msgid "After, data = \"%s\"\n"
msgstr "ð¦ÓÌÑ, ÄÁΦ = \"%s\"\n"
#: nano.c:1365
msgid "Mark Set"
msgstr "í¦ÔËÕ ×ÓÔÁÎÏ×ÌÅÎÏ"
@@ -1370,48 +1326,6 @@ msgstr "
msgid "Tab size is too small for nano...\n"
msgstr "òÏÚÍ¦Ò ÔÁÂÕÌÑæ§ ÚÁÍÁÌÉÊ ÄÌÑ nano...\n"
#: nano.c:3384
msgid "Main: set up windows\n"
msgstr "Main: ×ÓÔÁÎÏ×ÉÔÉ ×¦ËÎÁ\n"
#: nano.c:3398
msgid "Main: bottom win\n"
msgstr "Main: ÎÉÖΤ צËÎÏ\n"
#: nano.c:3404
msgid "Main: open file\n"
msgstr "Main: צÄËÒÉÔÉ ÆÁÊÌ\n"
#: nano.c:3461
#, c-format
msgid "AHA! %c (%d)\n"
msgstr "áÇÁ! %c (%d)\n"
#: nano.c:3481
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "ñ ЦÊÍÁ× Alt-O-%c! (%d)\n"
#: nano.c:3508
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "ñ ЦÊÍÁ× Alt-[-1-%c! (%d)\n"
#: nano.c:3538
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "ñ ЦÊÍÁ× Alt-[-2-%c! (%d)\n"
#: nano.c:3607
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "ñ ЦÊÍÁ× Alt-[-%c! (%d)\n"
#: nano.c:3653
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "ñ ЦÊÍÁ× Alt-%c! (%d)\n"
#: nano.c:3711
msgid "XOFF ignored, mumble mumble."
msgstr "XOFF ÉÇÎÏÒÏ×ÁÎÏ, ÐÒÉÍ-ЦÍ-ЦÍ"
@@ -1420,11 +1334,6 @@ msgstr "XOFF
msgid "XON ignored, mumble mumble."
msgstr "XON ÉÇÎÏÒÏ×ÁÎÏ, ÍÕÒ-ÍÕÒ-ÍÕÒ"
#: nano.c:3752
#, c-format
msgid "I got %c (%d)!\n"
msgstr "ñ ЦÊÍÁ× %c (%d)!\n"
#: rcfile.c:103
#, c-format
msgid "Error in %s on line %d: "
@@ -1470,14 +1379,6 @@ msgstr ""
msgid "Missing syntax name"
msgstr "÷¦ÄÓÕÔÎÑ ÎÁÚ×Á ÓÉÎÔÁËÓÉÓÕ"
#: rcfile.c:298
msgid "Adding new syntax after 1st\n"
msgstr "äÏÄÁ¤ÍÏ ÎÏ×ÉÊ ÓÉÎÔÁËÓ Ð¦ÓÌÑ ÐÅÒÛÏÇÏ\n"
#: rcfile.c:306
msgid "Starting a new syntax type\n"
msgstr "ðÏÞÉÎÁ¤ÍÏ ÎÏ×ÉÊ ÔÉÐ ÓÉÎÔÁËÓÕ\n"
#: rcfile.c:352
msgid "Missing color name"
msgstr "÷¦ÄÓÕÔÎÑ ÎÁÚ×Á ËÏÌØÏÒÕ"
@@ -1486,35 +1387,15 @@ msgstr "
msgid "Cannot add a color directive without a syntax line"
msgstr "îÅ ÍÏÖÕ ÄÏÄÁÔÉ ËÏÍÁÎÄÕ ËÏÌØÏÒÕ ÂÅÚ ÒÑÄËÁ ÓÉÎÔÁËÓÉÓÕ"
#: rcfile.c:420
#, c-format
msgid "Starting a new colorstring for fg %d bg %d\n"
msgstr "ðÏÞÉÎÁ¤ÍÏ ÎÏ×ÉÊ ÒÑÄÏË ËÏÌØÏÒÕ ÄÌÑ ËÏÌØÏÒÕ %d ÎÁ ÆÏΦ %d\n"
#: rcfile.c:428
#, c-format
msgid "Adding new entry for fg %d bg %d\n"
msgstr "äÏÄÁ¤ÍÏ ÎÏ×ÉÊ ÚÁÐÉÓ ÄÌÑ ËÏÌØÏÒÕ %d ÎÁ ÆÏΦ %d\n"
#: rcfile.c:437
msgid "\"start=\" requires a corresponding \"end=\""
msgstr "\"start=\" ÐÏÔÒÅÂÕ¤ צÄÐÏצÄÎÏÇÏ \"end=\""
#: rcfile.c:486
#, c-format
msgid "%s: Read a comment\n"
msgstr "%s: ÞÉÔÁ¤ÍÏ ËÏÍÅÎÔÁÒ\n"
#: rcfile.c:509
#, c-format
msgid "command %s not understood"
msgstr "ËÏÍÁÎÄÁ %s ÎÅ ÚÒÏÚÕͦÌÁ"
#: rcfile.c:521
#, c-format
msgid "%s: Parsing option %s\n"
msgstr "%s: òÏÚ¦ÂÒÁÎÎÑ ÏÐæ§ %s\n"
#: rcfile.c:541
#, c-format
msgid "option %s requires an argument"
@@ -1530,16 +1411,6 @@ msgstr "
msgid "requested tab size %d invalid"
msgstr "ÚÁÐÒÏÛÅÎÉÊ ÒÏÚÍ¦Ò ÔÁÂÕÌÑæ§ %d ¤ ÎÅËÏÒÅËÔÎÉÍ"
#: rcfile.c:598
#, c-format
msgid "set flag %d!\n"
msgstr "×ÓÔÁÎÏ×ÉÔØ ÆÌÁÇ %d!\n"
#: rcfile.c:604
#, c-format
msgid "unset flag %d!\n"
msgstr "ÓËÉÎØÔÅ ÆÌÁÇ %d!\n"
#: rcfile.c:614
msgid "Errors found in .nanorc file"
msgstr "úÎÁÊÄÅÎÏ ÐÏÍÉÌËÉ Õ ÆÁÊ̦ .nanorc"
@@ -1640,136 +1511,204 @@ msgstr "
msgid "No matching bracket"
msgstr "îÅÍÁ צÄÐÏצÄÎϧ ÄÕÖËÉ"
#: utils.c:225 utils.c:235
#: utils.c:257 utils.c:267
msgid "nano is out of memory!"
msgstr "ÎÅ×ÉÓÔÁÞÁ¤ ×¦ÌØÎϧ ÐÁÍ'ÑÔ¦ ÄÌÑ nano!"
#: winio.c:90
#, c-format
msgid "actual_x for xplus=%d returns %d\n"
msgstr "actual_x ÄÌÑ xplus=%d ÐÏ×ÅÒÔÁ¤ %d\n"
#: winio.c:245 winio.c:473
#, c-format
msgid "Aha! '%c' (%d)\n"
msgstr "áÇÁ! '%c' (%d)\n"
#: winio.c:496
#, c-format
msgid "input '%c' (%d)\n"
msgstr "×È¦Ä '%c' (%d)\n"
#: winio.c:549
#: winio.c:600
msgid " File: ..."
msgstr " æÁÊÌ: ..."
#: winio.c:551
#: winio.c:602
msgid " DIR: ..."
msgstr " äÉÒ: ..."
#: winio.c:556
#: winio.c:607
msgid "File: "
msgstr "æÁÊÌ: "
#: winio.c:559
#: winio.c:610
msgid " DIR: "
msgstr " äÉÒ: "
#: winio.c:564
#: winio.c:615
msgid " Modified "
msgstr " úͦÎÅÎÏ "
#: winio.c:566
#: winio.c:617
msgid " View "
msgstr " ðÅÒÅÇÌÑÄ "
#: winio.c:752
#: winio.c:803
msgid "Refusing 0 length regex match"
msgstr "÷¦ÄËÉÄÁ¤ÍÏ ÓЦ×ÐÁĦÎÎÑ ÆÏÒÍÁÌØÎÏÇÏ ×ÉÒÁÚÕ ÄÏ×ÖÉÎÏÀ 0"
#: winio.c:1064
#, c-format
msgid "Moved to (%d, %d) in edit buffer\n"
msgstr "ðÅÒÅͦÝÅÎÏ ÄÏ (%d,%d) × ÂÕÆÅÒ¦ ÒÅÄÁÇÕ×ÁÎÎÑ\n"
#: winio.c:1215
#, c-format
msgid "I got \"%s\"\n"
msgstr "ñ ЦÊÍÁ× \"%s\"\n"
#: winio.c:1246
#: winio.c:1297
msgid "Yy"
msgstr "YyôÔ"
#: winio.c:1247
#: winio.c:1298
msgid "Nn"
msgstr "NnîÎ"
#: winio.c:1248
#: winio.c:1299
msgid "Aa"
msgstr "Aa÷×"
#: winio.c:1259
#: winio.c:1310
msgid "Yes"
msgstr "ôÁË"
#: winio.c:1264
#: winio.c:1315
msgid "All"
msgstr "÷ÓÅ"
#: winio.c:1269
#: winio.c:1320
msgid "No"
msgstr "î¦"
#: winio.c:1448
#: winio.c:1499
#, c-format
msgid "line %ld/%ld (%d%%), col %lu/%lu (%d%%), char %lu/%ld (%d%%)"
msgstr "ÒÑÄÏË %ld/%ld (%d%%), ÓÔÏ×ÐÞÉË %lu/%lu (%d%%, ̦ÔÅÒÁ %lu/%ld (%d%%)"
#: winio.c:1704
msgid "Dumping file buffer to stderr...\n"
msgstr "óËÉÄÁÎÎÑ ÂÕÆÅÒÕ ÆÁÊÌÕ ÄÏ stderr...\n"
#: winio.c:1706
msgid "Dumping cutbuffer to stderr...\n"
msgstr "óËÉÄÁÎÎÑ ÚͦÓÔÕ \"ËÉÛÅΦ\" ÄÏ stderr...\n"
#: winio.c:1708
msgid "Dumping a buffer to stderr...\n"
msgstr "óËÉÄÁÎÎÑ ÂÕÆÅÒÕ ÄÏ stderr...\n"
#: winio.c:1789
#: winio.c:1838
msgid "The nano text editor"
msgstr "ôÅËÓÔÏ×ÉÊ ÒÅÄÁËÔÏÒ nano"
#: winio.c:1790
#: winio.c:1839
msgid "version "
msgstr "×ÅÒÓ¦Ñ "
#: winio.c:1791
#: winio.c:1840
msgid "Brought to you by:"
msgstr "óÔ×ÏÒÅÎÏ ÄÌÑ ÷ÁÓ:"
#: winio.c:1792
#: winio.c:1841
msgid "Special thanks to:"
msgstr "ïÓÏÂÌÉ×Á ÐÏÄÑËÁ:"
#: winio.c:1793
#: winio.c:1842
msgid "The Free Software Foundation"
msgstr "The Free Software Foundation (æÏÎÄ ÷¦ÌØÎÏÇÏ ðÒÏÇÒÁÍÎÏÇÏ ÚÁÂÅÚÐÅÞÅÎÎÑ)"
#: winio.c:1794
#: winio.c:1843
msgid "For ncurses:"
msgstr "äÌÑ ncurses:"
#: winio.c:1795
#: winio.c:1844
msgid "and anyone else we forgot..."
msgstr "ÔÁ ¦ÎÛÉÍ ËÏÇÏ ÍÉ ÚÁÂÕÌÉ..."
#: winio.c:1796
#: winio.c:1845
msgid "Thank you for using nano!\n"
msgstr "äÑËÕ¤ÍÏ ÷ÁÍ ÚÁ ÔÅ, ÝÏ ÏÂÒÁÌÉ nano!\n"
#~ msgid "add_to_cutbuffer() called with inptr->data = %s\n"
#~ msgstr "add_to_cutbuffer() ×ÉËÌÉËÁÎÏ Ú inptr->data = %s\n"
#~ msgid "Blew away cutbuffer =)\n"
#~ msgstr "\"ËÉÛÅÎÀ\" (cutbuffer) ÚÄÕÌÏ ×¦ÔÒÏÍ =)\n"
#~ msgid "filename is %s\n"
#~ msgstr "¦Í'Ñ ÆÁÊÌÕ: %s\n"
#~ msgid "%s: free'd a node, YAY!\n"
#~ msgstr "%s: êÏÊ.. ×ÕÚÏÌ Ú×¦ÌØÎÅÎÏ!\n"
#~ msgid "%s: free'd last node.\n"
#~ msgstr "%s: Ú×¦ÌØÎÅÎÏ ÏÓÔÁÎÎØÏÇÏ ×ÕÚÌÁ.\n"
#~ msgid "Backing up %s to %s\n"
#~ msgstr "òÏÂÌÀ ÒÅÚÅÒ×ÎÕ ËÏЦÀ ÆÁÊÌÕ %s, ÒÅÚÅÒ×ÎÉÊ ÆÁÊÌ: %s\n"
#~ msgid "Wrote >%s\n"
#~ msgstr "úÁÐÉÓÁÎÏ >%s\n"
#~ msgid "current->data now = \"%s\"\n"
#~ msgstr "current->data ÚÁÒÁÚ = \"%s\"\n"
#~ msgid "After, data = \"%s\"\n"
#~ msgstr "ð¦ÓÌÑ, ÄÁΦ = \"%s\"\n"
#~ msgid "Main: set up windows\n"
#~ msgstr "Main: ×ÓÔÁÎÏ×ÉÔÉ ×¦ËÎÁ\n"
#~ msgid "Main: bottom win\n"
#~ msgstr "Main: ÎÉÖΤ צËÎÏ\n"
#~ msgid "Main: open file\n"
#~ msgstr "Main: צÄËÒÉÔÉ ÆÁÊÌ\n"
#~ msgid "AHA! %c (%d)\n"
#~ msgstr "áÇÁ! %c (%d)\n"
#~ msgid "I got Alt-O-%c! (%d)\n"
#~ msgstr "ñ ЦÊÍÁ× Alt-O-%c! (%d)\n"
#~ msgid "I got Alt-[-1-%c! (%d)\n"
#~ msgstr "ñ ЦÊÍÁ× Alt-[-1-%c! (%d)\n"
#~ msgid "I got Alt-[-2-%c! (%d)\n"
#~ msgstr "ñ ЦÊÍÁ× Alt-[-2-%c! (%d)\n"
#~ msgid "I got Alt-[-%c! (%d)\n"
#~ msgstr "ñ ЦÊÍÁ× Alt-[-%c! (%d)\n"
#~ msgid "I got Alt-%c! (%d)\n"
#~ msgstr "ñ ЦÊÍÁ× Alt-%c! (%d)\n"
#~ msgid "I got %c (%d)!\n"
#~ msgstr "ñ ЦÊÍÁ× %c (%d)!\n"
#~ msgid "Adding new syntax after 1st\n"
#~ msgstr "äÏÄÁ¤ÍÏ ÎÏ×ÉÊ ÓÉÎÔÁËÓ Ð¦ÓÌÑ ÐÅÒÛÏÇÏ\n"
#~ msgid "Starting a new syntax type\n"
#~ msgstr "ðÏÞÉÎÁ¤ÍÏ ÎÏ×ÉÊ ÔÉÐ ÓÉÎÔÁËÓÕ\n"
#~ msgid "Starting a new colorstring for fg %d bg %d\n"
#~ msgstr "ðÏÞÉÎÁ¤ÍÏ ÎÏ×ÉÊ ÒÑÄÏË ËÏÌØÏÒÕ ÄÌÑ ËÏÌØÏÒÕ %d ÎÁ ÆÏΦ %d\n"
#~ msgid "Adding new entry for fg %d bg %d\n"
#~ msgstr "äÏÄÁ¤ÍÏ ÎÏ×ÉÊ ÚÁÐÉÓ ÄÌÑ ËÏÌØÏÒÕ %d ÎÁ ÆÏΦ %d\n"
#~ msgid "%s: Read a comment\n"
#~ msgstr "%s: ÞÉÔÁ¤ÍÏ ËÏÍÅÎÔÁÒ\n"
#~ msgid "%s: Parsing option %s\n"
#~ msgstr "%s: òÏÚ¦ÂÒÁÎÎÑ ÏÐæ§ %s\n"
#~ msgid "set flag %d!\n"
#~ msgstr "×ÓÔÁÎÏ×ÉÔØ ÆÌÁÇ %d!\n"
#~ msgid "unset flag %d!\n"
#~ msgstr "ÓËÉÎØÔÅ ÆÌÁÇ %d!\n"
#~ msgid "actual_x for xplus=%d returns %d\n"
#~ msgstr "actual_x ÄÌÑ xplus=%d ÐÏ×ÅÒÔÁ¤ %d\n"
#~ msgid "Aha! '%c' (%d)\n"
#~ msgstr "áÇÁ! '%c' (%d)\n"
#~ msgid "input '%c' (%d)\n"
#~ msgstr "×È¦Ä '%c' (%d)\n"
#~ msgid "Moved to (%d, %d) in edit buffer\n"
#~ msgstr "ðÅÒÅͦÝÅÎÏ ÄÏ (%d,%d) × ÂÕÆÅÒ¦ ÒÅÄÁÇÕ×ÁÎÎÑ\n"
#~ msgid "I got \"%s\"\n"
#~ msgstr "ñ ЦÊÍÁ× \"%s\"\n"
#~ msgid "Dumping file buffer to stderr...\n"
#~ msgstr "óËÉÄÁÎÎÑ ÂÕÆÅÒÕ ÆÁÊÌÕ ÄÏ stderr...\n"
#~ msgid "Dumping cutbuffer to stderr...\n"
#~ msgstr "óËÉÄÁÎÎÑ ÚͦÓÔÕ \"ËÉÛÅΦ\" ÄÏ stderr...\n"
#~ msgid "Dumping a buffer to stderr...\n"
#~ msgstr "óËÉÄÁÎÎÑ ÂÕÆÅÒÕ ÄÏ stderr...\n"
#~ msgid ""
#~ "\n"
#~ "The -p flag now invokes the Pico \"preserve\" flag.\n"

1603
po/zh_TW.po Normal file

File diff suppressed because it is too large Load Diff

1040
search.c

File diff suppressed because it is too large Load Diff

4
src/.cvsignore Normal file
View File

@@ -0,0 +1,4 @@
Makefile
Makefile.in
nano
.deps

22
src/Makefile.am Normal file
View File

@@ -0,0 +1,22 @@
DEFS= -DSYSCONFDIR=\"$(sysconfdir)\"
localedir = $(datadir)/locale
INCLUDES = -Iintl -DLOCALEDIR=\"$(localedir)\" -I@includedir@
ACLOCAL_AMFLAGS = -I m4
bin_PROGRAMS = nano
nano_SOURCES = color.c \
cut.c \
files.c \
global.c \
move.c \
nano.c \
nano.h \
proto.h \
rcfile.c \
search.c \
utils.c \
winio.c
nano_LDADD = @GLIB_LIBS@ @LIBINTL@

View File

@@ -2,7 +2,7 @@
/**************************************************************************
* color.c *
* *
* Copyright (C) 1999-2003 Chris Allegretta *
* Copyright (C) 1999-2004 Chris Allegretta *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) *
@@ -39,14 +39,14 @@ void set_colorpairs(void)
{
const syntaxtype *this_syntax = syntaxes;
for(; this_syntax != NULL; this_syntax = this_syntax->next) {
for (; this_syntax != NULL; this_syntax = this_syntax->next) {
colortype *this_color = this_syntax->color;
int color_pair = 1;
for(; this_color != NULL; this_color = this_color->next) {
for (; this_color != NULL; this_color = this_color->next) {
const colortype *beforenow = this_syntax->color;
for(; beforenow != NULL && beforenow != this_color &&
for (; beforenow != NULL && beforenow != this_color &&
(beforenow->fg != this_color->fg ||
beforenow->bg != this_color->bg ||
beforenow->bright != this_color->bright);
@@ -91,7 +91,7 @@ void do_colorinit(void)
init_pair(tmpcolor->pairnum, tmpcolor->fg, background);
#ifdef DEBUG
fprintf(stderr, _("Running %s with fg = %d and bg = %d\n"),
fprintf(stderr, "Running %s with fg = %d and bg = %d\n",
"init_pair()", tmpcolor->fg, tmpcolor->bg);
#endif
}
@@ -109,7 +109,7 @@ void update_color(void)
for (e = tmpsyntax->extensions; e != NULL; e = e->next) {
/* Set colorstrings if we matched the extension regex */
if (!regexec(&e->val, filename, 0, NULL, 0))
if (regexec(&e->val, filename, 0, NULL, 0) == 0)
colorstrings = tmpsyntax->color;
if (colorstrings != NULL)
@@ -119,7 +119,7 @@ void update_color(void)
/* if we haven't found a match, use the override string */
if (colorstrings == NULL && syntaxstr != NULL) {
for (tmpsyntax = syntaxes; tmpsyntax != NULL;
for (tmpsyntax = syntaxes; tmpsyntax != NULL;
tmpsyntax = tmpsyntax->next) {
if (!strcasecmp(tmpsyntax->desc, syntaxstr))
colorstrings = tmpsyntax->color;

View File

@@ -2,7 +2,7 @@
/**************************************************************************
* cut.c *
* *
* Copyright (C) 1999-2003 Chris Allegretta *
* Copyright (C) 1999-2004 Chris Allegretta *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) *
@@ -28,47 +28,52 @@
#include "proto.h"
#include "nano.h"
static int marked_cut; /* Is the cutbuffer from a mark? */
static int keep_cutbuffer = FALSE;
/* Should we keep the contents of the cutbuffer? */
static int marked_cut;
/* Is the cutbuffer from a mark? 0 means whole-line cut, 1
* means mark, and 2 means cut-from-cursor. */
#ifndef NANO_SMALL
static int concatenate_cut; /* Should we add this cut string to the
end of the last one? */
static int concatenate_cut;
/* Should we add this cut string to the end of the last one? */
#endif
static filestruct *cutbottom = NULL;
/* Pointer to end of cutbuffer */
/* Pointer to end of cutbuffer. */
void cutbuffer_reset(void)
{
keep_cutbuffer = FALSE;
}
filestruct *get_cutbottom(void)
{
return cutbottom;
}
void add_to_cutbuffer(filestruct *inptr)
void add_to_cutbuffer(filestruct *inptr, int allow_concat)
{
#ifdef DEBUG
fprintf(stderr, _("add_to_cutbuffer() called with inptr->data = %s\n"),
inptr->data);
fprintf(stderr, "add_to_cutbuffer(): inptr->data = %s\n", inptr->data);
#endif
if (cutbuffer == NULL) {
if (cutbuffer == NULL)
cutbuffer = inptr;
inptr->prev = NULL;
#ifndef NANO_SMALL
} else if (concatenate_cut && !ISSET(JUSTIFY_MODE)) {
else if (allow_concat && concatenate_cut) {
/* Just tack the text in inptr onto the text in cutbottom,
unless we're backing up lines while justifying text. */
* unless allow_concat is false. */
cutbottom->data = charealloc(cutbottom->data,
strlen(cutbottom->data) + strlen(inptr->data) + 1);
strcat(cutbottom->data, inptr->data);
return;
}
#endif
} else {
else {
cutbottom->next = inptr;
inptr->prev = cutbottom;
}
inptr->next = NULL;
cutbottom = inptr;
cutbottom->next = NULL;
}
#ifndef NANO_SMALL
@@ -78,112 +83,115 @@ void add_to_cutbuffer(filestruct *inptr)
* last cut line has length bot_x. That is, if bot_x > 0 then we cut to
* bot->data[bot_x - 1].
*
* destructive is whether to actually modify the file structure, if not
* then just copy the buffer into cutbuffer and don't pull it from the
* file.
* We maintain totsize, totlines, filebot, the magicline, and line
* numbers. Also, we set current and current_x so the cursor will be on
* the first character after what was cut. We do not do any screen
* updates.
*
* If destructive, then we maintain totsize, totlines, filebot, the
* magic line, and line numbers. Also, we set current and current_x so
* the cursor will be on the first character after what was cut. We do
* not do any screen updates. */
void cut_marked_segment(filestruct *top, size_t top_x, filestruct *bot,
size_t bot_x, int destructive)
* Note cutbuffer might not be NULL if cut to end is used. */
void cut_marked_segment(void)
{
filestruct *tmp, *next;
filestruct *top;
filestruct *bot;
filestruct *tmp;
size_t top_x;
size_t bot_x;
size_t newsize;
if (top == bot && top_x == bot_x)
/* If the mark doesn't cover any text, get out. */
if (current == mark_beginbuf && current_x == mark_beginx)
return;
assert(top != NULL && bot != NULL);
assert(current != NULL && mark_beginbuf != NULL);
/* Make top be no later than bot. */
if (top->lineno > bot->lineno) {
filestruct *swap = top;
int swap2 = top_x;
/* Set up the top and bottom lines and coordinates of the marked
* text. */
mark_order((const filestruct **)&top, &top_x,
(const filestruct **)&bot, &bot_x);
top = bot;
bot = swap;
top_x = bot_x;
bot_x = swap2;
} else if (top == bot && top_x > bot_x) {
/* And bot_x can't be an earlier character than top_x. */
int swap = top_x;
top_x = bot_x;
bot_x = swap;
}
/* Make the first cut line manually. */
/* Make the first cut line manually. Move the cut part of the top
* line into tmp, and set newsize to that partial line's length. */
tmp = copy_node(top);
newsize = (top == bot ? bot_x - top_x : strlen(top->data + top_x));
memmove(tmp->data, top->data + top_x, newsize);
charmove(tmp->data, tmp->data + top_x, newsize);
null_at(&tmp->data, newsize);
add_to_cutbuffer(tmp);
/* And make the remainder line manually too. */
if (destructive) {
current_x = top_x;
totsize -= newsize;
totlines -= bot->lineno - top->lineno;
newsize = top_x + strlen(bot->data + bot_x) + 1;
if (top == bot) {
/* In this case, the remainder line is shorter, so we must
move text from the end forward first. */
memmove(top->data + top_x, bot->data + bot_x,
newsize - top_x);
top->data = charealloc(top->data, newsize);
} else {
totsize -= bot_x + 1;
/* Here, the remainder line might get longer, so we
realloc() it first. */
top->data = charealloc(top->data, newsize);
memmove(top->data + top_x, bot->data + bot_x,
newsize - top_x);
}
/* Add the contents of tmp to the cutbuffer. Note that cutbuffer
* might be non-NULL if we have cut to end enabled. */
if (cutbuffer == NULL) {
cutbuffer = tmp;
cutbottom = tmp;
} else {
cutbottom->next = tmp;
tmp->prev = cutbottom;
cutbottom = tmp;
}
/* And make the top remainder line manually too. Update current_x
* and totlines to account for all the cut text, and update totsize
* to account for the length of the cut part of the first line. */
current_x = top_x;
totsize -= newsize;
totlines -= bot->lineno - top->lineno;
/* Now set newsize to be the length of the top remainder line plus
* the bottom remainder line, plus one for the null terminator. */
newsize = top_x + strlen(bot->data + bot_x) + 1;
if (top == bot) {
/* In this case, we're only cutting one line or part of one
* line, so the remainder line is shorter. This means that we
* must move text from the end forward first. */
charmove(top->data + top_x, bot->data + bot_x, newsize - top_x);
top->data = charealloc(top->data, newsize);
cutbottom->next = NULL;
#ifdef DEBUG
dump_buffer(cutbuffer);
#endif
return;
}
tmp = top->next;
while (tmp != bot) {
next = tmp->next;
if (!destructive)
tmp = copy_node(tmp);
else
totsize -= strlen(tmp->data) + 1;
add_to_cutbuffer(tmp);
tmp = next;
}
/* Update totsize to account for the cut part of the last line. */
totsize -= bot_x + 1;
/* Here, the top remainder line might get longer (if the bottom
* remainder line is added to the end of it), so we realloc() it
* first. */
top->data = charealloc(top->data, newsize);
charmove(top->data + top_x, bot->data + bot_x, newsize - top_x);
assert(cutbottom != NULL && cutbottom->next != NULL);
/* We're cutting multiple lines, so in particular the next line is
* cut too. */
cutbottom->next->prev = cutbottom;
/* Update totsize to account for all the complete lines that have
* been cut. After this, totsize is fully up to date. */
for (tmp = top->next; tmp != bot; tmp = tmp->next)
totsize -= strlen(tmp->data) + 1;
/* Make the last cut line manually. */
tmp = copy_node(bot);
null_at(&tmp->data, bot_x);
add_to_cutbuffer(tmp);
#ifdef DEBUG
dump_buffer(cutbuffer);
#endif
null_at(&bot->data, bot_x);
if (destructive) {
top->next = bot->next;
if (top->next != NULL)
top->next->prev = top;
delete_node(bot);
renumber(top);
current = top;
if (bot == filebot) {
filebot = top;
assert(bot_x == 0);
if (top_x > 0)
new_magicline();
}
/* Move the rest of the cut text (other than the cut part of the top
* line) from the buffer to the end of the cutbuffer, and fix the
* edit buffer to account for the cut text. */
top->next = bot->next;
cutbottom = bot;
cutbottom->next = NULL;
if (top->next != NULL)
top->next->prev = top;
renumber(top);
current = top;
/* If the bottom line of the cut was the magicline, set filebot
* properly, and add a new magicline if the top remainder line
* (which is now the new bottom line) is non-blank. */
if (bot == filebot) {
filebot = top;
assert(bot_x == 0);
if (top_x > 0)
new_magicline();
}
#ifdef DEBUG
dump_buffer(cutbuffer);
@@ -194,28 +202,25 @@ void cut_marked_segment(filestruct *top, size_t top_x, filestruct *bot,
int do_cut_text(void)
{
filestruct *fileptr;
#ifndef NANO_SMALL
int dontupdate = 0;
#endif
assert(current != NULL && current->data != NULL);
check_statblank();
if (!ISSET(KEEP_CUTBUFFER)) {
if (!keep_cutbuffer) {
free_filestruct(cutbuffer);
cutbuffer = NULL;
marked_cut = 0;
#ifndef NANO_SMALL
concatenate_cut = 0;
concatenate_cut = FALSE;
#endif
#ifdef DEBUG
fprintf(stderr, _("Blew away cutbuffer =)\n"));
fprintf(stderr, "Blew away cutbuffer =)\n");
#endif
}
/* You can't cut the magic line except with the mark. But
trying does clear the cutbuffer if KEEP_CUTBUFFER is not set. */
/* You can't cut the magicline except with the mark. But trying
* does clear the cutbuffer if keep_cutbuffer is FALSE. */
if (current == filebot
#ifndef NANO_SMALL
&& !ISSET(MARK_ISSET)
@@ -223,7 +228,7 @@ int do_cut_text(void)
)
return 0;
SET(KEEP_CUTBUFFER);
keep_cutbuffer = TRUE;
#ifndef NANO_SMALL
if (ISSET(CUT_TO_END) && !ISSET(MARK_ISSET)) {
@@ -231,13 +236,14 @@ int do_cut_text(void)
if (current->data[current_x] == '\0') {
/* If the line is empty and we didn't just cut a non-blank
line, create a dummy line and add it to the cutbuffer */
* line, create a dummy blank line and add it to the
* cutbuffer. */
if (marked_cut != 1 && current->next != filebot) {
filestruct *junk = make_new_node(current);
junk->data = charalloc(1);
junk->data = charalloc(1);
junk->data[0] = '\0';
add_to_cutbuffer(junk);
add_to_cutbuffer(junk, TRUE);
#ifdef DEBUG
dump_buffer(cutbuffer);
#endif
@@ -251,33 +257,22 @@ int do_cut_text(void)
mark_beginx = strlen(current->data);
mark_beginbuf = current;
dontupdate = 1;
}
}
if (ISSET(MARK_ISSET)) {
/* Don't do_update() and move the screen position if the marked
area lies entirely within the screen buffer */
dontupdate |= current->lineno >= edittop->lineno &&
current->lineno <= editbot->lineno &&
mark_beginbuf->lineno >= edittop->lineno &&
mark_beginbuf->lineno <= editbot->lineno;
cut_marked_segment(current, current_x, mark_beginbuf,
mark_beginx, 1);
cut_marked_segment();
placewewant = xplustabs();
UNSET(MARK_ISSET);
/* If we just did a marked cut of part of a line, we should add
the first line of any cut done immediately afterward to the
end of this cut, as Pico does. */
* the first line of any cut done immediately afterward to the
* end of this cut, as Pico does. */
if (current == mark_beginbuf && current_x < strlen(current->data))
concatenate_cut = 1;
concatenate_cut = TRUE;
marked_cut = 1;
if (dontupdate)
edit_refresh();
else
edit_update(current, CENTER);
edit_refresh();
set_modified();
return 1;
@@ -289,7 +284,7 @@ int do_cut_text(void)
fileptr = current;
current = current->next;
current->prev = fileptr->prev;
add_to_cutbuffer(fileptr);
add_to_cutbuffer(fileptr, TRUE);
#ifdef DEBUG
dump_buffer(cutbuffer);
#endif
@@ -308,29 +303,28 @@ int do_cut_text(void)
set_modified();
marked_cut = 0;
#ifndef NANO_SMALL
concatenate_cut = 0;
concatenate_cut = FALSE;
#endif
placewewant = 0;
return 1;
}
int do_uncut_text(void)
{
filestruct *tmp = current, *fileptr = current;
filestruct *newbuf = NULL, *newend = NULL;
char *tmpstr, *tmpstr2;
filestruct *hold = current;
int i;
filestruct *tmp = current;
filestruct *newbuf = NULL;
filestruct *newend = NULL;
#ifndef DISABLE_WRAPPING
wrap_reset();
#endif
check_statblank();
if (cutbuffer == NULL || fileptr == NULL)
if (cutbuffer == NULL || current == NULL)
return 0; /* AIEEEEEEEEEEEE */
/* If we're uncutting a previously non-marked block, uncut to end if
we're not at the beginning of the line. If we are at the
beginning of the line, set placewewant to 0. Pico does both of
these. */
* we're not at the beginning of the line. If we are at the
* beginning of the line, set placewewant to 0. Pico does both of
* these. */
if (marked_cut == 0) {
if (current_x != 0)
marked_cut = 2;
@@ -339,48 +333,48 @@ int do_uncut_text(void)
}
/* If we're going to uncut on the magicline, always make a new
magicline in advance. */
* magicline in advance, as Pico does. */
if (current->next == NULL)
new_magicline();
if (marked_cut == 0 || cutbuffer->next != NULL)
{
if (marked_cut == 0 || cutbuffer->next != NULL) {
newbuf = copy_filestruct(cutbuffer);
for (newend = newbuf; newend->next != NULL && newend != NULL;
newend = newend->next)
totlines++;
}
/* Hook newbuf into fileptr */
/* Hook newbuf in at current. */
if (marked_cut != 0) {
int recenter_me = 0;
/* Should we eventually use edit_update(CENTER)? */
filestruct *hold = current;
/* If there's only one line in the cutbuffer */
/* If there's only one line in the cutbuffer... */
if (cutbuffer->next == NULL) {
size_t buf_len = strlen(cutbuffer->data);
size_t cur_len = strlen(current->data);
current->data = nrealloc(current->data, cur_len + buf_len + 1);
memmove(current->data + current_x + buf_len,
current->data = charealloc(current->data, cur_len + buf_len + 1);
charmove(current->data + current_x + buf_len,
current->data + current_x, cur_len - current_x + 1);
strncpy(current->data + current_x, cutbuffer->data, buf_len);
/* Use strncpy() to not copy the terminal '\0'. */
/* Use strncpy() to not copy the null terminator. */
current_x += buf_len;
totsize += buf_len;
placewewant = xplustabs();
update_cursor();
} else { /* yuck -- no kidding! */
} else { /* Yuck -- no kidding! */
char *tmpstr, *tmpstr2;
tmp = current->next;
/* New beginning */
/* New beginning. */
tmpstr = charalloc(current_x + strlen(newbuf->data) + 1);
strncpy(tmpstr, current->data, current_x);
strcpy(&tmpstr[current_x], newbuf->data);
totsize += strlen(newbuf->data) + strlen(newend->data) + 1;
/* New end */
/* New end. */
tmpstr2 = charalloc(strlen(newend->data) +
strlen(&current->data[current_x]) + 1);
strcpy(tmpstr2, newend->data);
@@ -399,35 +393,28 @@ int do_uncut_text(void)
newend->next = tmp;
/* If tmp isn't null, we're in the middle: update the
prev pointer. If it IS null, we're at the end; update
the filebot pointer */
/* If tmp isn't NULL, we're in the middle: update the
* prev pointer. If it IS NULL, we're at the end; update
* the filebot pointer. */
if (tmp != NULL)
tmp->prev = newend;
else {
/* Fix the editbot pointer too */
if (editbot == filebot)
editbot = newend;
filebot = newend;
new_magicline();
}
/* Now why don't we update the totsize also */
/* Now why don't we update the totsize also? */
for (tmp = current->next; tmp != newend; tmp = tmp->next)
totsize += strlen(tmp->data) + 1;
current = newend;
if (editbot->lineno < newend->lineno)
recenter_me = 1;
}
/* If marked cut == 2, that means that we're doing a cut to end
and we don't want anything else on the line, so we have to
screw up all the work we just did and separate the line.
There must be a better way to do this, but not at 1AM on a
work night. */
* and we don't want anything else on the line, so we have to
* screw up all the work we just did and separate the line.
* There must be a better way to do this, but not at 1 AM on a
* work night. */
if (marked_cut == 2) {
tmp = make_new_node(current);
tmp->data = mallocstrcpy(NULL, current->data + current_x);
@@ -437,7 +424,7 @@ int do_uncut_text(void)
current_x = 0;
placewewant = 0;
/* Extra line added, update stuff */
/* Extra line added; update stuff. */
totlines++;
totsize++;
}
@@ -449,41 +436,32 @@ int do_uncut_text(void)
dump_buffer(cutbuffer);
#endif
set_modified();
if (recenter_me)
edit_update(current, CENTER);
else
edit_refresh();
edit_refresh();
return 0;
}
if (fileptr != fileage) {
tmp = fileptr->prev;
if (current != fileage) {
tmp = current->prev;
tmp->next = newbuf;
newbuf->prev = tmp;
} else
fileage = newbuf;
totlines++; /* Unmarked uncuts don't split lines */
totlines++; /* Unmarked uncuts don't split lines. */
/* This is so uncutting at the top of the buffer will work => */
if (current_y == 0)
edittop = newbuf;
/* Connect the end of the buffer to the filestruct */
newend->next = fileptr;
fileptr->prev = newend;
/* Connect the end of the buffer to the filestruct. */
newend->next = current;
current->prev = newend;
/* Recalculate size *sigh* */
for (tmp = newbuf; tmp != fileptr; tmp = tmp->next)
for (tmp = newbuf; tmp != current; tmp = tmp->next)
totsize += strlen(tmp->data) + 1;
i = editbot->lineno;
renumber(newbuf);
/* Center the screen if we've moved beyond the line numbers of both
the old and new editbots */
if (i < newend->lineno && editbot->lineno < newend->lineno)
edit_update(fileptr, CENTER);
else
edit_refresh();
edit_refresh();
#ifdef DEBUG
dump_buffer_reverse();

File diff suppressed because it is too large Load Diff

1201
src/global.c Normal file

File diff suppressed because it is too large Load Diff

302
src/move.c Normal file
View File

@@ -0,0 +1,302 @@
/* $Id$ */
/**************************************************************************
* move.c *
* *
* Copyright (C) 1999-2004 Chris Allegretta *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) *
* any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
* *
**************************************************************************/
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
#include "proto.h"
#include "nano.h"
int do_first_line(void)
{
int old_pww = placewewant;
current = fileage;
placewewant = 0;
current_x = 0;
if (edittop != fileage || need_vertical_update(old_pww))
edit_update(current, TOP);
return 1;
}
int do_last_line(void)
{
int old_pww = placewewant;
current = filebot;
placewewant = 0;
current_x = 0;
if (edittop->lineno + (editwinrows / 2) != filebot->lineno ||
need_vertical_update(old_pww))
edit_update(current, CENTER);
return 1;
}
int do_home(void)
{
int old_pww = placewewant;
#ifndef NANO_SMALL
if (ISSET(SMART_HOME)) {
int old_current_x = current_x;
for (current_x = 0; isblank(current->data[current_x]) &&
current->data[current_x] != '\0'; current_x++)
;
if (current_x == old_current_x || current->data[current_x] == '\0')
current_x = 0;
placewewant = xplustabs();
} else {
#endif
current_x = 0;
placewewant = 0;
#ifndef NANO_SMALL
}
#endif
check_statblank();
if (need_horizontal_update(old_pww))
update_line(current, current_x);
return 1;
}
int do_end(void)
{
int old_pww = placewewant;
current_x = strlen(current->data);
placewewant = xplustabs();
check_statblank();
if (need_horizontal_update(old_pww))
update_line(current, current_x);
return 1;
}
int do_page_up(void)
{
int old_pww = placewewant;
const filestruct *old_current = current;
#ifndef DISABLE_WRAPPING
wrap_reset();
#endif
/* If the first line of the file is onscreen, move current up there
* and put the cursor at the beginning of the line. */
if (edittop == fileage) {
current = fileage;
placewewant = 0;
} else {
edit_scroll(UP, editwinrows - 2);
#ifndef NANO_SMALL
/* If we're in smooth scrolling mode and there's at least one
* page of text left, move the current line of the edit window
* up a page. */
if (ISSET(SMOOTHSCROLL) && current->lineno > editwinrows - 2) {
int i;
for (i = 0; i < editwinrows - 2; i++)
current = current->prev;
}
/* If we're not in smooth scrolling mode or there isn't at least
* one page of text left, put the cursor at the beginning of the
* top line of the edit window, as Pico does. */
else {
#endif
current = edittop;
placewewant = 0;
#ifndef NANO_SMALL
}
#endif
}
/* Get the equivalent x-coordinate of the new line. */
current_x = actual_x(current->data, placewewant);
/* Update all the lines that need to be updated. */
edit_redraw(old_current, old_pww);
check_statblank();
return 1;
}
int do_page_down(void)
{
int old_pww = placewewant;
const filestruct *old_current = current;
#ifndef DISABLE_WRAPPING
wrap_reset();
#endif
/* If the last line of the file is onscreen, move current down
* there and put the cursor at the beginning of the line. */
if (edittop->lineno + editwinrows > filebot->lineno) {
current = filebot;
placewewant = 0;
} else {
edit_scroll(DOWN, editwinrows - 2);
#ifndef NANO_SMALL
/* If we're in smooth scrolling mode and there's at least one
* page of text left, move the current line of the edit window
* down a page. */
if (ISSET(SMOOTHSCROLL) && current->lineno + editwinrows - 2 <=
filebot->lineno) {
int i;
for (i = 0; i < editwinrows - 2; i++)
current = current->next;
}
/* If we're not in smooth scrolling mode or there isn't at least
* one page of text left, put the cursor at the beginning of the
* top line of the edit window, as Pico does. */
else {
#endif
current = edittop;
placewewant = 0;
#ifndef NANO_SMALL
}
#endif
}
/* Get the equivalent x-coordinate of the new line. */
current_x = actual_x(current->data, placewewant);
/* Update all the lines that need to be updated. */
edit_redraw(old_current, old_pww);
check_statblank();
return 1;
}
int do_up(void)
{
#ifndef DISABLE_WRAPPING
wrap_reset();
#endif
check_statblank();
if (current->prev == NULL)
return 0;
assert(current_y == current->lineno - edittop->lineno);
current = current->prev;
current_x = actual_x(current->data, placewewant);
/* If we're on the first row of the edit window, scroll up one line
* if we're in smooth scrolling mode, or up half a page if we're
* not. */
if (current_y == 0)
edit_scroll(UP,
#ifndef NANO_SMALL
ISSET(SMOOTHSCROLL) ? 1 :
#endif
editwinrows / 2);
/* Update the lines left alone by edit_scroll(): the line we were on
* before and the line we're on now. The former needs to be redrawn
* if we're not on the first page, and the latter needs to be
* drawn. */
if (need_vertical_update(0))
update_line(current->next, 0);
update_line(current, current_x);
return 1;
}
/* Return value 1 means we moved down, 0 means we were already at the
* bottom. */
int do_down(void)
{
#ifndef DISABLE_WRAPPING
wrap_reset();
#endif
check_statblank();
if (current->next == NULL)
return 0;
assert(current_y == current->lineno - edittop->lineno);
current = current->next;
current_x = actual_x(current->data, placewewant);
/* If we're on the last row of the edit window, scroll down one line
* if we're in smooth scrolling mode, or down half a page if we're
* not. */
if (current_y == editwinrows - 1)
edit_scroll(DOWN,
#ifndef NANO_SMALL
ISSET(SMOOTHSCROLL) ? 1 :
#endif
editwinrows / 2);
/* Update the lines left alone by edit_scroll(): the line we were on
* before and the line we're on now. The former needs to be redrawn
* if we're not on the first page, and the latter needs to be
* drawn. */
if (need_vertical_update(0))
update_line(current->prev, 0);
update_line(current, current_x);
return 1;
}
int do_left(int allow_update)
{
int old_pww = placewewant;
if (current_x > 0)
current_x--;
else if (current != fileage) {
do_up();
current_x = strlen(current->data);
}
placewewant = xplustabs();
check_statblank();
if (allow_update && need_horizontal_update(old_pww))
update_line(current, current_x);
return 1;
}
int do_left_void(void)
{
return do_left(TRUE);
}
int do_right(int allow_update)
{
int old_pww = placewewant;
assert(current_x <= strlen(current->data));
if (current->data[current_x] != '\0')
current_x++;
else if (current->next != NULL) {
do_down();
current_x = 0;
}
placewewant = xplustabs();
check_statblank();
if (allow_update && need_horizontal_update(old_pww))
update_line(current, current_x);
return 1;
}
int do_right_void(void)
{
return do_right(TRUE);
}

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
/**************************************************************************
* nano.h *
* *
* Copyright (C) 1999-2003 Chris Allegretta *
* Copyright (C) 1999-2004 Chris Allegretta *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) *
@@ -19,39 +19,51 @@
* *
**************************************************************************/
#ifndef NANO_H
#define NANO_H 1
#ifdef __TANDEM
/* Tandem NonStop Kernel */
#include <floss.h>
#define NANO_ROOT_UID 65535
#else
#define NANO_ROOT_UID 0
#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
#ifndef NANO_H
#define NANO_H 1
/* Macros for the flags int... */
#define SET(bit) flags |= bit
#define UNSET(bit) flags &= ~bit
#define ISSET(bit) (flags & bit)
#define ISSET(bit) ((flags & bit) != 0)
#define TOGGLE(bit) flags ^= bit
/* Define charalloc as a macro rather than duplicating code */
#define charalloc(howmuch) (char *)nmalloc((howmuch) * sizeof(char))
#define charealloc(ptr, howmuch) (char *)nrealloc(ptr, (howmuch) * sizeof(char))
#define charmove(dest, src, n) memmove(dest, src, (n) * sizeof(char))
#ifdef BROKEN_REGEXEC
#define regexec(preg, string, nmatch, pmatch, eflags) regexec_safe(preg, string, nmatch, pmatch, eflags)
#endif
#ifndef NANO_SMALL
/* For the backup file copy ... */
# define COPYFILEBLOCKSIZE 1024
/* For the backup file copy ... */
#define COPYFILEBLOCKSIZE 1024
#endif
#ifdef USE_SLANG /* Slang support enabled */
#ifdef USE_SLANG
/* Slang support enabled. */
#include <slcurses.h>
#define KEY_IC SL_KEY_IC
/* Slang curses emulation brain damage, part 2: Slang doesn't define the
* curses equivalents of the Insert or Delete keys. */
#define KEY_DC SL_KEY_DELETE
#define KEY_IC SL_KEY_IC
#elif defined(HAVE_NCURSES_H)
#include <ncurses.h>
#else /* Uh oh */
#include <curses.h>
#else /* Uh oh. */
#include <curses.h>
#endif /* CURSES_H */
#ifdef ENABLE_NLS
@@ -69,52 +81,62 @@
#include <sys/stat.h>
#include "config.h"
/* If no snprintf()/vsnprintf(), use the versions from glib. */
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
#include <glib.h>
# ifndef HAVE_SNPRINTF
# define snprintf g_snprintf
# define snprintf g_snprintf
# endif
# ifndef HAVE_VSNPRINTF
# define vsnprintf g_vsnprintf
# define vsnprintf g_vsnprintf
# endif
#endif
/* If no isblank(), strcasecmp(), strncasecmp(), strcasestr(), or
* strnlen(), use the versions we have. */
#ifndef HAVE_ISBLANK
#define isblank is_blank_char
#endif
#ifndef HAVE_STRCASECMP
#define strcasecmp strcmp
#define strcasecmp nstricmp
#endif
#ifndef HAVE_STRNCASECMP
#define strncasecmp strncmp
#define strncasecmp nstrnicmp
#endif
/* HP-UX 10 & 11 do not seem to support KEY_HOME and KEY_END */
#ifndef KEY_HOME
#define KEY_HOME -1
#endif /* KEY_HOME */
#ifndef HAVE_STRCASESTR
#define strcasestr nstristr
#endif
#ifndef KEY_END
#define KEY_END -1
#endif /* KEY_END */
#ifndef HAVE_STRNLEN
#define strnlen nstrnlen
#endif
/* Snatch these out of the ncurses defs, so we can use them in search
history regardless of whether we're using ncurses or not */
#if !defined(KEY_UP) || !defined(KEY_DOWN)
#define KEY_UP 0403
#define KEY_DOWN 0402
#endif /* !KEY_UP || !KEY_DOWN */
/* Assume ERR is defined as -1. To avoid duplicate case values when
* some key definitions are missing, we have to set all of these, and
* all of the special sentinel values below, to different negative
* values other than -1. */
#define VERMSG "GNU nano " VERSION
/* If we aren't using ncurses, turn the mouse support off, as it's
* ncurses-specific. */
#ifndef NCURSES_MOUSE_VERSION
#define DISABLE_MOUSE 1
#endif
#if defined(DISABLE_WRAPPING) && defined(DISABLE_JUSTIFY)
#define DISABLE_WRAPJUSTIFY 1
#endif
/* Structure types */
/* Structure types. */
typedef struct filestruct {
char *data;
struct filestruct *next; /* Next node */
struct filestruct *prev; /* Previous node */
int lineno; /* The line number */
struct filestruct *next; /* Next node. */
struct filestruct *prev; /* Previous node. */
int lineno; /* The line number. */
} filestruct;
#ifdef ENABLE_MULTIBUFFER
@@ -123,49 +145,56 @@ typedef struct openfilestruct {
#ifndef NANO_SMALL
struct stat originalfilestat;
#endif
struct openfilestruct *next; /* Next node */
struct openfilestruct *prev; /* Previous node */
struct filestruct *fileage; /* Current file */
struct filestruct *filebot; /* Current file's last line */
struct openfilestruct *next; /* Next node. */
struct openfilestruct *prev; /* Previous node. */
struct filestruct *fileage; /* Current file. */
struct filestruct *filebot; /* Current file's last line. */
#ifndef NANO_SMALL
struct filestruct *file_mark_beginbuf;
/* Current file's beginning marked line */
int file_mark_beginx; /* Current file's beginning marked line's
x-coordinate position */
/* Current file's beginning marked
* line. */
int file_mark_beginx; /* Current file's beginning marked
* line's x-coordinate position. */
#endif
int file_current_x; /* Current file's x-coordinate position */
int file_current_y; /* Current file's y-coordinate position */
int file_current_x; /* Current file's x-coordinate
* position. */
int file_current_y; /* Current file's y-coordinate
* position. */
int file_flags; /* Current file's flags: modification
status (and marking status, if
available) */
int file_placewewant; /* Current file's place we want */
int file_totlines; /* Current file's total number of lines */
long file_totsize; /* Current file's total size */
int file_lineno; /* Current file's line number */
* status (and marking status, if
* available). */
int file_placewewant; /* Current file's place we want. */
int file_totlines; /* Current file's total number of
* lines. */
long file_totsize; /* Current file's total size. */
int file_lineno; /* Current file's line number. */
} openfilestruct;
#endif
typedef struct shortcut {
int val; /* Actual sequence that generates the keystroke */
int altval; /* Alt key # for this function, or 0 for none */
int misc1; /* Other int functions we want bound */
int misc2;
int viewok; /* is this function legal in view mode? */
int (*func) (void); /* Function to call when we catch this key */
const char *desc; /* Description, e.g. "Page Up" */
/* Key values that aren't used should be set to NANO_NO_KEY. */
int ctrlval; /* Special sentinel key or control key we want
* bound. */
int metaval; /* Meta key we want bound. */
int funcval; /* Function key we want bound. */
int miscval; /* Other Meta key we want bound. */
int viewok; /* Is this function legal in view mode? */
int (*func) (void); /* Function to call when we catch this key. */
const char *desc; /* Description, e.g. "Page Up". */
#ifndef DISABLE_HELP
const char *help; /* Help file entry text */
const char *help; /* Help file entry text. */
#endif
struct shortcut *next;
struct shortcut *next;
} shortcut;
#ifndef NANO_SMALL
typedef struct toggle {
int val; /* Sequence to toggle the key. Should only need 1 */
int val; /* Sequence to toggle the key. Should only need
* one. */
const char *desc; /* Description for when toggle is, uh, toggled,
e.g. "Pico Messages"; we'll append Enabled or
Disabled */
int flag; /* What flag actually gets toggled */
* e.g. "Cut to end"; we'll append Enabled or
* Disabled. */
int flag; /* What flag actually gets toggled. */
struct toggle *next;
} toggle;
#endif /* !NANO_SMALL */
@@ -210,8 +239,10 @@ typedef struct historytype {
char *data;
} historytype;
typedef struct historyheadtype {
struct historytype *next; /* keep *next and *prev members together */
struct historytype *prev; /* and in same order as in historytype */
struct historytype *next; /* Keep *next and *prev members
* together. */
struct historytype *prev; /* And in same order as in
* historytype. */
struct historytype *tail;
struct historytype *current;
int count;
@@ -219,43 +250,41 @@ typedef struct historyheadtype {
} historyheadtype;
#endif /* !NANO_SMALL */
/* Bitwise flags so we can save space (or more correctly, not waste it) */
/* Bitwise flags so we can save space (or more correctly, not waste
* it). */
#define MODIFIED (1<<0)
#define KEEP_CUTBUFFER (1<<1)
#define CASE_SENSITIVE (1<<2)
#define MARK_ISSET (1<<3)
#define CONSTUPDATE (1<<4)
#define NO_HELP (1<<5)
#define NOFOLLOW_SYMLINKS (1<<6)
#define SUSPEND (1<<7)
#define NO_WRAP (1<<8)
#define AUTOINDENT (1<<9)
#define SAMELINEWRAP (1<<10)
#define VIEW_MODE (1<<11)
#define USE_MOUSE (1<<12)
#define USE_REGEXP (1<<13)
#define REGEXP_COMPILED (1<<14)
#define TEMP_OPT (1<<15)
#define CUT_TO_END (1<<16)
#define REVERSE_SEARCH (1<<17)
#define MULTIBUFFER (1<<18)
#define DOS_FILE (1<<19)
#define MAC_FILE (1<<20)
#define SMOOTHSCROLL (1<<21)
#define DISABLE_CURPOS (1<<22) /* Damn, we still need it */
#define ALT_KEYPAD (1<<23)
#define NO_CONVERT (1<<24)
#define BACKUP_FILE (1<<25)
#define NO_RCFILE (1<<26)
#define COLOR_SYNTAX (1<<27)
#define PRESERVE (1<<28)
#define HISTORY_CHANGED (1<<29)
#define HISTORYLOG (1<<30)
#define JUSTIFY_MODE (1<<31)
/* Control key sequences, changing these would be very very bad */
#define CASE_SENSITIVE (1<<1)
#define MARK_ISSET (1<<2)
#define CONSTUPDATE (1<<3)
#define NO_HELP (1<<4)
#define NOFOLLOW_SYMLINKS (1<<5)
#define SUSPEND (1<<6)
#define NO_WRAP (1<<7)
#define AUTOINDENT (1<<8)
#define VIEW_MODE (1<<9)
#define USE_MOUSE (1<<10)
#define USE_REGEXP (1<<11)
#define TEMP_OPT (1<<12)
#define CUT_TO_END (1<<13)
#define REVERSE_SEARCH (1<<14)
#define MULTIBUFFER (1<<15)
#define DOS_FILE (1<<16)
#define MAC_FILE (1<<17)
#define SMOOTHSCROLL (1<<18)
#define DISABLE_CURPOS (1<<19) /* Damn, we still need it. */
#define REBIND_DELETE (1<<20)
#define NO_CONVERT (1<<21)
#define BACKUP_FILE (1<<22)
#define NO_RCFILE (1<<23)
#define COLOR_SYNTAX (1<<24)
#define PRESERVE (1<<25)
#define HISTORY_CHANGED (1<<26)
#define HISTORYLOG (1<<27)
#define RESTRICTED (1<<28)
#define SMART_HOME (1<<29)
#define WHITESPACE_DISPLAY (1<<30)
/* Control key sequences, changing these would be very very bad. */
#define NANO_CONTROL_SPACE 0
#define NANO_CONTROL_A 1
#define NANO_CONTROL_B 2
@@ -283,11 +312,12 @@ typedef struct historyheadtype {
#define NANO_CONTROL_X 24
#define NANO_CONTROL_Y 25
#define NANO_CONTROL_Z 26
#define NANO_CONTROL_3 27
#define NANO_CONTROL_4 28
#define NANO_CONTROL_5 29
#define NANO_CONTROL_6 30
#define NANO_CONTROL_7 31
#define NANO_CONTROL_8 127
#define NANO_ALT_A 'a'
#define NANO_ALT_B 'b'
@@ -319,16 +349,23 @@ typedef struct historyheadtype {
#define NANO_ALT_COMMA ','
#define NANO_ALT_LCARAT '<'
#define NANO_ALT_RCARAT '>'
#define NANO_ALT_BRACKET ']'
#define NANO_ALT_RBRACKET ']'
#define NANO_ALT_SPACE ' '
/* Some semi-changeable keybindings; don't play with unless you're sure you
know what you're doing */
/* Some semi-changeable keybindings; don't play with these unless you're
* sure you know what you're doing. Assume ERR is defined as -1. */
/* No key at all. */
#define NANO_NO_KEY -2
/* Special sentinel key used for search/replace history. */
#define NANO_HISTORY_KEY -3
/* Normal keys. */
#define NANO_INSERTFILE_KEY NANO_CONTROL_R
#define NANO_INSERTFILE_FKEY KEY_F(5)
#define NANO_EXIT_KEY NANO_CONTROL_X
#define NANO_EXIT_FKEY KEY_F(2)
#define NANO_EXIT_KEY NANO_CONTROL_X
#define NANO_EXIT_FKEY KEY_F(2)
#define NANO_WRITEOUT_KEY NANO_CONTROL_O
#define NANO_WRITEOUT_FKEY KEY_F(3)
#define NANO_GOTO_KEY NANO_CONTROL_7
@@ -338,6 +375,7 @@ know what you're doing */
#define NANO_HELP_FKEY KEY_F(1)
#define NANO_WHEREIS_KEY NANO_CONTROL_W
#define NANO_WHEREIS_FKEY KEY_F(6)
#define NANO_WHEREIS_NEXT_KEY NANO_ALT_W
#define NANO_REPLACE_KEY NANO_CONTROL_4
#define NANO_REPLACE_FKEY KEY_F(14)
#define NANO_ALT_REPLACE_KEY NANO_ALT_R
@@ -355,14 +393,17 @@ know what you're doing */
#define NANO_SPELL_KEY NANO_CONTROL_T
#define NANO_SPELL_FKEY KEY_F(12)
#define NANO_FIRSTLINE_KEY NANO_PREVPAGE_KEY
#define NANO_FIRSTLINE_FKEY NANO_PREVPAGE_FKEY
#define NANO_LASTLINE_KEY NANO_NEXTPAGE_KEY
#define NANO_LASTLINE_FKEY NANO_NEXTPAGE_FKEY
#define NANO_CANCEL_KEY NANO_CONTROL_C
#define NANO_REFRESH_KEY NANO_CONTROL_L
#define NANO_JUSTIFY_KEY NANO_CONTROL_J
#define NANO_JUSTIFY_FKEY KEY_F(4)
#define NANO_UNJUSTIFY_KEY NANO_CONTROL_U
#define NANO_UP_KEY NANO_CONTROL_P
#define NANO_DOWN_KEY NANO_CONTROL_N
#define NANO_UNJUSTIFY_KEY NANO_UNCUT_KEY /* Same key as uncut. */
#define NANO_UNJUSTIFY_FKEY NANO_UNCUT_FKEY /* Same key as uncut. */
#define NANO_PREVLINE_KEY NANO_CONTROL_P
#define NANO_NEXTLINE_KEY NANO_CONTROL_N
#define NANO_FORWARD_KEY NANO_CONTROL_F
#define NANO_BACK_KEY NANO_CONTROL_B
#define NANO_MARK_KEY NANO_CONTROL_6
@@ -382,10 +423,14 @@ know what you're doing */
#define NANO_OPENNEXT_KEY NANO_ALT_RCARAT
#define NANO_OPENPREV_ALTKEY NANO_ALT_COMMA
#define NANO_OPENNEXT_ALTKEY NANO_ALT_PERIOD
#define NANO_BRACKET_KEY NANO_ALT_BRACKET
#define NANO_BRACKET_KEY NANO_ALT_RBRACKET
#define NANO_EXTCMD_KEY NANO_CONTROL_X
#define NANO_NEXTWORD_KEY NANO_CONTROL_SPACE
#define NANO_PREVWORD_KEY NANO_ALT_SPACE
#define NANO_PARABEGIN_KEY NANO_CONTROL_W
#define NANO_PARAEND_KEY NANO_CONTROL_O
#define NANO_FULLJUSTIFY_KEY NANO_CONTROL_J
#define NANO_VERBATIM_KEY NANO_ALT_V
#ifndef NANO_SMALL
/* Toggles do not exist with NANO_SMALL. */
@@ -396,16 +441,18 @@ know what you're doing */
#define TOGGLE_MOUSE_KEY NANO_ALT_M
#define TOGGLE_CUTTOEND_KEY NANO_ALT_K
#define TOGGLE_REGEXP_KEY NANO_ALT_R
#define TOGGLE_WRAP_KEY NANO_ALT_W
#define TOGGLE_WRAP_KEY NANO_ALT_L
#define TOGGLE_BACKWARDS_KEY NANO_ALT_B
#define TOGGLE_CASE_KEY NANO_ALT_C
#define TOGGLE_LOAD_KEY NANO_ALT_F
#define TOGGLE_MULTIBUFFER_KEY NANO_ALT_F
#define TOGGLE_DOS_KEY NANO_ALT_D
#define TOGGLE_MAC_KEY NANO_ALT_O
#define TOGGLE_SMOOTH_KEY NANO_ALT_S
#define TOGGLE_NOCONVERT_KEY NANO_ALT_N
#define TOGGLE_BACKUP_KEY NANO_ALT_B
#define TOGGLE_SYNTAX_KEY NANO_ALT_Y
#define TOGGLE_SMARTHOME_KEY NANO_ALT_H
#define TOGGLE_WHITESPACE_KEY NANO_ALT_P
#endif /* !NANO_SMALL */
#define MAIN_VISIBLE 12
@@ -414,21 +461,29 @@ know what you're doing */
#define NOVIEW 0
typedef enum {
CENTER, TOP, NONE
} topmidbotnone;
JUSTIFY, BEGIN, END
} justbegend;
/* Minimum editor window rows required for nano to work correctly */
typedef enum {
UP, DOWN
} updown;
typedef enum {
TOP, CENTER, NONE
} topmidnone;
/* Minimum editor window rows required for nano to work correctly. */
#define MIN_EDITOR_ROWS 3
/* Minimum editor window cols required for nano to work correctly */
/* Minimum editor window cols required for nano to work correctly. */
#define MIN_EDITOR_COLS 10
/* Default number of characters from end-of-line where text wrapping
occurs */
* occurs. */
#define CHARS_FROM_EOL 8
/* Maximum number of search history strings saved, same value used for
replace history */
* replace history. */
#define MAX_SEARCH_HISTORY 100
#endif /* !NANO_H */

View File

@@ -2,7 +2,7 @@
/**************************************************************************
* proto.h *
* *
* Copyright (C) 1999-2003 Chris Allegretta *
* Copyright (C) 1999-2004 Chris Allegretta *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) *
@@ -19,7 +19,7 @@
* *
**************************************************************************/
/* Externs */
/* Externs. */
#include <sys/stat.h>
@@ -29,7 +29,9 @@
#include "nano.h"
#ifndef DISABLE_WRAPJUSTIFY
extern int wrap_at;
#endif
extern int editwinrows;
extern int current_x, current_y, totlines;
extern int placewewant;
@@ -38,16 +40,27 @@ extern int mark_beginx;
#endif
extern long totsize;
extern int temp_opt;
extern int wrap_at, flags, tabsize;
extern int flags;
extern int tabsize;
extern int search_last_line;
extern int search_offscreen;
extern int currslen;
#if !defined(NANO_SMALL) && defined(ENABLE_NANORC)
extern char *whitespace;
#endif
#ifndef DISABLE_JUSTIFY
extern char *punct;
extern char *brackets;
extern char *quotestr;
#endif
extern WINDOW *edit, *topwin, *bottomwin;
#ifndef NANO_SMALL
extern char *backup_dir;
#endif
extern WINDOW *topwin, *edit, *bottomwin;
extern char *filename;
extern struct stat originalfilestat;
extern char *answer;
@@ -67,7 +80,7 @@ extern char *alt_speller;
extern int resetstatuspos;
extern struct stat fileinfo;
extern filestruct *current, *fileage, *edittop, *editbot, *filebot;
extern filestruct *current, *fileage, *edittop, *filebot;
extern filestruct *cutbuffer;
#ifndef NANO_SMALL
extern filestruct *mark_beginbuf;
@@ -101,16 +114,16 @@ extern shortcut *spell_list;
extern shortcut *browser_list, *gotodir_list;
#endif
#if !defined(DISABLE_BROWSER) || !defined(DISABLE_HELP) || (!defined(DISABLE_MOUSE) && defined(NCURSES_MOUSE_VERSION))
#if !defined(DISABLE_BROWSER) || !defined(DISABLE_HELP) || !defined(DISABLE_MOUSE)
extern const shortcut *currshortcut;
#endif
#ifdef HAVE_REGEX_H
extern regex_t search_regexp;
extern regmatch_t regmatches[10];
extern regmatch_t regmatches[10];
#ifdef ENABLE_COLOR
extern regex_t syntaxfile_regexp;
extern regmatch_t synfilematches[1];
extern regmatch_t synfilematches[1];
#endif /* ENABLE_COLOR */
#endif /* HAVE_REGEX_H */
@@ -125,7 +138,7 @@ extern historyheadtype replace_history;
extern int curses_ended;
/* Functions we want available */
/* Functions we want available. */
/* Public functions in color.c */
#ifdef ENABLE_COLOR
@@ -135,17 +148,18 @@ void update_color(void);
#endif /* ENABLE_COLOR */
/* Public functions in cut.c */
void cutbuffer_reset(void);
filestruct *get_cutbottom(void);
void add_to_cutbuffer(filestruct *inptr);
void cut_marked_segment(filestruct *top, size_t top_x, filestruct *bot,
size_t bot_x, int destructive);
void add_to_cutbuffer(filestruct *inptr, int allow_concat);
void cut_marked_segment(void);
int do_cut_text(void);
int do_uncut_text(void);
/* Public functions in files.c */
void load_file(int update);
void new_file(void);
filestruct *read_line(char *buf, filestruct *prev, int *line1ins, int len);
filestruct *read_line(char *buf, filestruct *prev, int *line1ins, size_t
len);
int read_file(FILE *f, const char *filename, int quiet);
int open_file(const char *filename, int insert, int quiet);
char *get_next_filename(const char *name);
@@ -176,8 +190,14 @@ char *safe_tempnam(const char *dirname, const char *filename_prefix);
void init_operating_dir(void);
int check_operating_dir(const char *currpath, int allow_tabcomp);
#endif
#ifndef NANO_SMALL
void init_backup_dir(void);
#endif
int write_file(const char *name, int tmp, int append, int nonamechange);
int do_writeout(const char *path, int exiting, int append);
#ifndef NANO_SMALL
int write_marked(const char *name, int tmp, int append);
#endif
int do_writeout(int exiting);
int do_writeout_void(void);
char *real_dir_from_tilde(const char *buf);
#ifndef DISABLE_TABCOMP
@@ -186,11 +206,10 @@ char **username_tab_completion(char *buf, int *num_matches);
char **cwd_tab_completion(char *buf, int *num_matches);
char *input_tab(char *buf, int place, int *lastwastab, int *newplace, int *list);
#endif
#ifndef DISABLE_BROWSER
struct stat filestat(const char *path);
int diralphasort(const void *va, const void *vb);
void free_charptrarray(char **array, int len);
const char *tail(const char *foo);
#ifndef DISABLE_BROWSER
int diralphasort(const void *va, const void *vb);
void free_charptrarray(char **array, size_t len);
void striponedir(char *foo);
int readable_dir(const char *path);
char **browser_init(const char *path, int *longest, int *numents);
@@ -204,7 +223,8 @@ void sc_init_one(shortcut **shortcutage, int key, const char *desc,
#ifndef DISABLE_HELP
const char *help,
#endif
int alt, int misc1, int misc2, int view, int (*func) (void));
int metaval, int funcval, int miscval, int view, int
(*func)(void));
#ifndef NANO_SMALL
void toggle_init_one(int val, const char *desc, int flag);
void toggle_init(void);
@@ -219,25 +239,28 @@ void thanks_for_all_the_fish(void);
#endif
/* Public functions in move.c */
int do_first_line(void);
int do_last_line(void);
int do_home(void);
int do_end(void);
void page_up(void);
int do_page_up(void);
int do_page_down(void);
int do_up(void);
int do_down(void);
int do_left(void);
int do_right(void);
int do_left(int allow_update);
int do_left_void(void);
int do_right(int allow_update);
int do_right_void(void);
/* Public functions in nano.c */
RETSIGTYPE finish(int sigage);
void finish(void);
void die(const char *msg, ...);
void die_save_file(const char *die_filename);
void die_too_small(void);
void print_view_warning(void);
void global_init(int save_cutbuffer);
void window_init(void);
#if !defined(DISABLE_MOUSE) && defined(NCURSES_MOUSE_VERSION)
#ifndef DISABLE_MOUSE
void mouse_init(void);
#endif
#ifndef DISABLE_HELP
@@ -256,43 +279,41 @@ void print1opt(const char *shortflag, const char *longflag,
const char *desc);
void usage(void);
void version(void);
void do_early_abort(void);
int no_help(void);
#if defined(DISABLE_JUSTIFY) || defined(DISABLE_SPELLER) || defined(DISABLE_HELP) || defined(NANO_SMALL)
void nano_disabled_msg(void);
#endif
int nano_disabled_msg(void);
#ifndef NANO_SMALL
RETSIGTYPE cancel_fork(int signal);
int open_pipe(const char *command);
#endif
#ifndef DISABLE_MOUSE
#ifdef NCURSES_MOUSE_VERSION
void do_mouse(void);
#endif
#endif
void do_char(char ch);
int do_verbatim_input(void);
int do_backspace(void);
int do_delete(void);
int do_tab(void);
int do_enter(void);
#ifndef NANO_SMALL
int do_next_word(void);
int do_prev_word(void);
int do_mark(void);
void wrap_reset(void);
#endif
#ifndef DISABLE_WRAPPING
void wrap_reset(void);
int do_wrap(filestruct *inptr);
#endif
#ifndef DISABLE_SPELLER
int do_int_spell_fix(const char *word);
char *do_int_speller(char *tempfile_name);
char *do_alt_speller(char *tempfile_name);
#endif
const char *do_int_speller(char *tempfile_name);
const char *do_alt_speller(char *tempfile_name);
int do_spell(void);
#endif
#if !defined(DISABLE_WRAPPING) && !defined(NANO_SMALL) || !defined(DISABLE_JUSTIFY)
size_t indent_length(const char *line);
#endif
#ifndef DISABLE_JUSTIFY
int justify_format(int changes_allowed, filestruct *line, size_t skip);
void justify_format(filestruct *line, size_t skip);
#ifdef HAVE_REGEX_H
size_t quote_length(const char *line, const regex_t *qreg);
#else
@@ -303,16 +324,22 @@ size_t quote_length(const char *line);
#else
# define IFREG(a, b) a
#endif
int quotes_match(const char *a_line, size_t a_quote,
IFREG(const char *b_line, const regex_t *qreg));
size_t indents_match(const char *a_line, size_t a_indent,
const char *b_line, size_t b_indent);
filestruct *backup_lines(filestruct *first_line, size_t par_len,
size_t quote_len);
int quotes_match(const char *a_line, size_t a_quote, IFREG(const char
*b_line, const regex_t *qreg));
size_t indents_match(const char *a_line, size_t a_indent, const char
*b_line, size_t b_indent);
filestruct *backup_lines(filestruct *first_line, size_t par_len, size_t
quote_len);
int breakable(const char *line, int goal);
int break_line(const char *line, int goal, int force);
int do_para_search(justbegend search_type, size_t *quote, size_t *par,
size_t *indent, int do_refresh);
int do_para_begin(void);
int do_para_end(void);
int do_justify(int justify_all);
int do_justify_void(void);
int do_full_justify(void);
#endif /* !DISABLE_JUSTIFY */
int do_justify(void);
int do_exit(void);
void signal_init(void);
RETSIGTYPE handle_hupterm(int signal);
@@ -320,12 +347,19 @@ RETSIGTYPE do_suspend(int signal);
RETSIGTYPE do_cont(int signal);
#ifndef NANO_SMALL
void handle_sigwinch(int s);
void allow_pending_sigwinch(int allow);
#endif
void print_numlock_warning(void);
#ifndef NANO_SMALL
void do_toggle(const toggle *which);
#endif
int abcd(int input);
#if !defined(NANO_SMALL) || defined(USE_SLANG)
void disable_signals(void);
#endif
#ifndef NANO_SMALL
void enable_signals(void);
#endif
void disable_flow_control(void);
void enable_flow_control(void);
/* Public functions in rcfile.c */
#ifdef ENABLE_NANORC
@@ -353,18 +387,21 @@ void not_found_msg(const char *str);
void search_abort(void);
void search_init_globals(void);
int search_init(int replacing);
int is_whole_word(int curr_pos, const char *datastr, const char *searchword);
filestruct *findnextstr(int quiet, int bracket_mode,
const filestruct *begin, int beginx,
const char *needle);
int is_whole_word(int curr_pos, const char *datastr, const char
*searchword);
int findnextstr(int can_display_wrap, int wholeword, const filestruct
*begin, size_t beginx, const char *needle, int no_sameline);
int do_search(void);
#ifndef NANO_SMALL
int do_research(void);
#endif
void replace_abort(void);
#ifdef HAVE_REGEX_H
int replace_regexp(char *string, int create_flag);
#endif
char *replace_line(void);
int do_replace_loop(const char *prevanswer, const filestruct *begin,
int *beginx, int wholewords, int *i);
char *replace_line(const char *needle);
int do_replace_loop(const char *needle, const filestruct *real_current,
size_t *real_current_x, int wholewords);
int do_replace(void);
int do_gotoline(int line, int save_pos);
int do_gotoline_void(void);
@@ -383,55 +420,102 @@ char *get_history_newer(historyheadtype *h);
char *get_history_completion(historyheadtype *h, char *s);
void free_history(historyheadtype *h);
#ifdef ENABLE_NANORC
void load_history(void);
void load_history(void);
void save_history(void);
#endif
#endif
/* Public functions in utils.c */
#ifdef HAVE_REGEX_H
#ifdef BROKEN_REGEXEC
int regexec_safe(const regex_t *preg, const char *string, size_t nmatch,
regmatch_t pmatch[], int eflags);
#endif
int regexp_bol_or_eol(const regex_t *preg, const char *string);
#endif
#ifndef HAVE_ISBLANK
int is_blank_char(int c);
#endif
int is_cntrl_char(int c);
int num_of_digits(int n);
void align(char **strp);
void null_at(char **data, size_t index);
void unsunder(char *str, size_t true_len);
void sunder(char *str);
#ifndef NANO_SMALL
const char *revstrstr(const char *haystack, const char *needle,
const char *rev_start);
const char *revstristr(const char *haystack, const char *needle,
const char *rev_start);
#ifndef HAVE_STRCASECMP
int nstricmp(const char *s1, const char *s2);
#endif
#ifndef HAVE_STRNCASECMP
int nstrnicmp(const char *s1, const char *s2, size_t n);
#endif
#ifndef HAVE_STRCASESTR
const char *nstristr(const char *haystack, const char *needle);
#endif
#ifndef NANO_SMALL
const char *revstrstr(const char *haystack, const char *needle, const
char *rev_start);
const char *revstristr(const char *haystack, const char *needle, const
char *rev_start);
#endif
#ifndef HAVE_STRNLEN
size_t nstrnlen(const char *s, size_t maxlen);
#endif
const char *stristr(const char *haystack, const char *needle);
const char *strstrwrapper(const char *haystack, const char *needle,
const char *rev_start, int line_pos);
const char *start);
void nperror(const char *s);
void *nmalloc(size_t howmuch);
void *nrealloc(void *ptr, size_t howmuch);
char *mallocstrcpy(char *dest, const char *src);
void new_magicline(void);
#ifndef NANO_SMALL
void mark_order(const filestruct **top, size_t *top_x,
const filestruct **bot, size_t *bot_x);
#endif
#ifndef DISABLE_TABCOMP
int check_wildcard_match(const char *text, const char *pattern);
#endif
/* Public functions in winio.c */
int do_first_line(void);
int do_last_line(void);
int xpt(const filestruct *fileptr, int index);
#ifndef NANO_SMALL
void reset_kbinput(void);
#endif
int get_kbinput(WINDOW *win, int *meta_key);
int get_translated_kbinput(int kbinput, int *es
#ifndef NANO_SMALL
, int reset
#endif
);
int get_ascii_kbinput(int kbinput, size_t ascii_digits
#ifndef NANO_SMALL
, int reset
#endif
);
int get_control_kbinput(int kbinput);
int get_escape_seq_kbinput(int *escape_seq, size_t es_len, int
*ignore_seq);
int get_escape_seq_abcd(int kbinput);
int *get_verbatim_kbinput(WINDOW *win, int *verbatim_kbinput, size_t
*verbatim_len, int allow_ascii);
int get_untranslated_kbinput(int kbinput, size_t position, int
allow_ascii
#ifndef NANO_SMALL
, int reset
#endif
);
#ifndef DISABLE_MOUSE
int get_mouseinput(int *mouse_x, int *mouse_y, int shortcut);
#endif
size_t xplustabs(void);
size_t actual_x(const filestruct *fileptr, size_t xplus);
size_t actual_x(const char *str, size_t xplus);
size_t strnlenpt(const char *buf, size_t size);
size_t strlenpt(const char *buf);
void blank_bottombars(void);
void blank_bottomwin(void);
void blank_titlebar(void);
void blank_edit(void);
void blank_statusbar(void);
void blank_statusbar_refresh(void);
void check_statblank(void);
void nanoget_repaint(const char *buf, const char *inputbuf, int x);
void blank_bottombars(void);
char *display_string(const char *buf, size_t start_col, size_t len);
void nanoget_repaint(const char *buf, const char *inputbuf, size_t x);
int nanogetstr(int allowtabs, const char *buf, const char *def,
#ifndef NANO_SMALL
historyheadtype *history_list,
@@ -441,44 +525,38 @@ int nanogetstr(int allowtabs, const char *buf, const char *def,
, int *list
#endif
);
void set_modified(void);
void titlebar(const char *path);
void set_modified(void);
void statusbar(const char *msg, ...);
void bottombars(const shortcut *s);
void onekey(const char *keystroke, const char *desc, int len);
void onekey(const char *keystroke, const char *desc, size_t len);
#ifndef NDEBUG
int check_linenumbers(const filestruct *fileptr);
#endif
int get_page_start(int column);
size_t get_page_start(size_t column);
void reset_cursor(void);
void add_marked_sameline(int begin, int end, filestruct *fileptr, int y,
int virt_cur_x, int this_page);
void edit_add(const filestruct *fileptr, int yval, int start
#ifndef NANO_SMALL
, int virt_mark_beginx, int virt_cur_x
#endif
);
void update_line(filestruct *fileptr, int index);
void update_cursor(void);
void center_cursor(void);
void edit_add(const filestruct *fileptr, const char *converted, int
yval, size_t start);
void update_line(const filestruct *fileptr, size_t index);
int need_horizontal_update(int old_placewewant);
int need_vertical_update(int old_placewewant);
void edit_scroll(updown direction, int nlines);
void edit_redraw(const filestruct *old_current, int old_pww);
void edit_refresh(void);
void edit_refresh_clearok(void);
void edit_update(filestruct *fileptr, topmidbotnone location);
int statusq(int tabs, const shortcut *s, const char *def,
void edit_update(filestruct *fileptr, topmidnone location);
int statusq(int allowtabs, const shortcut *s, const char *def,
#ifndef NANO_SMALL
historyheadtype *history_list,
#endif
const char *msg, ...);
int do_yesno(int all, int leavecursor, const char *msg, ...);
int do_yesno(int all, const char *msg);
int total_refresh(void);
void display_main_list(void);
void statusbar(const char *msg, ...);
int do_cursorpos(int constant);
int do_cursorpos_void(void);
int line_len(const char *ptr);
int do_help(void);
int keypad_on(WINDOW *win, int newval);
void do_replace_highlight(int highlight_flag, const char *word);
void fix_editbot(void);
#ifdef DEBUG
void dump_buffer(const filestruct *inptr);
void dump_buffer_reverse(void);

View File

@@ -2,7 +2,7 @@
/**************************************************************************
* rcfile.c *
* *
* Copyright (C) 1999-2003 Chris Allegretta *
* Copyright (C) 1999-2004 Chris Allegretta *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) *
@@ -31,6 +31,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <pwd.h>
#include <ctype.h>
#include <assert.h>
#include "proto.h"
#include "nano.h"
@@ -41,6 +42,10 @@ const static rcoption rcopts[] = {
#ifndef NANO_SMALL
{"autoindent", AUTOINDENT},
{"backup", BACKUP_FILE},
{"backupdir", 0},
#endif
#ifndef DISABLE_JUSTIFY
{"brackets", 0},
#endif
{"const", CONSTUPDATE},
#ifndef NANO_SMALL
@@ -49,8 +54,10 @@ const static rcoption rcopts[] = {
#ifndef DISABLE_WRAPJUSTIFY
{"fill", 0},
#endif
{"keypad", ALT_KEYPAD},
#if !defined(DISABLE_MOUSE) && defined(NCURSES_MOUSE_VERSION)
#ifndef NANO_SMALL
{"historylog", HISTORYLOG},
#endif
#ifndef DISABLE_MOUSE
{"mouse", USE_MOUSE},
#endif
#ifdef ENABLE_MULTIBUFFER
@@ -69,12 +76,15 @@ const static rcoption rcopts[] = {
#endif
{"preserve", PRESERVE},
#ifndef DISABLE_JUSTIFY
{"punct", 0},
{"quotestr", 0},
#endif
{"rebinddelete", REBIND_DELETE},
#ifdef HAVE_REGEX_H
{"regexp", USE_REGEXP},
#endif
#ifndef NANO_SMALL
{"smarthome", SMART_HOME},
{"smooth", SMOOTHSCROLL},
#endif
#ifndef DISABLE_SPELLER
@@ -84,7 +94,9 @@ const static rcoption rcopts[] = {
{"tabsize", 0},
{"tempfile", TEMP_OPT},
{"view", VIEW_MODE},
{"historylog", HISTORYLOG},
#ifndef NANO_SMALL
{"whitespace", 0},
#endif
{NULL, 0}
};
@@ -128,7 +140,7 @@ void rcfile_msg(const char *msg, ...)
/* Parse the next word from the string. Returns NULL if we hit EOL. */
char *parse_next_word(char *ptr)
{
while (*ptr != ' ' && *ptr != '\t' && *ptr != '\n' && *ptr != '\0')
while (!isblank(*ptr) && *ptr != '\n' && *ptr != '\0')
ptr++;
if (*ptr == '\0')
@@ -137,18 +149,19 @@ char *parse_next_word(char *ptr)
/* Null terminate and advance ptr */
*ptr++ = 0;
while (*ptr == ' ' || *ptr == '\t')
while (isblank(*ptr))
ptr++;
return ptr;
}
/* The keywords operatingdir, fill, tabsize, speller, and quotestr take
* an argument when set. Among these, operatingdir, speller, and
* quotestr have to allow tabs and spaces in the argument. Thus, if the
* next word starts with a ", we say it ends with the last " of the line.
* Otherwise, the word is interpreted as usual. That is so the arguments
* can contain "s too. */
/* The keywords operatingdir, backupdir, fill, tabsize, speller,
* punct, brackets, quotestr, and whitespace take an argument when set.
* Among these, operatingdir, backupdir, speller, punct, brackets,
* quotestr, and whitespace have to allow tabs and spaces in the
* argument. Thus, if the next word starts with a ", we say it ends
* with the last " of the line. Otherwise, the word is interpreted as
* usual. That is so the arguments can contain "s too. */
char *parse_argument(char *ptr)
{
const char *ptr_bak = ptr;
@@ -170,13 +183,13 @@ char *parse_argument(char *ptr)
ptr = NULL;
else
*ptr++ = '\0';
rcfile_error(_("argument %s has unterminated \""), ptr_bak);
rcfile_error(_("Argument %s has unterminated \""), ptr_bak);
} else {
*last_quote = '\0';
ptr = last_quote + 1;
}
if (ptr != NULL)
while (*ptr == ' ' || *ptr == '\t')
while (isblank(*ptr))
ptr++;
return ptr;
}
@@ -212,11 +225,11 @@ int colortoint(const char *colorname, int *bright)
else if (!strcasecmp(colorname, "black"))
mcolor = COLOR_BLACK;
else {
rcfile_error(_("color %s not understood.\n"
"Valid colors are \"green\", \"red\", \"blue\", \n"
"\"white\", \"yellow\", \"cyan\", \"magenta\" and \n"
"\"black\", with the optional prefix \"bright\".\n"),
colorname);
rcfile_error(_("Color %s not understood.\n"
"Valid colors are \"green\", \"red\", \"blue\", \n"
"\"white\", \"yellow\", \"cyan\", \"magenta\" and \n"
"\"black\", with the optional prefix \"bright\" \n"
"for foreground colors.\n"), colorname);
mcolor = -1;
}
return mcolor;
@@ -231,10 +244,10 @@ char *parse_next_regex(char *ptr)
if (*ptr == '\0')
return NULL;
/* Null terminate and advance ptr */
/* Null terminate and advance ptr. */
*ptr++ = '\0';
while (*ptr == ' ' || *ptr == '\t')
while (isblank(*ptr))
ptr++;
return ptr;
@@ -271,7 +284,7 @@ void parse_syntax(char *ptr)
return;
if (*ptr != '"') {
rcfile_error(_("regex strings must begin and end with a \" character\n"));
rcfile_error(_("Regex strings must begin and end with a \" character\n"));
return;
}
ptr++;
@@ -295,7 +308,7 @@ void parse_syntax(char *ptr)
tmpsyntax->next = (syntaxtype *)nmalloc(sizeof(syntaxtype));
tmpsyntax = tmpsyntax->next;
#ifdef DEBUG
fprintf(stderr, _("Adding new syntax after 1st\n"));
fprintf(stderr, "Adding new syntax after 1st\n");
#endif
}
tmpsyntax->desc = mallocstrcpy(NULL, nameptr);
@@ -303,7 +316,7 @@ void parse_syntax(char *ptr)
tmpsyntax->extensions = NULL;
tmpsyntax->next = NULL;
#ifdef DEBUG
fprintf(stderr, _("Starting a new syntax type\n"));
fprintf(stderr, "Starting a new syntax type\n");
fprintf(stderr, "string val=%s\n", nameptr);
#endif
@@ -323,7 +336,7 @@ void parse_syntax(char *ptr)
ptr = parse_next_regex(ptr);
newext = (exttype *)nmalloc(sizeof(exttype));
if (nregcomp(&newext->val, fileregptr, REG_NOSUB))
if (nregcomp(&newext->val, fileregptr, REG_NOSUB) != 0)
free(newext);
else {
if (endext == NULL)
@@ -354,8 +367,14 @@ void parse_colors(char *ptr)
}
if (strstr(fgstr, ",")) {
char *bgcolorname;
strtok(fgstr, ",");
bg = colortoint(strtok(NULL, ","), &bright);
bgcolorname = strtok(NULL, ",");
if (!strncasecmp(bgcolorname, "bright", 6)) {
rcfile_error(_("Background color %s cannot be bright"), bgcolorname);
return;
}
bg = colortoint(bgcolorname, &bright);
} else
bg = -1;
@@ -395,7 +414,7 @@ void parse_colors(char *ptr)
}
if (*ptr != '"') {
rcfile_error(_("regex strings must begin and end with a \" character\n"));
rcfile_error(_("Regex strings must begin and end with a \" character\n"));
ptr = parse_next_regex(ptr);
continue;
}
@@ -404,7 +423,7 @@ void parse_colors(char *ptr)
newcolor = (colortype *)nmalloc(sizeof(colortype));
fgstr = ptr;
ptr = parse_next_regex(ptr);
if (nregcomp(&newcolor->start, fgstr, 0)) {
if (nregcomp(&newcolor->start, fgstr, 0) != 0) {
free(newcolor);
cancelled = 1;
} else {
@@ -417,7 +436,7 @@ void parse_colors(char *ptr)
if (tmpsyntax->color == NULL) {
tmpsyntax->color = newcolor;
#ifdef DEBUG
fprintf(stderr, _("Starting a new colorstring for fg %d bg %d\n"),
fprintf(stderr, "Starting a new colorstring for fg %d bg %d\n",
fg, bg);
#endif
} else {
@@ -425,7 +444,7 @@ void parse_colors(char *ptr)
tmpcolor = tmpcolor->next)
;
#ifdef DEBUG
fprintf(stderr, _("Adding new entry for fg %d bg %d\n"), fg, bg);
fprintf(stderr, "Adding new entry for fg %d bg %d\n", fg, bg);
#endif
tmpcolor->next = newcolor;
}
@@ -442,7 +461,7 @@ void parse_colors(char *ptr)
if (*ptr != '"') {
rcfile_error(_
("regex strings must begin and end with a \" character\n"));
("Regex strings must begin and end with a \" character\n"));
continue;
}
ptr++;
@@ -455,7 +474,7 @@ void parse_colors(char *ptr)
if (cancelled)
continue;
newcolor->end = (regex_t *)nmalloc(sizeof(regex_t));
if (nregcomp(newcolor->end, fgstr, 0)) {
if (nregcomp(newcolor->end, fgstr, 0) != 0) {
free(newcolor->end);
newcolor->end = NULL;
}
@@ -475,7 +494,7 @@ void parse_rcfile(FILE *rcstream)
while (fgets(buf, 1023, rcstream) != 0) {
lineno++;
ptr = buf;
while (*ptr == ' ' || *ptr == '\t')
while (isblank(*ptr))
ptr++;
if (*ptr == '\n' || *ptr == '\0')
@@ -483,7 +502,7 @@ void parse_rcfile(FILE *rcstream)
if (*ptr == '#') {
#ifdef DEBUG
fprintf(stderr, _("%s: Read a comment\n"), "parse_rcfile()");
fprintf(stderr, "%s: Read a comment\n", "parse_rcfile()");
#endif
continue; /* Skip past commented lines */
}
@@ -506,7 +525,7 @@ void parse_rcfile(FILE *rcstream)
parse_colors(ptr);
#endif /* ENABLE_COLOR */
else {
rcfile_msg(_("command %s not understood"), keyword);
rcfile_msg(_("Command %s not understood"), keyword);
continue;
}
@@ -518,7 +537,7 @@ void parse_rcfile(FILE *rcstream)
for (i = 0; rcopts[i].name != NULL; i++) {
if (!strcasecmp(option, rcopts[i].name)) {
#ifdef DEBUG
fprintf(stderr, _("%s: Parsing option %s\n"),
fprintf(stderr, "%s: Parsing option %s\n",
"parse_rcfile()", rcopts[i].name);
#endif
if (set == 1) {
@@ -529,16 +548,24 @@ void parse_rcfile(FILE *rcstream)
#ifndef DISABLE_WRAPJUSTIFY
|| !strcasecmp(rcopts[i].name, "fill")
#endif
#ifndef NANO_SMALL
|| !strcasecmp(rcopts[i].name, "whitespace")
#endif
#ifndef DISABLE_JUSTIFY
|| !strcasecmp(rcopts[i].name, "punct")
|| !strcasecmp(rcopts[i].name, "brackets")
|| !strcasecmp(rcopts[i].name, "quotestr")
#endif
#ifndef NANO_SMALL
|| !strcasecmp(rcopts[i].name, "backupdir")
#endif
#ifndef DISABLE_SPELLER
|| !strcasecmp(rcopts[i].name, "speller")
#endif
) {
if (*ptr == '\n' || *ptr == '\0') {
rcfile_error(_
("option %s requires an argument"),
("Option %s requires an argument"),
rcopts[i].name);
continue;
}
@@ -563,23 +590,55 @@ void parse_rcfile(FILE *rcstream)
* errors. */
j = (int)strtol(option, &first_error, 10);
if (errno == ERANGE || *option == '\0' || *first_error != '\0')
rcfile_error(_("requested fill size %d invalid"),
rcfile_error(_("Requested fill size %d invalid"),
j);
else
wrap_at = j;
} else
#endif
#ifndef NANO_SMALL
if (!strcasecmp(rcopts[i].name, "whitespace")) {
size_t ws_len;
whitespace = mallocstrcpy(NULL, option);
ws_len = strlen(whitespace);
if (ws_len != 2 || (ws_len == 2 && (is_cntrl_char(whitespace[0]) || is_cntrl_char(whitespace[1])))) {
rcfile_error(_("Two non-control characters required"));
free(whitespace);
whitespace = NULL;
} else
SET(WHITESPACE_DISPLAY);
} else
#endif
#ifndef DISABLE_JUSTIFY
if (!strcasecmp(rcopts[i].name, "quotestr"))
if (!strcasecmp(rcopts[i].name, "punct")) {
punct = mallocstrcpy(NULL, option);
if (strchr(punct, '\t') != NULL || strchr(punct, ' ') != NULL) {
rcfile_error(_("Non-tab and non-space characters required"));
free(punct);
punct = NULL;
}
} else if (!strcasecmp(rcopts[i].name, "brackets")) {
brackets = mallocstrcpy(NULL, option);
if (strchr(brackets, '\t') != NULL || strchr(brackets, ' ') != NULL) {
rcfile_error(_("Non-tab and non-space characters required"));
free(brackets);
brackets = NULL;
}
} else if (!strcasecmp(rcopts[i].name, "quotestr"))
quotestr = mallocstrcpy(NULL, option);
else
#endif
#ifndef NANO_SMALL
if (!strcasecmp(rcopts[i].name, "backupdir"))
backup_dir = mallocstrcpy(NULL, option);
else
#endif
#ifndef DISABLE_SPELLER
if (!strcasecmp(rcopts[i].name, "speller"))
alt_speller = mallocstrcpy(NULL, option);
else
#endif
{
if (!strcasecmp(rcopts[i].name, "tabsize")) {
char *first_error;
/* Using strtol instead of atoi lets us
@@ -587,7 +646,7 @@ void parse_rcfile(FILE *rcstream)
* errors. */
j = (int)strtol(option, &first_error, 10);
if (errno == ERANGE || *option == '\0' || *first_error != '\0')
rcfile_error(_("requested tab size %d invalid"),
rcfile_error(_("Requested tab size %d invalid"),
j);
else
tabsize = j;
@@ -595,13 +654,13 @@ void parse_rcfile(FILE *rcstream)
} else
SET(rcopts[i].flag);
#ifdef DEBUG
fprintf(stderr, _("set flag %d!\n"),
fprintf(stderr, "set flag %d!\n",
rcopts[i].flag);
#endif
} else {
UNSET(rcopts[i].flag);
#ifdef DEBUG
fprintf(stderr, _("unset flag %d!\n"),
fprintf(stderr, "unset flag %d!\n",
rcopts[i].flag);
#endif
}
@@ -640,7 +699,7 @@ void do_rcfile(void)
/* Rely on $HOME, fall back on getpwuid() */
if (homenv != NULL) {
nanorc = nrealloc(nanorc, strlen(homenv) + 10);
nanorc = charealloc(nanorc, strlen(homenv) + 10);
sprintf(nanorc, "%s/.nanorc", homenv);
} else {
userage = getpwuid(euid);
@@ -650,7 +709,7 @@ void do_rcfile(void)
rcfile_error(_("I can't find my home directory! Wah!"));
SET(NO_RCFILE);
} else {
nanorc = nrealloc(nanorc, strlen(userage->pw_dir) + 9);
nanorc = charealloc(nanorc, strlen(userage->pw_dir) + 9);
sprintf(nanorc, "%s/.nanorc", userage->pw_dir);
}
@@ -659,9 +718,9 @@ void do_rcfile(void)
if (!ISSET(NO_RCFILE)) {
#if defined(DISABLE_ROOTWRAP) && !defined(DISABLE_WRAPPING)
/* If we've already read $SYSCONFDIR/nanorc (if it's there), we're
/* If we've already read SYSCONFDIR/nanorc (if it's there), we're
root, and --disable-wrapping-as-root is used, turn wrapping off */
if (euid == 0)
if (euid == NANO_ROOT_UID)
SET(NO_WRAP);
#endif
if ((rcstream = fopen(nanorc, "r")) == NULL) {

1095
src/search.c Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
/**************************************************************************
* utils.c *
* *
* Copyright (C) 1999-2003 Chris Allegretta *
* Copyright (C) 1999-2004 Chris Allegretta *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) *
@@ -30,6 +30,7 @@
#include "proto.h"
#include "nano.h"
#ifdef HAVE_REGEX_H
#ifdef BROKEN_REGEXEC
#undef regexec
int regexec_safe(const regex_t *preg, const char *string, size_t nmatch,
@@ -40,12 +41,31 @@ int regexec_safe(const regex_t *preg, const char *string, size_t nmatch,
return REG_NOMATCH;
}
#define regexec(preg, string, nmatch, pmatch, eflags) regexec_safe(preg, string, nmatch, pmatch, eflags)
#endif /* BROKEN_REGEXEC */
/* Assume that string will be found by regexec() if the REG_NOTBOL and
* REG_NOTEOL glags are not set. */
int regexp_bol_or_eol(const regex_t *preg, const char *string)
{
return (regexec(preg, string, 0, NULL, REG_NOTBOL | REG_NOTEOL) ==
REG_NOMATCH);
}
#endif /* HAVE_REGEX_H */
#ifndef HAVE_ISBLANK
/* This function is equivalent to isblank(). */
int is_blank_char(int c)
{
return (c == '\t' || c == ' ');
}
#endif
/* This function is equivalent to iscntrl(), except in that it also
* handles control characters with their high bits set. */
int is_cntrl_char(int c)
{
return (-128 <= c && c < -96) || (0 <= c && c < 32) ||
(127 <= c && c < 160);
(127 <= c && c < 160);
}
int num_of_digits(int n)
@@ -66,8 +86,9 @@ int num_of_digits(int n)
/* Fix the memory allocation for a string. */
void align(char **strp)
{
if (strp != NULL)
*strp = nrealloc(*strp, strlen(*strp) + 1);
assert(strp != NULL);
if (*strp != NULL)
*strp = charealloc(*strp, strlen(*strp) + 1);
}
/* Null a string at a certain index and align it. */
@@ -83,9 +104,10 @@ void null_at(char **data, size_t index)
void unsunder(char *str, size_t true_len)
{
assert(str != NULL);
for(; true_len > 0; true_len--, str++)
for (; true_len > 0; true_len--, str++) {
if (*str == '\0')
*str = '\n';
}
}
/* For non-null-terminated lines. A line, by definition, shouldn't
@@ -93,17 +115,75 @@ void unsunder(char *str, size_t true_len)
void sunder(char *str)
{
assert(str != NULL);
for(; *str != '\0'; str++)
for (; *str != '\0'; str++) {
if (*str == '\n')
*str = '\0';
}
}
#ifndef HAVE_STRCASECMP
/* This function is equivalent to strcasecmp(). */
int nstricmp(const char *s1, const char *s2)
{
assert(s1 != NULL && s2 != NULL);
for (; *s1 != '\0' && *s2 != '\0'; s1++, s2++) {
if (tolower(*s1) != tolower(*s2))
break;
}
return (tolower(*s1) - tolower(*s2));
}
#endif
#ifndef HAVE_STRNCASECMP
/* This function is equivalent to strncasecmp(). */
int nstrnicmp(const char *s1, const char *s2, size_t n)
{
assert(s1 != NULL && s2 != NULL);
for (; n > 0 && *s1 != '\0' && *s2 != '\0'; n--, s1++, s2++) {
if (tolower(*s1) != tolower(*s2))
break;
}
if (n > 0)
return (tolower(*s1) - tolower(*s2));
else if (n == 0)
return 0;
else
return -1;
}
#endif
#ifndef HAVE_STRCASESTR
/* This function is equivalent to strcasestr(). It was adapted from
* mutt's mutt_stristr() function. */
const char *nstristr(const char *haystack, const char *needle)
{
assert(haystack != NULL && needle != NULL);
for (; *haystack != '\0'; haystack++) {
const char *p = haystack;
const char *q = needle;
for (; tolower(*p) == tolower(*q) && *q != '\0'; p++, q++)
;
if (*q == '\0')
return haystack;
}
return NULL;
}
#endif
/* None of this is needed if we're using NANO_SMALL! */
#ifndef NANO_SMALL
const char *revstrstr(const char *haystack, const char *needle,
const char *rev_start)
const char *revstrstr(const char *haystack, const char *needle, const
char *rev_start)
{
for(; rev_start >= haystack ; rev_start--) {
for (; rev_start >= haystack; rev_start--) {
const char *r, *q;
for (r = rev_start, q = needle ; *q == *r && *q != '\0'; r++, q++)
@@ -114,8 +194,8 @@ const char *revstrstr(const char *haystack, const char *needle,
return NULL;
}
const char *revstristr(const char *haystack, const char *needle,
const char *rev_start)
const char *revstristr(const char *haystack, const char *needle, const
char *rev_start)
{
for (; rev_start >= haystack; rev_start--) {
const char *r = rev_start, *q = needle;
@@ -129,50 +209,47 @@ const char *revstristr(const char *haystack, const char *needle,
}
#endif /* !NANO_SMALL */
/* This is now mutt's version (called mutt_stristr) because it doesn't
* use memory allocation to do a simple search (yuck). */
const char *stristr(const char *haystack, const char *needle)
#ifndef HAVE_STRNLEN
/* This function is equivalent to strnlen(). */
size_t nstrnlen(const char *s, size_t maxlen)
{
const char *p, *q;
size_t n = 0;
if (haystack == NULL)
return NULL;
if (needle == NULL)
return haystack;
while (*(p = haystack) != '\0') {
for (q = needle; *p != 0 && *q != 0 && tolower(*p) == tolower(*q); p++, q++)
;
if (*q == 0)
return haystack;
haystack++;
}
return NULL;
assert(s != NULL);
for (; maxlen > 0 && *s != '\0'; maxlen--, n++, s++)
;
return n;
}
#endif
/* If we are searching backwards, we will find the last match
* that starts no later than rev_start. If we are doing a regexp search,
* then line_pos should be 0 if haystack starts at the beginning of a
* line, and positive otherwise. In the regexp case, we fill in the
* global variable regmatches with at most 9 subexpression matches. Also,
* all .rm_so elements are relative to the start of the whole match, so
* regmatches[0].rm_so == 0. */
/* If we are searching backwards, we will find the last match that
* starts no later than start. Otherwise we find the first match
* starting no earlier than start. If we are doing a regexp search, we
* fill in the global variable regmatches with at most 9 subexpression
* matches. Also, all .rm_so elements are relative to the start of the
* whole match, so regmatches[0].rm_so == 0. */
const char *strstrwrapper(const char *haystack, const char *needle,
const char *rev_start, int line_pos)
const char *start)
{
/* start can be 1 character before the start or after the end of the
* line. In either case, we just say there is no match found. */
if ((start > haystack && *(start - 1) == '\0') || start < haystack)
return NULL;
assert(haystack != NULL && needle != NULL && start != NULL);
#ifdef HAVE_REGEX_H
if (ISSET(USE_REGEXP)) {
#ifndef NANO_SMALL
if (ISSET(REVERSE_SEARCH)) {
/* When doing a backwards search, haystack is a whole line. */
if (!regexec(&search_regexp, haystack, 1, regmatches, 0) &&
haystack + regmatches[0].rm_so <= rev_start) {
if (regexec(&search_regexp, haystack, 1, regmatches, 0) == 0
&& haystack + regmatches[0].rm_so <= start) {
const char *retval = haystack + regmatches[0].rm_so;
/* Search forward until there is no more match. */
while (!regexec(&search_regexp, retval + 1, 1, regmatches,
REG_NOTBOL) &&
retval + 1 + regmatches[0].rm_so <= rev_start)
while (regexec(&search_regexp, retval + 1, 1, regmatches,
REG_NOTBOL) == 0 && retval + 1 +
regmatches[0].rm_so <= start)
retval += 1 + regmatches[0].rm_so;
/* Finally, put the subexpression matches in global
* variable regmatches. The REG_NOTBOL flag doesn't
@@ -182,9 +259,9 @@ const char *strstrwrapper(const char *haystack, const char *needle,
}
} else
#endif /* !NANO_SMALL */
if (!regexec(&search_regexp, haystack, 10, regmatches,
line_pos > 0 ? REG_NOTBOL : 0)) {
const char *retval = haystack + regmatches[0].rm_so;
if (regexec(&search_regexp, start, 10, regmatches,
start > haystack ? REG_NOTBOL : 0) == 0) {
const char *retval = start + regmatches[0].rm_so;
regexec(&search_regexp, retval, 10, regmatches, 0);
return retval;
@@ -192,21 +269,26 @@ const char *strstrwrapper(const char *haystack, const char *needle,
return NULL;
}
#endif /* HAVE_REGEX_H */
#ifndef NANO_SMALL
#if !defined(DISABLE_SPELLER) || !defined(NANO_SMALL)
if (ISSET(CASE_SENSITIVE)) {
#ifndef NANO_SMALL
if (ISSET(REVERSE_SEARCH))
return revstrstr(haystack, needle, rev_start);
return revstrstr(haystack, needle, start);
else
return strstr(haystack, needle);
} else if (ISSET(REVERSE_SEARCH))
return revstristr(haystack, needle, rev_start);
#endif
return stristr(haystack, needle);
return strstr(start, needle);
}
#endif /* !DISABLE_SPELLER || !NANO_SMALL */
#ifndef NANO_SMALL
else if (ISSET(REVERSE_SEARCH))
return revstristr(haystack, needle, start);
#endif
return strcasestr(start, needle);
}
/* This is a wrapper for the perror function. The wrapper takes care of
* ncurses, calls perror (which writes to STDERR), then refreshes the
* screen. Note that nperror causes the window to flicker once. */
/* This is a wrapper for the perror() function. The wrapper takes care
* of ncurses, calls perror (which writes to stderr), then refreshes the
* screen. Note that nperror() causes the window to flicker once. */
void nperror(const char *s)
{
/* leave ncurses mode, go to the terminal */
@@ -241,14 +323,11 @@ void *nrealloc(void *ptr, size_t howmuch)
* dest = mallocstrcpy(dest, src); */
char *mallocstrcpy(char *dest, const char *src)
{
if (src == dest)
return dest;
if (dest != NULL)
free(dest);
if (src == NULL)
return NULL;
src = "";
if (src != dest)
free(dest);
dest = charalloc(strlen(src) + 1);
strcpy(dest, src);
@@ -259,7 +338,7 @@ char *mallocstrcpy(char *dest, const char *src)
/* Append a new magic-line to filebot. */
void new_magicline(void)
{
filebot->next = nmalloc(sizeof(filestruct));
filebot->next = (filestruct *)nmalloc(sizeof(filestruct));
filebot->next->data = charalloc(1);
filebot->next->data[0] = '\0';
filebot->next->prev = filebot;
@@ -270,6 +349,28 @@ void new_magicline(void)
totsize++;
}
#ifndef NANO_SMALL
/* Set top_x and bot_x to the top and bottom x-coordinates of the mark,
* respectively, based on the locations of top and bot. */
void mark_order(const filestruct **top, size_t *top_x,
const filestruct **bot, size_t *bot_x)
{
assert(top != NULL && top_x != NULL && bot != NULL && bot_x != NULL);
if ((current->lineno == mark_beginbuf->lineno && current_x > mark_beginx)
|| current->lineno > mark_beginbuf->lineno) {
*top = mark_beginbuf;
*top_x = mark_beginx;
*bot = current;
*bot_x = current_x;
} else {
*bot = mark_beginbuf;
*bot_x = mark_beginx;
*top = current;
*top_x = current_x;
}
}
#endif
#ifndef DISABLE_TABCOMP
/*
* Routine to see if a text string is matched by a wildcard pattern.

3346
src/winio.c Normal file

File diff suppressed because it is too large Load Diff

1846
winio.c

File diff suppressed because it is too large Load Diff