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:
parent
b5127b03be
commit
58f36a9f3a
6
sh.h
6
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user