From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id F1AB81F012C; Mon, 1 May 2017 11:59:47 -0400 (EDT) Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) by befuddled.reisers.ca (Postfix) with ESMTPS id 725B71F00E4 for ; Mon, 1 May 2017 11:59:45 -0400 (EDT) Received: by mail-wr0-x22f.google.com with SMTP id l50so65202520wrc.3 for ; Mon, 01 May 2017 08:59:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9ruZ0X4pg56JrTZP7Ofr+IxBXMMWXMB/hgho8vbbVLw=; b=jc32nrPLfJVMuOpdRjGnPodd7SSfzM1XDf2FqD1WZM3YJIf/APsgYUIQ5QII76ZLE0 4Zwz7Lp4YOhUALGO8AOv34KMv33hElK7QFOzj7d27tFVq6f7YzJQbXLk6JSiM2lI0unE 0wpTUo4iMU+kh9HrHnCvLrY12+xIu7xE2yaDDGrRdvDzVTid0zdJqWybvQHnYys6jR6C Roq7tN0maDfNx42nbgNubQwIcFtqr8V9H9KC+WBr9awq0caKp1vNRlTYi6ap7feGbnPK qXL1gBBkXI8rrs7Mq2K5z3Eo1LBTFfnsBudsilDG0X4RlHgj5+EDbOKWzAdLdU6dr62P P30A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9ruZ0X4pg56JrTZP7Ofr+IxBXMMWXMB/hgho8vbbVLw=; b=uaY8iDoDHdr4tRwaqZrmXzmd8XIgO+AWqzZgSdqITfb2Mt1wH/CstMI4ZDY137JR2j M2QLoVDdqPmU7Qa6U6t+hb2vCOUQicLUezTGa3lo+r7lWZC5E3Y8CZ3SiIn3+navUhz0 jdERcjzqq9xuTsoocpOwyCfTSj/HORHhUxCJ8veYS6WyKi10s2SHD/WE4udegPBXJQPi pi0oUpYsIAMYjUQ4mgfh/jgdCHpA40wcBQ6UhHEzuuxwj9b8aqUvtPvusivee7h93nlU e+425cjjpuTrjgAnqdj/OTo8JhcAFe0O7y8vAwlDgeQ0aI0V1TqXndLtqZjrQKq02ssD /PLg== X-Gm-Message-State: AN3rC/5A94z9m8a/BnnfRiI9PjXn/P/96u6G58ToexW+6U1ibDhWFu+8 D0mEfoP9KVpv0G/L X-Received: by 10.223.172.165 with SMTP id o34mr4007239wrc.155.1493654376754; Mon, 01 May 2017 08:59:36 -0700 (PDT) Received: from sanghar ([2a00:23c4:7320:5e00:224:d6ff:fe76:7136]) by smtp.gmail.com with ESMTPSA id k63sm10917721wmf.9.2017.05.01.08.59.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 May 2017 08:59:35 -0700 (PDT) Date: Mon, 1 May 2017 16:59:33 +0100 From: Okash Khawaja To: Samuel Thibault Cc: covici@ccs.covici.com, "Speakup is a screen review system for Linux." Subject: Re: DecTalk External (decext) testers wanted! Message-ID: <20170501155933.GA660@sanghar> References: <20170411065239.GA446@sanghar> <20170501093157.nktysqryj6eltlps@var.youpi.perso.aquilenet.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170501093157.nktysqryj6eltlps@var.youpi.perso.aquilenet.fr> User-Agent: Mutt/1.8.2 (2017-04-18) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2017 15:59:48 -0000 Hi, On Mon, May 01, 2017 at 11:31:57AM +0200, Samuel Thibault wrote: > Hello, > > John Covici, on dim. 30 avril 2017 04:18:12 -0400, wrote: > > If there is a lot of output, it takes a very long time -- 30 seconds > > or more to shut up when I hit the enter key on the numpad. > > Okash, this may be related with the serial port layer buffering data. Right, that would explain it but I thought send_xchar would prioritise SYNTH_CLEAR over buffered data. > I > realize that we haven't made the synth_flush functions call the > flush_buffer tty ops. We need to do so, otherwise even if we send the > clear character, that's only after the processing of pending data. > > So in the synth_flush functions, one needs to first call flush_buffer() > and then send the clear character. > > Yes, flush_buffer is yet another method to be added to the spk_io_ops > structure. Cool, I'll make the changes and share them here as a patch. > In the serialio case, you can just let it do nothing. One > could want to flush the UART 16550 buffer but that's not the point of > your patch anyway :) Sure, may be something to keep in mind for later. Thanks, Okash