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:
6
sh.h
6
sh.h
@@ -175,7 +175,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef EXTERN
|
#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
|
#endif
|
||||||
#define MKSH_VERSION "R52 2016/05/17"
|
#define MKSH_VERSION "R52 2016/05/17"
|
||||||
|
|
||||||
@@ -1082,7 +1082,11 @@ EXTERN bool builtin_spec;
|
|||||||
EXTERN char *current_wd;
|
EXTERN char *current_wd;
|
||||||
|
|
||||||
/* input line size */
|
/* input line size */
|
||||||
|
#ifdef MKSH_SMALL
|
||||||
#define LINE (4096 - ALLOC_OVERHEAD)
|
#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
|
* Minimum required space to work with on a line - if the prompt leaves
|
||||||
* less space than this on a line, the prompt is truncated.
|
* less space than this on a line, the prompt is truncated.
|
||||||
|
Reference in New Issue
Block a user