From owner-freebsd-bugs Mon Aug 26 5:50: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BC3A37B400 for ; Mon, 26 Aug 2002 05:50:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74A8843E6E for ; Mon, 26 Aug 2002 05:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7QCo2JU028129 for ; Mon, 26 Aug 2002 05:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7QCo2fu028128; Mon, 26 Aug 2002 05:50:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CEC237B400 for ; Mon, 26 Aug 2002 05:43:49 -0700 (PDT) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7CEC43E4A for ; Mon, 26 Aug 2002 05:43:48 -0700 (PDT) (envelope-from das@HAL9000.homeunix.com) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.5/8.12.5) with ESMTP id g7QCiVZC002302 for ; Mon, 26 Aug 2002 05:44:31 -0700 (PDT) (envelope-from das@HAL9000.homeunix.com) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.5/8.12.5/Submit) id g7QCiVK2002301; Mon, 26 Aug 2002 05:44:31 -0700 (PDT) (envelope-from das) Message-Id: <200208261244.g7QCiVK2002301@HAL9000.homeunix.com> Date: Mon, 26 Aug 2002 05:44:31 -0700 (PDT) From: David Schultz Reply-To: David Schultz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/42031: paste in syscons doesn't work properly Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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