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: Cursor movement screwy on remote sessions. Date: Fri, 17 Sep 2004 19:57:07 +0100 (BST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1095447461 24932 80.91.229.6 (17 Sep 2004 18:57:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2004 18:57:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 17 20:57:29 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 1C8NvE-0002Az-00 for ; Fri, 17 Sep 2004 20:57:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8O0x-0008Ls-Pa for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Sep 2004 15:03:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C8O0q-0008Ln-EC for help-gnu-emacs@gnu.org; Fri, 17 Sep 2004 15:03:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C8O0o-0008LS-TC for help-gnu-emacs@gnu.org; Fri, 17 Sep 2004 15:03:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8O0o-0008LI-MN for help-gnu-emacs@gnu.org; Fri, 17 Sep 2004 15:03:14 -0400 Original-Received: from [217.147.177.250] (helo=mail3.jubileegroup.co.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C8Nut-0008E5-OX for help-gnu-emacs@gnu.org; Fri, 17 Sep 2004 14:57:08 -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 i8HIv7Au011829 for ; Fri, 17 Sep 2004 19:57:07 +0100 Original-Received: from localhost (ged@localhost) by mail3.jubileegroup.co.uk (8.12.11/8.12.11/Submit) with ESMTP id i8HIv7EY011826 for ; Fri, 17 Sep 2004 19:57:07 +0100 X-Authentication-Warning: mail3.jubileegroup.co.uk: ged owned process doing -bs Original-To: help-gnu-emacs@gnu.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.4 (mail3.jubileegroup.co.uk [0.0.0.0]); Fri, 17 Sep 2004 19:57:07 +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:20742 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20742 Hi folks, First post, joined the list today for just this question. Read the faqs, Googled etc, didn't see anything remotely related to this. I use emacs remotely all over the place. One particular problem gives me great grief, only when using emacs remotely. The cursor doesn't reliably move to the place it's supposed to go to on the screen, with the result that you're inserting/deleting text at a place diffeent from the one you see on the screen until you refresh. The problem occurs mostly when I'm using an instance of Emacs which is running on a machine in Sheffield, England, but I'm sitting in Ceret, France running an xterm on my local machine. The screen is about 190 columns dies and 70 rows. X is not running on the remote host and the version of Emacs on there was compiled without X. Until today it was version 21.2 but now it's 21.3 and that has made no difference to the problem. Ordinary characters malmost always ove the cursor properly AFAICT. Cursor movement sequences like [ESC-f] will move the cursor in the most unexpected of ways. Sometimes it will move back to the beginning of the line instead of to the end of the next word. Oddly enough, an [ESC-b] usually does what's intended. [ESC-c] will capitalise the word but not move the cursor to the end of it and it may move it to somewhere in the middle of it, and it may make the word look garbled. Sometimes I press the space bar after a word and the cursor doesn't move at all. [ESC-190-space] will put the cursor in the right place. Usually [CTRL-L] will put the cursor in the right place. The cursor generally stay on the right line, just in the wrong column. I have the feeling that this is some weird interaction with ncurses. If I run Emacs using the same xterm but over a VPN to a machine at my office near Sheffield (about 25 miles south of the problem machine) I have no problems. I sometimes have simlar problems running Emacs on the Sheffield machine from my office, but not so bad. I never have problems like this with Vi. I hate Vi, but I'll go and scrub with carbolic now anyway. Any suggestions? 73, Ged.