From 58f36a9f3a86a8dcca745238e7438f2a73852339 Mon Sep 17 00:00:00 2001 From: tg <tg@mirbsd.org> Date: Sat, 25 Jun 2016 23:49:50 +0000 Subject: [PATCH] increase default input line, from PLD Linux (for as long as we still have the size static, and !MKSH_SMALL) --- sh.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sh.h b/sh.h index f06327c..d5234e4 100644 --- a/sh.h +++ b/sh.h @@ -175,7 +175,7 @@ #endif #ifdef EXTERN -__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.772 2016/05/17 15:36:34 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.773 2016/06/25 23:49:50 tg Exp $"); #endif #define MKSH_VERSION "R52 2016/05/17" @@ -1082,7 +1082,11 @@ EXTERN bool builtin_spec; EXTERN char *current_wd; /* input line size */ +#ifdef MKSH_SMALL #define LINE (4096 - ALLOC_OVERHEAD) +#else +#define LINE (16384 - ALLOC_OVERHEAD) +#endif /* * Minimum required space to work with on a line - if the prompt leaves * less space than this on a line, the prompt is truncated.