CVS code -
- po/de.po:
- Updated German translation (Karl Eichwalder).
+- nano.c:
+ main()
+ - Added better Hurd support for function keys (Alt-V,U,9,@,F).
+ signal_init()
+ - do SIG_IGN for the SIGTSTP sigaction regardless of whether
+ we have _POSIX_VDISABLE or not (more Hurd fixes)
nano-1.0.6 - 10/29/2001
- General
tcgetattr(0, &term);
term.c_cc[VSUSP] = _POSIX_VDISABLE;
tcsetattr(0, TCSANOW, &term);
-#else
+#endif
+
+ /* The HURD seems to need this anyway! */
act.sa_handler = SIG_IGN;
sigaction(SIGTSTP, &act, NULL);
-#endif
} else {
/* if we don't do this, it seems other stuff interrupts the
kbinput = KEY_PPAGE;
wgetch(edit);
break;
+ case 'V': /* Alt-[-V = Page Up in Hurd Console */
case 'I': /* Alt-[-I = Page Up - FreeBSD Console */
kbinput = KEY_PPAGE;
break;
kbinput = KEY_NPAGE;
wgetch(edit);
break;
+ case 'U': /* Alt-[-U = Page Down in Hurd Console */
case 'G': /* Alt-[-G = Page Down - FreeBSD Console */
kbinput = KEY_NPAGE;
break;
kbinput = KEY_END;
wgetch(edit);
break;
+ case '9': /* Alt-[-9 = Delete in Hurd Console */
+ kbinput = KEY_DC;
+ break;
+ case '@': /* Alt-[-9 = Insert in Hurd Console */
case 'L': /* Insert Key - FreeBSD Console */
do_insertfile();
keyhandled = 1;
kbinput = KEY_HOME;
break;
case 'F':
+ case 'Y': /* End Key in Hurd Console */
kbinput = KEY_END;
break;
default: