increase default input line, from PLD Linux

(for as long as we still have the size static, and !MKSH_SMALL)
This commit is contained in:
tg 2016-06-25 23:49:50 +00:00
parent b5127b03be
commit 58f36a9f3a
1 changed files with 5 additions and 1 deletions

6
sh.h
View File

@ -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.