vi gets upset if i maximise my terminal window. it might need to
go even bigger for 4k displays.
ok?
Index: common/options_f.c
===================================================================
RCS file: /cvs/src/usr.bin/vi/common/options_f.c,v
retrieving revision 1.7
diff -u -p -r1.7 options_f.c
--- common/options_f.c 27 Oct 2009 23:59:47 -0000 1.7
+++ common/options_f.c 8 Oct 2014 00:48:09 -0000
@@ -66,7 +66,7 @@ f_columns(sp, op, str, valp)
* number of lines/columns for the screen, but at least we don't drop
* core.
*/
-#define MAXIMUM_SCREEN_COLS 500
+#define MAXIMUM_SCREEN_COLS 768
if (*valp > MAXIMUM_SCREEN_COLS) {
msgq(sp, M_ERR, "041|Screen columns too large, greater than %d",
MAXIMUM_SCREEN_COLS);