Date: Mon, 26 Aug 2002 05:44:31 -0700 (PDT) From: David Schultz <dschultz@uclink.Berkeley.EDU> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/42031: paste in syscons doesn't work properly Message-ID: <200208261244.g7QCiVK2002301@HAL9000.homeunix.com>
next in thread | raw e-mail | index | archive | help
>Number: 42031 >Category: kern >Synopsis: paste in syscons doesn't work properly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 26 05:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: David Schultz >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: >Description: TTYHOG in src/sys/sys/tty.h limits the number of bytes that may be stored in a tty's input buffer in order to prevent resource exhaustion. The historical value of this limit is 1024 bytes. However, this value is too low to support proper pasting in syscons; only the first 1K of the cut buffer is pasted. Raising the limit to 4096 bytes solves this problem even on 80x50 consoles. >How-To-Repeat: >Fix: Index: src/sys/sys/tty.h =================================================================== RCS file: /home/ncvs/src/sys/sys/tty.h,v retrieving revision 1.69 diff -u -r1.69 tty.h --- tty.h 2002/05/28 15:24:13 1.69 +++ tty.h 2002/08/26 12:39:40 @@ -168,7 +168,7 @@ #define OBUFSIZ 100 #ifndef TTYHOG -#define TTYHOG 1024 +#define TTYHOG 4096 #endif #ifdef _KERNEL >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208261244.g7QCiVK2002301>