From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent Lefevre Newsgroups: gmane.emacs.devel Subject: Re: ";0c" in terminal with slow connections Date: Thu, 6 Sep 2007 14:50:34 +0200 Message-ID: <20070906125034.GE9115@prunille.vinc17.org> References: <20070903105723.GA4091@prunille.vinc17.org> <200709060534.l865YScm001171@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1189086286 28294 80.91.229.12 (6 Sep 2007 13:44:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 13:44:46 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Stefan Monnier To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 15:44:45 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ITHez-00048a-Rf for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 15:44:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITHey-000457-40 for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 09:44:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITGpE-0004mX-E4 for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:51:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITGp9-0004la-FG for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:51:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITGp9-0004lX-C4 for emacs-devel@gnu.org; Thu, 06 Sep 2007 08:51:07 -0400 Original-Received: from vinc17.pck.nerim.net ([213.41.242.187] helo=prunille.vinc17.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITGox-0001A7-CG; Thu, 06 Sep 2007 08:50:55 -0400 Original-Received: by prunille.vinc17.org (Postfix, from userid 501) id F317718DEC12; Thu, 6 Sep 2007 14:50:34 +0200 (CEST) Mail-Followup-To: Vincent Lefevre , Dan Nicolaescu , rms@gnu.org, Stefan Monnier , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <200709060534.l865YScm001171@oogie-boogie.ics.uci.edu> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.16-vl-r18739 (2007-09-04) X-Detected-Kernel: FreeBSD 6.x (2) X-Mailman-Approved-At: Thu, 06 Sep 2007 09:44:32 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77973 Archived-At: On 2007-09-05 22:34:28 -0700, Dan Nicolaescu wrote: > Richard Stallman writes: >=20 > > Grep says it's in lisp/term/xterm.el > >=20 > > Does this mean that the ssh connection was made from within an xter= m? Yes (either xterm or another xterm-compatible terminal). > > It seems that the xterm is generating the proper response, > > which goes back thru ssh to Emacs. > >=20 > > So why doesn't Emacs process it correctly? >=20 > Emacs uses a read-event with a timer for processing the response, > maybe the response does come back before the timer expires, so it is ^^^^^^ after > processed as normal input. Yes, I think this is the problem, as it occurs only with connections having a high latency (such as ADSL). Is a timer really necessary? --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)