From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 9B6971F006A; Fri, 5 May 2017 03:50:35 -0400 (EDT) Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) by befuddled.reisers.ca (Postfix) with ESMTPS id C90A41F002D for ; Fri, 5 May 2017 03:50:33 -0400 (EDT) Received: by mail-wr0-x243.google.com with SMTP id 6so3548235wrb.1 for ; Fri, 05 May 2017 00:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=aGlJEIDlpvIc+aiBAEEuCUqMNJ1/N+CLAkUNSCglhWE=; b=krCNT/Fz19fnRVomchoLQmpxOnfxMkmhXZVbZ5Gf5/VzcM2kUGpH/WvbPccMMg4Ng0 79ecKHNVsWPseYoNASVCQZBWIt7AprPnnmb7bTM4G1J/a2kNPh8p76819pdKyu1dI2Jx oR/Y0ee3CTNWjhqI8Zehf2FzOh7dYYqdreLSeVn+07enlSeqXuo0Drxkt81yA7OG1D4o 1CzNGATcIQjHfk+yqR6AkBJQVz0AHLNC1j2xPv5H6ZWm7YSi2XkM0Zk47e0Ffm/TzMfK 9kzatOBnqicDw32rbphI7+OoESSVHJPTWFQEWN1XlR39/uQvKlQhc/F+9+50GcAYkX0C YgTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=aGlJEIDlpvIc+aiBAEEuCUqMNJ1/N+CLAkUNSCglhWE=; b=Dfe1fFEaXENuZ1hH7XUs2tBdh2QhRjToo/M7Zv+MB6RpZFlNnHGMtLCwtCsUqq7IHx Y5JRdp3849/bkXqsnqb13bL1F9WB9k+j994UhfdXBWTbjU8T5YANkirdgLLZQvbmI3IB /+veSHebDMKdxeb2veSNCUmTbUdifB+I4cZ0tkS6nHNmuBYFmVVfTSH4MyI2whVOozUf 1Pyhjz5OPdD1XC3vu3SQeGQ0brAILXZ6aUq04WaPCHfBuHNDD9DPMgV75AEbH5tTAEJq M2jcSXPvPIKe3dp2AkEvARlZDzMrWPgggKlql3ia+D+vjWSlyvrjE1wFRnO6W30yzgIl 45Pw== X-Gm-Message-State: AN3rC/6hXpy1buI9Unc2gzWWrcQhnSKHdgtOkwiTXpUf3QSlpXJGm3AS uolLS5nx12ozcw== X-Received: by 10.223.167.76 with SMTP id e12mr26578918wrd.177.1493970623841; Fri, 05 May 2017 00:50:23 -0700 (PDT) Received: from [10.38.84.184] (188.29.165.86.threembb.co.uk. [188.29.165.86]) by smtp.gmail.com with ESMTPSA id u7sm1099060wmg.19.2017.05.05.00.50.22 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 05 May 2017 00:50:22 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: staging: speakup: flush tty buffers From: Okash Khawaja X-Mailer: iPhone Mail (11A501) In-Reply-To: <20170504232141.ibq6d54b7vtb5kgi@var.youpi.perso.aquilenet.fr> Date: Fri, 5 May 2017 08:50:20 +0100 Cc: John Covici , "speakup@linux-speakup.org" Content-Transfer-Encoding: quoted-printable Message-Id: <50E7B22C-8717-42E7-B13F-412792A9B3FB@gmail.com> References: <20170501093320.fqjvxcoz6zloa4eg@var.youpi.perso.aquilenet.fr> <20170501180208.GA4197@sanghar> <20170501180335.GA4211@sanghar> <20170504232141.ibq6d54b7vtb5kgi@var.youpi.perso.aquilenet.fr> To: Samuel Thibault 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: Fri, 05 May 2017 07:50:35 -0000 Hi, > On 5 May 2017, at 00:21, Samuel Thibault wr= ote: >=20 > Hello, >=20 > John Covici, on mar. 02 mai 2017 19:05:15 -0400, wrote: >> Make sure that the modem lines rts-cts are also properly switched. >=20 > Mmm, I'm afraid we forgot to set that. >=20 > It seems RTS/CTS flow control is not enabled by default. Ah I see. So it is by reading the value returned by set_termios that we know= if RTS/CTS flow control enabled or not. I'm still learning as I have been w= hile working on speakup in general. > So in ttyio > we'd need to call tty_set_termios. See how set_termios gets the current > value, on which we just need to termios.c_cflag |=3D CRTSCTS before > calling tty_set_termios. Sure I'll update the patch.=20 Thanks, Okash