From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Dickey Newsgroups: gmane.emacs.bugs Subject: bug#17497: 24.4.50; TTY menu glitches Date: Wed, 04 Jun 2014 04:31:02 -0400 Message-ID: <20140604083102.GA4928@aerie.jexium-island.net> References: <83vbslbuqr.fsf@gnu.org> <20140531200947.GA779@aerie.jexium-island.net> <83lhtgbrd6.fsf@gnu.org> <20140601152657.GA15078@aerie.jexium-island.net> <838upgbnra.fsf@gnu.org> <20140601171244.GA9362@aerie.jexium-island.net> <20140601171817.GB9362@aerie.jexium-island.net> <20140603184749.GA3646@aerie.jexium-island.net> Reply-To: dickey@his.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=rwEMma7ioTxnRzrJ X-Trace: ger.gmane.org 1401870748 14503 80.91.229.3 (4 Jun 2014 08:32:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2014 08:32:28 +0000 (UTC) Cc: 17497@debbugs.gnu.org, Thomas Dickey To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 04 10:32:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ws6cN-0000mF-AU for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jun 2014 10:32:19 +0200 Original-Received: from localhost ([::1]:58279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws6cM-0001al-U7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jun 2014 04:32:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws6cD-0001ZP-EN for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:32:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws6c6-000883-U8 for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:32:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws6c6-00087z-R6 for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ws6c6-00012t-Cc for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Dickey Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Jun 2014 08:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17497 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17497-submit@debbugs.gnu.org id=B17497.14018706983974 (code B ref 17497); Wed, 04 Jun 2014 08:32:02 +0000 Original-Received: (at 17497) by debbugs.gnu.org; 4 Jun 2014 08:31:38 +0000 Original-Received: from localhost ([127.0.0.1]:43006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ws6be-00011y-80 for submit@debbugs.gnu.org; Wed, 04 Jun 2014 04:31:38 -0400 Original-Received: from vms173015pub.verizon.net ([206.46.173.15]:62229) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ws6bX-00011R-Tu for 17497@debbugs.gnu.org; Wed, 04 Jun 2014 04:31:31 -0400 Original-Received: from localhost.localdomain ([unknown] [96.241.179.238]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N6M00LKJYBR2V90@vms173015.mailsrvcs.net> for 17497@debbugs.gnu.org; Wed, 04 Jun 2014 03:31:03 -0500 (CDT) Original-Received: from localhost.localdomain (aerie [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id s548V2iO004962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 04 Jun 2014 04:31:02 -0400 Original-Received: (from tom@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s548V23Z004960; Wed, 04 Jun 2014 04:31:02 -0400 Content-disposition: inline In-reply-to: User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89965 Archived-At: --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 03, 2014 at 11:03:08PM -0400, Stefan Monnier wrote: > > repeating: if the cursor-key sequence of characters is misinterpreted > > (for example due to timeouts), then fragments of the sequences will > > echo as unexpected characters. >=20 > I do not understand what that means. By "cursor-key sequence of > characters" do you mean the escape sequence sent by the terminal to > Emacs or the cursor-motion escape sequences sent from Emacs to the > text terminal? =46rom the terminal to Emacs. Cursor up typically is ESC [ A three characters. Curses applications behave differently if you type those three characters, one-by-one, because of timing. > What timeouts are you referring to? Are you saying that the terminal > emulator has internal timeouts? If so, can you describe when and how > they come into play? Typically the _application_ (Emacs) waits for completion of a control seque= nce. =20 > It seems you're saying that the escape sequences Emacs sends to the > terminal need to be within a single "packet", because if such an escape > sequence is split among several "fflush" the terminal emulator won't > wait indefinitely for the second chunk, and instead will timeout after > a fairly short wait and consider the escape sequence as "unexpected > characters". That's part of it. Usually the input (from the terminal to the application) is more important. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlOO2UYACgkQcCNT4PfkjtuNtgCcDxflYiejf5jbV+gjtRxJ+nWy m2IAn2vkaH+XuGE8obit1jIeBseYQMvm =D+CI -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--