From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45042: 27.1; emacs -nw on Windows does not always update cursor position on screen Date: Mon, 25 Jan 2021 17:32:30 +0200 Message-ID: <83eei92fsh.fsf@gnu.org> References: <83v9dgd7jz.fsf@gnu.org>,<87pn1vqm68.fsf@gnus.org> , <83blde4ckz.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1713"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 45042@debbugs.gnu.org To: Ed Avis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 25 16:33:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l43rf-0000K4-SN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Jan 2021 16:33:15 +0100 Original-Received: from localhost ([::1]:60416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l43re-00014H-Tj for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Jan 2021 10:33:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l43rS-000149-BI for bug-gnu-emacs@gnu.org; Mon, 25 Jan 2021 10:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l43rS-0007j8-3P for bug-gnu-emacs@gnu.org; Mon, 25 Jan 2021 10:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l43rR-0007Nc-W6 for bug-gnu-emacs@gnu.org; Mon, 25 Jan 2021 10:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Jan 2021 15:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45042 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 45042-submit@debbugs.gnu.org id=B45042.161158875928336 (code B ref 45042); Mon, 25 Jan 2021 15:33:01 +0000 Original-Received: (at 45042) by debbugs.gnu.org; 25 Jan 2021 15:32:39 +0000 Original-Received: from localhost ([127.0.0.1]:39663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l43r5-0007Mx-8h for submit@debbugs.gnu.org; Mon, 25 Jan 2021 10:32:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l43r0-0007Mg-PL for 45042@debbugs.gnu.org; Mon, 25 Jan 2021 10:32:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52988) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l43qs-0007gF-9J; Mon, 25 Jan 2021 10:32:26 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2999 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l43qp-0008Hg-3a; Mon, 25 Jan 2021 10:32:23 -0500 In-Reply-To: (message from Ed Avis on Mon, 25 Jan 2021 08:00:00 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198568 Archived-At: > From: Ed Avis > CC: "larsi@gnus.org" , > "45042@debbugs.gnu.org"<45042@debbugs.gnu.org> > Date: Mon, 25 Jan 2021 08:00:00 +0000 > > The problem with the cursor movement not updating doesn't just happen under Alacritty. I can also > reproduce it using an ssh server on Windows, by sshing to the machine and running emacs -nw. The ssh > client can be PuTTY or the Windows port of OpenSSH running in the Windows command prompt. Unsetting > TERM does not appear to make a difference in any of these cases. PuTTY emulates a Unix terminal with terminfo database, and thus expects the program to send escape sequences to move the cursor. If the OpenSSH client used by Windows does the same, then it means these two emulators aren't currently supported by Emacs on Windows, because Emacs assumes a native Windows console. Patches to add support for curses-like escape sequences are welcome.