--#define LINE 4096 /* input line size */
-+#define LINE 16384 /* input line size */
-
- EXTERN const char *safe_prompt; /* safe prompt if PS1 substitution fails */
- EXTERN const char initvsn[] I__("KSH_VERSION=@(#)MIRBSD KSH " MKSH_VERSION);
+ /* input line size */
+-#define LINE (4096 - ALLOC_SIZE)
++#define LINE (16384 - ALLOC_SIZE)
+ /*
+ * Minimum required space to work with on a line - if the prompt leaves
+ * less space than this on a line, the prompt is truncated.