From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8648 invoked by alias); 7 Jan 2015 19:20:35 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 8621 invoked by uid 89); 7 Jan 2015 19:20:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout27.012.net.il Received: from mtaout27.012.net.il (HELO mtaout27.012.net.il) (80.179.55.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 07 Jan 2015 19:20:33 +0000 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NHT00200M7V7200@mtaout27.012.net.il> for gdb-patches@sourceware.org; Wed, 07 Jan 2015 21:12:49 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHT00PSWMPD8K40@mtaout27.012.net.il>; Wed, 07 Jan 2015 21:12:49 +0200 (IST) Date: Wed, 07 Jan 2015 19:20:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Speed up "gdb -tui" output In-reply-to: To: Doug Evans Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83bnma75yt.fsf@gnu.org> References: <83zj9v7urq.fsf@gnu.org> <83sifn7mpt.fsf@gnu.org> <83h9w278a9.fsf@gnu.org> X-IsSubscribed: yes X-SW-Source: 2015-01/txt/msg00137.txt.bz2 > Date: Wed, 7 Jan 2015 11:08:41 -0800 > From: Doug Evans > Cc: gdb-patches > > On Wed, Jan 7, 2015 at 10:30 AM, Eli Zaretskii wrote: > > The problem is not Windows per se, it's the Windows console driver > > implemented as part of ncurses. > > > >> So one way to go, and again, this is just a possibility, > >> is to not send tui_puts a character at a time. > > > > This means a major redesign of how ui-file and friends work, much more > > than the energy and time I have to spend on this issue. > > Depends on how one approaches it. If you have ideas how to do that without a major effort, please tell. I was talking based on several hours of staring at that stuff, but perhaps I missed something. > Note that while we do explicitly call *_unfiltered with single characters, > unfiltered output is not in itself broken up into single characters. Not sure what you mean by that. fputs_maybe_filtered, which is the workhorse of most of the output functions, explicitly writes out the stuff it gets one character at a time, by calling fputc_unfiltered. How's that not breaking output?