From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ged Haywood Newsgroups: gmane.emacs.help Subject: Re: Cursor movement screwy on remote sessions. Date: Sat, 18 Sep 2004 18:36:53 +0100 (BST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <200409181557.i8IFvta2026560@mail3.jubileegroup.co.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1095529040 13704 80.91.229.6 (18 Sep 2004 17:37:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2004 17:37:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 18 19:37:12 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C8j95-0007LG-00 for ; Sat, 18 Sep 2004 19:37:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8jEs-0006rI-2S for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Sep 2004 13:43:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C8jEj-0006r7-4W for help-gnu-emacs@gnu.org; Sat, 18 Sep 2004 13:43:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C8jEh-0006qo-8l for help-gnu-emacs@gnu.org; Sat, 18 Sep 2004 13:43:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8jEh-0006qe-5b for help-gnu-emacs@gnu.org; Sat, 18 Sep 2004 13:42:59 -0400 Original-Received: from [217.147.177.250] (helo=mail3.jubileegroup.co.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C8j8p-0004Gz-5d for help-gnu-emacs@gnu.org; Sat, 18 Sep 2004 13:36:55 -0400 Original-Received: from mail3.jubileegroup.co.uk (localhost [127.0.0.1]) by mail3.jubileegroup.co.uk (8.12.11/8.12.11) with ESMTP id i8IHarTm027506 for ; Sat, 18 Sep 2004 18:36:54 +0100 Original-Received: from localhost (ged@localhost) by mail3.jubileegroup.co.uk (8.12.11/8.12.11/Submit) with ESMTP id i8IHarlO027503 for ; Sat, 18 Sep 2004 18:36:53 +0100 X-Authentication-Warning: mail3.jubileegroup.co.uk: ged owned process doing -bs Original-To: help-gnu-emacs@gnu.org In-Reply-To: <200409181557.i8IFvta2026560@mail3.jubileegroup.co.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.4 (mail3.jubileegroup.co.uk [0.0.0.0]); Sat, 18 Sep 2004 18:36:54 +0100 (BST) Received-SPF: pass (mail3.jubileegroup.co.uk: localhost is always allowed.) receiver=mail3.jubileegroup.co.uk; client-ip=127.0.0.1; helo=mail3.jubileegroup.co.uk; envelope-from=ged@jubileegroup.co.uk; x-software=spfmilter 0.93 http://www.acme.com/software/spfmilter/; X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20760 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20760 Hi there, On Sat, 18 Sep 2004 Thomas Dickey wrote: > Ged Haywood wrote: > > > The cursor doesn't reliably move to the place it's supposed to go to > > it's probably network delays (the escape sequence is read over too long > a time interval to allow the application to interpret it as one chunk). That makes perfect sense. Thanks Thomas, I'll look into it. > I don't know what you must tweak in emacs to make this work (it's > simple with ncurses). Now you've said it, a few pennies are starting to drop. It looks as though most of the time it's the local end that's getting it wrong - Emacs usually seems to know where the cursor should be, but the xterm doesn't - but it's not always that way, which could explain the screwy nature of the problem and why the cause isn't as clear as it might be. It probably means I'd be better off running Emacs locally on the remote file rather than running emacs remotely on the same file. Unfortunately it's often a remote application that's starting Emacs for me, but I can easily get around that. Thanks again. 73, Ged.