search_init()
- Silly typo in our "one simple call" of statusq. Stopped
previous search string from being displayed.
+ do_replace()
+ - Copy back the previous value of last_replace into answer if
+ using PICO_MODE and answer == ""
- nano.1, nano.1.html
- Updated man page for new -p definition.
-
nano 0.9.20 - 11/18/2000
- General
- Ran source through indent -kr again. Make everything pretty.
msgid ""
msgstr ""
"Project-Id-Version: nano 0.9.17\n"
-"POT-Creation-Date: 2000-11-17 22:07-0500\n"
+"POT-Creation-Date: 2000-11-21 01:23-0500\n"
"PO-Revision-Date: 2000-09-09 11:55+0200\n"
"Last-Translator: Florian König <floki@bigfoot.com>\n"
"Language-Team: German <floki@bigfoot.com>\n"
msgid "Main: open file\n"
msgstr "Hauptprogramm: Datei öffnen\n"
-#: nano.c:2150
+#: nano.c:2153
#, fuzzy, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Erhielt Alt-[-%c! (%d)\n"
-#: nano.c:2172
+#: nano.c:2175
#, fuzzy, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Erhielt Alt-[-%c! (%d)\n"
-#: nano.c:2205
+#: nano.c:2208
#, fuzzy, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Erhielt Alt-[-%c! (%d)\n"
-#: nano.c:2253
+#: nano.c:2256
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Erhielt Alt-[-%c! (%d)\n"
-#: nano.c:2279
+#: nano.c:2282
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Erhielt Alt-%c! (%d)\n"
msgid ""
msgstr ""
"Project-Id-Version: 0.9.19+CVS\n"
-"POT-Creation-Date: 2000-11-17 22:07-0500\n"
+"POT-Creation-Date: 2000-11-21 01:23-0500\n"
"PO-Revision-Date: 2000-11-01 17:55+0100\n"
"Last-Translator: Jordi Mallach <jordi@sindominio.net>\n"
"Language-Team: Spanish <es@li.org>\n"
msgid "Main: open file\n"
msgstr "Main: abrir fichero\n"
-#: nano.c:2150
+#: nano.c:2153
#, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Pillé Alt-O-%c! (%d)\n"
-#: nano.c:2172
+#: nano.c:2175
#, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Pillé Alt-[-1-%c! (%d)\n"
-#: nano.c:2205
+#: nano.c:2208
#, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Pillé Alt-[-2-%c! (%d)\n"
-#: nano.c:2253
+#: nano.c:2256
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Pillé Alt-[-%c! (%d)\n"
-#: nano.c:2279
+#: nano.c:2282
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Pillé Alt-%c! (%d)\n"
msgid ""
msgstr ""
"Project-Id-Version: nano 0.9.11\n"
-"POT-Creation-Date: 2000-11-17 22:07-0500\n"
+"POT-Creation-Date: 2000-11-21 01:23-0500\n"
"PO-Revision-Date: 2000-06-21 23:08+03:00\n"
"Last-Translator: Pauli Virtanen <pauli.virtanen@saunalahti.fi>\n"
"Language-Team: Finnish <fi@li.org>\n"
msgid "Main: open file\n"
msgstr "Päätila: avaa tiedosto\n"
-#: nano.c:2150
+#: nano.c:2153
#, fuzzy, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
-#: nano.c:2172
+#: nano.c:2175
#, fuzzy, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
-#: nano.c:2205
+#: nano.c:2208
#, fuzzy, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
-#: nano.c:2253
+#: nano.c:2256
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
-#: nano.c:2279
+#: nano.c:2282
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Vastaanotettu Alt-%c! (%d)\n"
msgid ""
msgstr ""
"Project-Id-Version: 0.8.9\n"
-"POT-Creation-Date: 2000-11-17 22:07-0500\n"
+"POT-Creation-Date: 2000-11-21 01:23-0500\n"
"PO-Revision-Date: 2000-07-09 01:32+0100\n"
"Last-Translator: Clement Laforet <sheep.killer@free.fr>\n"
"Language-Team: French <LL@li.org>\n"
msgid "Main: open file\n"
msgstr "Main: ouvrir fichier\n"
-#: nano.c:2150
+#: nano.c:2153
#, fuzzy, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "J'ai reçu Alt-[-%c! (%d)\n"
-#: nano.c:2172
+#: nano.c:2175
#, fuzzy, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "J'ai reçu Alt-[-%c! (%d)\n"
-#: nano.c:2205
+#: nano.c:2208
#, fuzzy, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "J'ai reçu Alt-[-%c! (%d)\n"
-#: nano.c:2253
+#: nano.c:2256
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "J'ai reçu Alt-[-%c! (%d)\n"
-#: nano.c:2279
+#: nano.c:2282
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "J'ai reçu Alt-%c! (%d)\n"
msgid ""
msgstr ""
"Project-Id-Version: nano-0.9.10\n"
-"POT-Creation-Date: 2000-11-17 22:07-0500\n"
+"POT-Creation-Date: 2000-11-21 01:23-0500\n"
"PO-Revision-Date: 2000-06-08 20:56+07:00\n"
"Last-Translator: Tedi Heriyanto <tedi-h@usa.net>\n"
"Language-Team: Indonesian <id@li.org>\n"
msgid "Main: open file\n"
msgstr "Main: membuka file\n"
-#: nano.c:2150
+#: nano.c:2153
#, fuzzy, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Saya mendapat Alt-%c! (%d)\n"
-#: nano.c:2172
+#: nano.c:2175
#, fuzzy, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Saya mendapat Alt-%c! (%d)\n"
-#: nano.c:2205
+#: nano.c:2208
#, fuzzy, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Saya mendapat Alt-%c! (%d)\n"
-#: nano.c:2253
+#: nano.c:2256
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Saya mendapat Alt-%c! (%d)\n"
-#: nano.c:2279
+#: nano.c:2282
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Saya mendapat Alt-%c! (%d)\n"
msgid ""
msgstr ""
"Project-Id-Version: 0.8.7\n"
-"POT-Creation-Date: 2000-11-17 22:07-0500\n"
+"POT-Creation-Date: 2000-11-21 01:23-0500\n"
"PO-Revision-Date: 2000-03-03 04:57+0100\n"
"Last-Translator: Daniele Medri <madrid@linux.it>\n"
"MIME-Version: 1.0\n"
msgid "Main: open file\n"
msgstr "Main: apri file\n"
-#: nano.c:2150
+#: nano.c:2153
#, fuzzy, c-format
msgid "I got Alt-O-%c! (%d)\n"
msgstr "Premuto Alt-[-%c! (%d)\n"
-#: nano.c:2172
+#: nano.c:2175
#, fuzzy, c-format
msgid "I got Alt-[-1-%c! (%d)\n"
msgstr "Premuto Alt-[-%c! (%d)\n"
-#: nano.c:2205
+#: nano.c:2208
#, fuzzy, c-format
msgid "I got Alt-[-2-%c! (%d)\n"
msgstr "Premuto Alt-[-%c! (%d)\n"
-#: nano.c:2253
+#: nano.c:2256
#, c-format
msgid "I got Alt-[-%c! (%d)\n"
msgstr "Premuto Alt-[-%c! (%d)\n"
-#: nano.c:2279
+#: nano.c:2282
#, c-format
msgid "I got Alt-%c! (%d)\n"
msgstr "Premuto Alt-%c! (%d)\n"
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-11-21 01:19-0500\n"
+"POT-Creation-Date: 2000-11-21 07:49-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "Replaced 1 occurence"
msgstr ""
-#: search.c:479 search.c:572 search.c:588
+#: search.c:479 search.c:575 search.c:591
msgid "Replace Cancelled"
msgstr ""
-#: search.c:522
+#: search.c:525
msgid "Replace this instance?"
msgstr ""
-#: search.c:530
+#: search.c:533
msgid "Replace failed: unknown subexpression!"
msgstr ""
-#: search.c:613
+#: search.c:616
#, c-format
msgid "Replace with [%s]"
msgstr ""
-#: search.c:617 search.c:621
+#: search.c:620 search.c:624
msgid "Replace with"
msgstr ""
#. Ask for it
-#: search.c:656
+#: search.c:659
msgid "Enter line number"
msgstr ""
-#: search.c:658
+#: search.c:661
msgid "Aborted"
msgstr ""
-#: search.c:678
+#: search.c:681
msgid "Come on, be reasonable"
msgstr ""
-#: search.c:683
+#: search.c:686
#, c-format
msgid "Only %d lines available, skipping to last line"
msgstr ""
}
}
+ if (ISSET(PICO_MODE) && !strcmp(answer, ""))
+ answer = mallocstrcpy(answer, last_replace);
+
last_replace = mallocstrcpy(last_replace, answer);
while (1) {