- Added Meta-Y toggle to disable/enable color syntax highlighting
completely. This may eventually be per-buffer, but that's too
complicated for a feature freeze.
+ - Disable VSTOP keystroke. Stops people accidentally locking up
+ nano (suggested by David Benbennick).
GNU nano 1.1.11 - 10/01/2002
- General:
#ifdef _POSIX_VDISABLE
tcgetattr(0, &term);
+ /* Ignore ^s, much to Chris' chagrin */
+ term.c_cc[VSTOP] = _POSIX_VDISABLE;
+
#ifdef VDSUSP
term.c_cc[VDSUSP] = _POSIX_VDISABLE;
#endif /* VDSUSP */
break;
}
}
+
+#ifdef _POSIX_VDISABLE
+ /* Don't even think about changing this string */
+ if (kbinput == 19)
+ statusbar(_("XOFF ignored, mumble mumble."));
+#endif
/* If we're in raw mode or using Alt-Alt-x, we have to catch
Control-S and Control-Q */
if (kbinput == 17 || kbinput == 19)