From owner-freebsd-bugs Mon Jun 5 16:06:06 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA15160 for bugs-outgoing; Mon, 5 Jun 1995 16:06:06 -0700 Received: from pelican.com (pelican.com [134.24.4.62]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id QAA15145 for ; Mon, 5 Jun 1995 16:05:58 -0700 Received: by pelican.com (Smail3.1.28.1 #5) id m0sIlDC-000K0hC; Mon, 5 Jun 95 16:05 WET DST Message-Id: From: pete@pelican.com (Pete Carah) Subject: TTYHOG still... To: bugs@FreeBSD.org Date: Mon, 5 Jun 1995 16:05:34 -0700 (PDT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1494 Sender: bugs-owner@FreeBSD.org Precedence: bulk PLEASE PLEASE (OK, wait for release, maybe, but it is impossible to run uucp on a fast link as things are) fix TTYHOG to be an option: (or *better*, fix the real problem and make clist sizes dynamic; it is ridiculous to make interactive opens have 16k ttyhog just to get uucp to work on a single port.) At 1024 I can sometimes get errors just from chat setting up a slip call. Yes, I have crtscts set and it does work. I still get the ****** ttyhog error message. Related to this: ***FLAME ON: Also, don't insist in the man page and rc.serial that setting crtscts is an application responsibility; it isn't. It is a hardware consideration and depends entirely on what is connected to the port; the sysadmin knows which ports need it, and the setting needs to apply to everything, even the shell and 'cat', for several. The init+lock device is the right thing, only it is documented rather negatively. The application (in this kind of case) has *no business whatever* knowing what kind of device is connected; it only knows about data streams. ***FLAME OFF -- Pete -------------------------------------------------------------------------- /usr/src/sys/sys/tty.h: #define IBUFSIZ 384 /* Should be >= max value of MIN. */ #define OBUFSIZ 100 +#ifndef TTYHOG #define TTYHOG 1024 +#endif #ifdef KERNEL #define TTMAXHIWAT roundup(2048, CBSIZE) #define TTMINHIWAT roundup(100, CBSIZE) -------------------------------------------------------------