CVS Code -
+- nano.c:
+ main()
+ - Add Esc-[IGL] keys for FreeBSD Console (PgUp,PgDn,Insert).
nano-1.1.3 - 10/26/2001
- General
kbinput = KEY_PPAGE;
wgetch(edit);
break;
+ case 'I': /* Alt-[-I = Page Up - FreeBSD Console */
+ kbinput = KEY_PPAGE;
+ break;
case '6': /* Alt-[-6 = Page Down */
kbinput = KEY_NPAGE;
wgetch(edit);
break;
+ case 'G': /* Alt-[-G = Page Down - FreeBSD Console */
+ kbinput = KEY_NPAGE;
+ break;
case '7':
kbinput = KEY_HOME;
wgetch(edit);
kbinput = KEY_END;
wgetch(edit);
break;
+ case 'L': /* Insert Key - FreeBSD Console */
+#ifdef ENABLE_MULTIBUFFER
+ do_insertfile(ISSET(MULTIBUFFER));
+#else
+ do_insertfile(0);
+#endif
+ keyhandled = 1;
+ break;
case '[': /* Alt-[-[-[A-E], F1-F5 in linux console */
kbinput = wgetch(edit);
if (kbinput >= 'A' && kbinput <= 'E')