From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19802 invoked by alias); 16 May 2005 08:23:47 -0000 Mailing-List: contact ecos-devel-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@sources.redhat.com Received: (qmail 19141 invoked from network); 16 May 2005 08:23:27 -0000 Received: from unknown (HELO anchor-post-35.mail.demon.net) (194.217.242.85) by sourceware.org with SMTP; 16 May 2005 08:23:27 -0000 Received: from calivar.demon.co.uk ([83.104.54.243] helo=xl5.calivar.com) by anchor-post-35.mail.demon.net with esmtp (Exim 4.42) id 1DXapK-000NrB-I5; Mon, 16 May 2005 08:19:56 +0000 Received: from xl5.calivar.com (localhost [127.0.0.1]) by xl5.calivar.com (Postfix) with ESMTP id CDDFBF9FC; Mon, 16 May 2005 09:23:05 +0100 (BST) To: =?ks_c_5601-1987?B?sejB1rW/?= Cc: Subject: Re: How to make tty buffer size longer????? References: From: Nick Garnett Original-Sender: nickg@ecoscentric.com Date: Mon, 16 May 2005 08:23:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-05/txt/msg00011.txt.bz2 =?ks_c_5601-1987?B?sejB1rW/?= writes: > Hi. everyone. > > Thank you for your answer. > But, can you tell me more detail? > I tryed setbuf(). > But it maked a bit bigger size of buffer( 256 -> 260 ). > I need 1kbyte(1024byte). There are two sets of buffers you can control. The first are the ring buffers in the device driver, whose size you can set in the configtool. The second are the buffers in the C library streams, which you can either set in the configtool, or at runtime using setvbuf(). -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com The eCos and RedBoot experts