Made insert key call do_insertfile()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@219 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
92c9dd255c
commit
9c35eb0def
|
@ -18,6 +18,7 @@ CVS code -
|
|||
because we not longer use keypad() (see below).
|
||||
- Removed keypad() call because nano was not working with the
|
||||
keypad in many terms, which is very bad.
|
||||
- Made insert key call do_insertfile().
|
||||
do_toggle()
|
||||
- Rewrote function to allow NOHELP toggle to wotk on systems
|
||||
without a working resizewin(). New function window_init().
|
||||
|
|
10
nano.c
10
nano.c
|
@ -1949,20 +1949,28 @@ int main(int argc, char *argv[])
|
|||
break;
|
||||
case '2': /* Alt-[-2-[0,1,3,4] = F9-F12 in many terms */
|
||||
kbinput = wgetch(edit);
|
||||
wgetch(edit);
|
||||
switch (kbinput) {
|
||||
case '0':
|
||||
kbinput = KEY_F(9);
|
||||
wgetch(edit);
|
||||
break;
|
||||
case '1':
|
||||
kbinput = KEY_F(10);
|
||||
wgetch(edit);
|
||||
break;
|
||||
case '3':
|
||||
kbinput = KEY_F(11);
|
||||
wgetch(edit);
|
||||
break;
|
||||
case '4':
|
||||
kbinput = KEY_F(12);
|
||||
wgetch(edit);
|
||||
break;
|
||||
case 126: /* Hack, make insert key do something
|
||||
usefile, like insert file */
|
||||
do_insertfile();
|
||||
keyhandled = 1;
|
||||
break;
|
||||
#ifdef DEBUG
|
||||
default:
|
||||
fprintf(stderr, _("I got Alt-[-2-%c! (%d)\n"),
|
||||
|
|
24
po/de.po
24
po/de.po
|
@ -7,7 +7,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: nano 0.9.14pre1\n"
|
||||
"POT-Creation-Date: 2000-09-12 19:05-0400\n"
|
||||
"POT-Creation-Date: 2000-09-13 10:08-0400\n"
|
||||
"PO-Revision-Date: 2000-07-27 11:44+0200\n"
|
||||
"Last-Translator: Florian König <floki@bigfoot.com>\n"
|
||||
"Language-Team: German <floki@bigfoot.com>\n"
|
||||
|
@ -710,52 +710,52 @@ msgstr "Kann Gr
|
|||
msgid "Cannot move bottom win"
|
||||
msgstr "Kann unteres Fenster nicht verschieben"
|
||||
|
||||
#: nano.c:1629
|
||||
#: nano.c:1631
|
||||
#, c-format
|
||||
msgid "%s enable/disable"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1641
|
||||
#: nano.c:1643
|
||||
msgid "enabled"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1642
|
||||
#: nano.c:1644
|
||||
msgid "disabled"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1870
|
||||
#: nano.c:1872
|
||||
msgid "Main: set up windows\n"
|
||||
msgstr "Hauptprogramm: Fenster konfigurieren\n"
|
||||
|
||||
#: nano.c:1877
|
||||
#: nano.c:1879
|
||||
msgid "Main: bottom win\n"
|
||||
msgstr "Hauptprogramm: unteres Fenster\n"
|
||||
|
||||
#: nano.c:1883
|
||||
#: nano.c:1885
|
||||
msgid "Main: open file\n"
|
||||
msgstr "Hauptprogramm: Datei öffnen\n"
|
||||
|
||||
#: nano.c:1917
|
||||
#: nano.c:1919
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-O-%c! (%d)\n"
|
||||
msgstr "Erhielt Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1941
|
||||
#: nano.c:1943
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-1-%c! (%d)\n"
|
||||
msgstr "Erhielt Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1966
|
||||
#: nano.c:1968
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-2-%c! (%d)\n"
|
||||
msgstr "Erhielt Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2014
|
||||
#: nano.c:2016
|
||||
#, c-format
|
||||
msgid "I got Alt-[-%c! (%d)\n"
|
||||
msgstr "Erhielt Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2040
|
||||
#: nano.c:2042
|
||||
#, c-format
|
||||
msgid "I got Alt-%c! (%d)\n"
|
||||
msgstr "Erhielt Alt-%c! (%d)\n"
|
||||
|
|
24
po/es.po
24
po/es.po
|
@ -7,7 +7,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 0.9.17\n"
|
||||
"POT-Creation-Date: 2000-09-12 19:05-0400\n"
|
||||
"POT-Creation-Date: 2000-09-13 10:08-0400\n"
|
||||
"PO-Revision-Date: 2000-09-07 12:14+0200\n"
|
||||
"Last-Translator: Jordi Mallach <jordi@sindominio.net>\n"
|
||||
"Language-Team: Spanish <jordi@sindominio.net>\n"
|
||||
|
@ -701,52 +701,52 @@ msgstr "No se puede cambiar el tama
|
|||
msgid "Cannot move bottom win"
|
||||
msgstr "No se puede mover la ventana inferior"
|
||||
|
||||
#: nano.c:1629
|
||||
#: nano.c:1631
|
||||
#, c-format
|
||||
msgid "%s enable/disable"
|
||||
msgstr "%s habilitar/deshabilitar"
|
||||
|
||||
#: nano.c:1641
|
||||
#: nano.c:1643
|
||||
msgid "enabled"
|
||||
msgstr "habilitado"
|
||||
|
||||
#: nano.c:1642
|
||||
#: nano.c:1644
|
||||
msgid "disabled"
|
||||
msgstr "deshabilitado"
|
||||
|
||||
#: nano.c:1870
|
||||
#: nano.c:1872
|
||||
msgid "Main: set up windows\n"
|
||||
msgstr "Main: configurar las ventanas\n"
|
||||
|
||||
#: nano.c:1877
|
||||
#: nano.c:1879
|
||||
msgid "Main: bottom win\n"
|
||||
msgstr "Main: ventana inferior\n"
|
||||
|
||||
#: nano.c:1883
|
||||
#: nano.c:1885
|
||||
msgid "Main: open file\n"
|
||||
msgstr "Main: abrir fichero\n"
|
||||
|
||||
#: nano.c:1917
|
||||
#: nano.c:1919
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-O-%c! (%d)\n"
|
||||
msgstr "Pillé Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1941
|
||||
#: nano.c:1943
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-1-%c! (%d)\n"
|
||||
msgstr "Pillé Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1966
|
||||
#: nano.c:1968
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-2-%c! (%d)\n"
|
||||
msgstr "Pillé Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2014
|
||||
#: nano.c:2016
|
||||
#, c-format
|
||||
msgid "I got Alt-[-%c! (%d)\n"
|
||||
msgstr "Pillé Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2040
|
||||
#: nano.c:2042
|
||||
#, c-format
|
||||
msgid "I got Alt-%c! (%d)\n"
|
||||
msgstr "Pillé Alt-%c! (%d)\n"
|
||||
|
|
24
po/fi.po
24
po/fi.po
|
@ -6,7 +6,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: nano 0.9.11\n"
|
||||
"POT-Creation-Date: 2000-09-12 19:05-0400\n"
|
||||
"POT-Creation-Date: 2000-09-13 10:08-0400\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"
|
||||
|
@ -701,52 +701,52 @@ msgstr "Alaikkunan kokoa ei voi muuttaa"
|
|||
msgid "Cannot move bottom win"
|
||||
msgstr "Alaikkunaa ei voi siirtää"
|
||||
|
||||
#: nano.c:1629
|
||||
#: nano.c:1631
|
||||
#, c-format
|
||||
msgid "%s enable/disable"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1641
|
||||
#: nano.c:1643
|
||||
msgid "enabled"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1642
|
||||
#: nano.c:1644
|
||||
msgid "disabled"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1870
|
||||
#: nano.c:1872
|
||||
msgid "Main: set up windows\n"
|
||||
msgstr "Päätila: ikkunoiden asettelu\n"
|
||||
|
||||
#: nano.c:1877
|
||||
#: nano.c:1879
|
||||
msgid "Main: bottom win\n"
|
||||
msgstr "Päätila: alaikkuna\n"
|
||||
|
||||
#: nano.c:1883
|
||||
#: nano.c:1885
|
||||
msgid "Main: open file\n"
|
||||
msgstr "Päätila: avaa tiedosto\n"
|
||||
|
||||
#: nano.c:1917
|
||||
#: nano.c:1919
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-O-%c! (%d)\n"
|
||||
msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1941
|
||||
#: nano.c:1943
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-1-%c! (%d)\n"
|
||||
msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1966
|
||||
#: nano.c:1968
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-2-%c! (%d)\n"
|
||||
msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2014
|
||||
#: nano.c:2016
|
||||
#, c-format
|
||||
msgid "I got Alt-[-%c! (%d)\n"
|
||||
msgstr "Vastaanotettu Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2040
|
||||
#: nano.c:2042
|
||||
#, c-format
|
||||
msgid "I got Alt-%c! (%d)\n"
|
||||
msgstr "Vastaanotettu Alt-%c! (%d)\n"
|
||||
|
|
24
po/fr.po
24
po/fr.po
|
@ -7,7 +7,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 0.8.9\n"
|
||||
"POT-Creation-Date: 2000-09-12 19:05-0400\n"
|
||||
"POT-Creation-Date: 2000-09-13 10:08-0400\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"
|
||||
|
@ -721,52 +721,52 @@ msgstr "Impossible de redimensionner la fen
|
|||
msgid "Cannot move bottom win"
|
||||
msgstr "Impossible de bouger la fenêtre du bas"
|
||||
|
||||
#: nano.c:1629
|
||||
#: nano.c:1631
|
||||
#, c-format
|
||||
msgid "%s enable/disable"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1641
|
||||
#: nano.c:1643
|
||||
msgid "enabled"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1642
|
||||
#: nano.c:1644
|
||||
msgid "disabled"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1870
|
||||
#: nano.c:1872
|
||||
msgid "Main: set up windows\n"
|
||||
msgstr "Main: configuration des fenêtres\n"
|
||||
|
||||
#: nano.c:1877
|
||||
#: nano.c:1879
|
||||
msgid "Main: bottom win\n"
|
||||
msgstr "Main: fenêtre du bas\n"
|
||||
|
||||
#: nano.c:1883
|
||||
#: nano.c:1885
|
||||
msgid "Main: open file\n"
|
||||
msgstr "Main: ouvrir fichier\n"
|
||||
|
||||
#: nano.c:1917
|
||||
#: nano.c:1919
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-O-%c! (%d)\n"
|
||||
msgstr "J'ai reçu Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1941
|
||||
#: nano.c:1943
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-1-%c! (%d)\n"
|
||||
msgstr "J'ai reçu Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1966
|
||||
#: nano.c:1968
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-2-%c! (%d)\n"
|
||||
msgstr "J'ai reçu Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2014
|
||||
#: nano.c:2016
|
||||
#, c-format
|
||||
msgid "I got Alt-[-%c! (%d)\n"
|
||||
msgstr "J'ai reçu Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2040
|
||||
#: nano.c:2042
|
||||
#, c-format
|
||||
msgid "I got Alt-%c! (%d)\n"
|
||||
msgstr "J'ai reçu Alt-%c! (%d)\n"
|
||||
|
|
24
po/id.po
24
po/id.po
|
@ -6,7 +6,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: nano-0.9.10\n"
|
||||
"POT-Creation-Date: 2000-09-12 19:05-0400\n"
|
||||
"POT-Creation-Date: 2000-09-13 10:08-0400\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"
|
||||
|
@ -700,52 +700,52 @@ msgstr "Tidak dapat mengganti ukuran jendela bawah"
|
|||
msgid "Cannot move bottom win"
|
||||
msgstr "Tidak dapat memindah jendela bawah"
|
||||
|
||||
#: nano.c:1629
|
||||
#: nano.c:1631
|
||||
#, c-format
|
||||
msgid "%s enable/disable"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1641
|
||||
#: nano.c:1643
|
||||
msgid "enabled"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1642
|
||||
#: nano.c:1644
|
||||
msgid "disabled"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1870
|
||||
#: nano.c:1872
|
||||
msgid "Main: set up windows\n"
|
||||
msgstr "Main: menset jendela\n"
|
||||
|
||||
#: nano.c:1877
|
||||
#: nano.c:1879
|
||||
msgid "Main: bottom win\n"
|
||||
msgstr "Main: jendela bawah\n"
|
||||
|
||||
#: nano.c:1883
|
||||
#: nano.c:1885
|
||||
msgid "Main: open file\n"
|
||||
msgstr "Main: membuka file\n"
|
||||
|
||||
#: nano.c:1917
|
||||
#: nano.c:1919
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-O-%c! (%d)\n"
|
||||
msgstr "Saya mendapat Alt-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1941
|
||||
#: nano.c:1943
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-1-%c! (%d)\n"
|
||||
msgstr "Saya mendapat Alt-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1966
|
||||
#: nano.c:1968
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-2-%c! (%d)\n"
|
||||
msgstr "Saya mendapat Alt-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2014
|
||||
#: nano.c:2016
|
||||
#, c-format
|
||||
msgid "I got Alt-[-%c! (%d)\n"
|
||||
msgstr "Saya mendapat Alt-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2040
|
||||
#: nano.c:2042
|
||||
#, c-format
|
||||
msgid "I got Alt-%c! (%d)\n"
|
||||
msgstr "Saya mendapat Alt-%c! (%d)\n"
|
||||
|
|
24
po/it.po
24
po/it.po
|
@ -7,7 +7,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 0.8.7\n"
|
||||
"POT-Creation-Date: 2000-09-12 19:05-0400\n"
|
||||
"POT-Creation-Date: 2000-09-13 10:08-0400\n"
|
||||
"PO-Revision-Date: 2000-03-03 04:57+0100\n"
|
||||
"Last-Translator: Daniele Medri <madrid@linux.it>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -687,52 +687,52 @@ msgstr "Impossibile ridimensionare la finestra inferiore"
|
|||
msgid "Cannot move bottom win"
|
||||
msgstr "Impossibile spostare la finestra inferiore"
|
||||
|
||||
#: nano.c:1629
|
||||
#: nano.c:1631
|
||||
#, c-format
|
||||
msgid "%s enable/disable"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1641
|
||||
#: nano.c:1643
|
||||
msgid "enabled"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1642
|
||||
#: nano.c:1644
|
||||
msgid "disabled"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1870
|
||||
#: nano.c:1872
|
||||
msgid "Main: set up windows\n"
|
||||
msgstr "Main: configura finestre\n"
|
||||
|
||||
#: nano.c:1877
|
||||
#: nano.c:1879
|
||||
msgid "Main: bottom win\n"
|
||||
msgstr "Main: finestra inferiore\n"
|
||||
|
||||
#: nano.c:1883
|
||||
#: nano.c:1885
|
||||
msgid "Main: open file\n"
|
||||
msgstr "Main: apri file\n"
|
||||
|
||||
#: nano.c:1917
|
||||
#: nano.c:1919
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-O-%c! (%d)\n"
|
||||
msgstr "Premuto Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1941
|
||||
#: nano.c:1943
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-1-%c! (%d)\n"
|
||||
msgstr "Premuto Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:1966
|
||||
#: nano.c:1968
|
||||
#, fuzzy, c-format
|
||||
msgid "I got Alt-[-2-%c! (%d)\n"
|
||||
msgstr "Premuto Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2014
|
||||
#: nano.c:2016
|
||||
#, c-format
|
||||
msgid "I got Alt-[-%c! (%d)\n"
|
||||
msgstr "Premuto Alt-[-%c! (%d)\n"
|
||||
|
||||
#: nano.c:2040
|
||||
#: nano.c:2042
|
||||
#, c-format
|
||||
msgid "I got Alt-%c! (%d)\n"
|
||||
msgstr "Premuto Alt-%c! (%d)\n"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2000-09-13 10:08-0400\n"
|
||||
"POT-Creation-Date: 2000-09-13 10:30-0400\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"
|
||||
|
@ -710,17 +710,17 @@ msgstr ""
|
|||
msgid "I got Alt-[-1-%c! (%d)\n"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:1968
|
||||
#: nano.c:1976
|
||||
#, c-format
|
||||
msgid "I got Alt-[-2-%c! (%d)\n"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:2016
|
||||
#: nano.c:2024
|
||||
#, c-format
|
||||
msgid "I got Alt-[-%c! (%d)\n"
|
||||
msgstr ""
|
||||
|
||||
#: nano.c:2042
|
||||
#: nano.c:2050
|
||||
#, c-format
|
||||
msgid "I got Alt-%c! (%d)\n"
|
||||
msgstr ""
|
||||
|
|
Loading…
Reference in New Issue