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: Sun, 01 Jun 2014 13:18:17 -0400 Message-ID: <20140601171817.GB9362@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> 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=Y7xTucakfITjPcLV X-Trace: ger.gmane.org 1401643165 16492 80.91.229.3 (1 Jun 2014 17:19:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2014 17:19:25 +0000 (UTC) Cc: 17497@debbugs.gnu.org To: Thomas Dickey Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 01 19:19:18 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 1Wr9Ph-0001Cl-Sx for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jun 2014 19:19:17 +0200 Original-Received: from localhost ([::1]:41535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr9Ph-00034O-9m for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jun 2014 13:19:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr9PY-00032I-Oa for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 13:19:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wr9PS-0001v9-N4 for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 13:19:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr9PS-0001v5-Jv for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 13:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wr9PS-0004oK-0Q for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 13:19: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: Sun, 01 Jun 2014 17:19:01 +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.140164312618465 (code B ref 17497); Sun, 01 Jun 2014 17:19:01 +0000 Original-Received: (at 17497) by debbugs.gnu.org; 1 Jun 2014 17:18:46 +0000 Original-Received: from localhost ([127.0.0.1]:40042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wr9PB-0004nj-Ci for submit@debbugs.gnu.org; Sun, 01 Jun 2014 13:18:46 -0400 Original-Received: from vms173001pub.verizon.net ([206.46.173.1]:64938) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wr9P9-0004nS-1L for 17497@debbugs.gnu.org; Sun, 01 Jun 2014 13:18:43 -0400 Original-Received: from localhost.localdomain ([unknown] [96.241.179.238]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N6I00HV32QHQHF0@vms173001.mailsrvcs.net> for 17497@debbugs.gnu.org; Sun, 01 Jun 2014 12:18:22 -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 s51HIHRK009488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 01 Jun 2014 13:18:17 -0400 Original-Received: (from tom@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s51HIHI6009486; Sun, 01 Jun 2014 13:18:17 -0400 Content-disposition: inline In-reply-to: <20140601171244.GA9362@aerie.jexium-island.net> 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:89865 Archived-At: --Y7xTucakfITjPcLV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 01, 2014 at 01:12:44PM -0400, Thomas Dickey wrote: > Most of the file, however, consists of repainting the menu. By the way, since the menu covers only half the screen, there aren't any general-purpose scrolling optimizations that would help. (xterm does support left/right margins, which would be interesting to explore in this area). What ncurses does when it's getting behind is to drop updates - the typeahead feature: The curses library does ``line-breakout optimization'' by looking = for typeahead periodically while updating the screen. If input is fou= nd, and it is coming from a tty, the current update is postponed until = re- fresh or doupdate is called again. This allows faster response to c= om- mands typed in advance. Normally, the input FILE pointer passed= to newterm, or stdin in the case that initscr was used, will be used to= do this typeahead checking. The typeahead routine specifies that the f= ile descriptor fd is to be used to check for typeahead instead. If fd = is -1, then no typeahead checking is done. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --Y7xTucakfITjPcLV 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) iEYEARECAAYFAlOLYFkACgkQcCNT4PfkjtvxmwCgp0VE7nOGCCthjXdrDna4ABBA 13IAoNKRH2Ycu2CmPqHiQ7TQKgqMQh7R =RKzi -----END PGP SIGNATURE----- --Y7xTucakfITjPcLV--