From 3e6967b30c77612065b18b9a17cef125d208d534 Mon Sep 17 00:00:00 2001 From: das Date: Wed, 5 Mar 2003 08:17:10 +0000 Subject: [PATCH] Raise the default value of TTYHOG from 1 kB to 8 kB. Since TTYHOG is an administrative limit on the size of tty/pty input buffers, this is mostly an inconsequential change. (slti(4) will allocate an 8 kB static buffer instead of a 1 kB buffer due to a hack in the driver.) The increase happens to kludge around a lame limitation of syscons, which does not allow one to paste more than TTYHOG bytes. PR: 42031 Reviewed by: mike (mentor) --- sys/sys/tty.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/tty.h b/sys/sys/tty.h index f1c4231b4421..b298e8ae2c27 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -168,7 +168,7 @@ struct xtty { #define OBUFSIZ 100 #ifndef TTYHOG -#define TTYHOG 1024 +#define TTYHOG 8192 #endif #ifdef _KERNEL