From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ed Avis Newsgroups: gmane.emacs.bugs Subject: bug#45042: 27.1; emacs -nw on Windows does not always update cursor position on screen Date: Tue, 26 Jan 2021 07:21:27 +0000 Message-ID: References: <83v9dgd7jz.fsf@gnu.org>,<87pn1vqm68.fsf@gnus.org> , <83blde4ckz.fsf@gnu.org> , <83eei92fsh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_PH0PR11MB48875CF654B5D7DFFDA30E359DBC9PH0PR11MB4887namp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23010"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "larsi@gnus.org" , "45042@debbugs.gnu.org" <45042@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 26 08:24:39 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 1l4IiJ-0005n1-8t for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jan 2021 08:24:35 +0100 Original-Received: from localhost ([::1]:35970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4IiG-0008TD-Ec for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jan 2021 02:24:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4Ifs-0006Wo-7J for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 02:22:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4Ifp-0003LB-Uq for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 02:22:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4Ifp-0005bE-P4 for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 02:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ed Avis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jan 2021 07:22: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.161164570121497 (code B ref 45042); Tue, 26 Jan 2021 07:22:01 +0000 Original-Received: (at 45042) by debbugs.gnu.org; 26 Jan 2021 07:21:41 +0000 Original-Received: from localhost ([127.0.0.1]:40595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4IfU-0005ae-Oi for submit@debbugs.gnu.org; Tue, 26 Jan 2021 02:21:41 -0500 Original-Received: from mailgate7.prudential.com ([161.151.153.52]:40253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4IfQ-0005aO-DJ for 45042@debbugs.gnu.org; Tue, 26 Jan 2021 02:21:39 -0500 IronPort-SDR: d85cTc5fMzV7edA8DNQhxuw//LnUwlEHnU5zmm59KeGenXR9O2Bv0LXXpgX6lw1KbOa8OAce2i iaIY8iHXeqGA== Original-Received: from p2erscba1086.prudential.com (HELO ironportpaprod7.prudential.com) ([161.151.153.22]) by ironportpaprod7.prudential.com with ESMTP; 26 Jan 2021 02:21:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qmaw.com; i=@qmaw.com; q=dns/txt; s=20200731; t=1611645691; x=1643181691; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=8OGgMaUO1JFEe3q06numg6yY24IFyeI+BoQrFGiSEIc=; b=BTyhR2WiUyeOZ7HFE/Yw/NAAT0/dD8LZZb+6VhNPfyWXWvOPzI1ZyKk6 wEKUGePf1g4DqENoqV/YvoFMae/Golumd7VN4vI4EUeVnHzmxVgkGuleM a9jLN9eqtRLt1Jh8Y3bT6bKqr70LL1LlH9/zxfRdjXrlqbYYuSCMaGd/N eeEPCE0hBHkSLKB+ed4umNHdAnXnuyqp05YmrgJbQmwSi1yMpgIs/ud19 kEgvOT5IZ9aFPtpblj0Vsr9brAver1zvkXCDrsHtOeYMARv5K46ZlFLO1 nrRJWfTM6I4agfMiM1x+ARzgN415cNrkmap+7bf8wy86Dl36191eJH0QE w==; IronPort-SDR: QKevFqv6SUpvW7YLTEGnWvP7CIYDd5vXk0+N9bprUW8u7m5Tk0H+XVFFpYJAww2FMyX4QaLA6k IJ2QpzmiIB+Q== Original-Received: from NAM12-MW2-obe.outbound.protection.outlook.com ([48.96.18.141]) by p2erscengw004.prudential.com (IBM Domino Release 9.0.1FP8 HF450) with ESMTP id 2021012602213035-1835168 ; Tue, 26 Jan 2021 02:21:30 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j/8dCjkigDC40l0AadJJQiRYswgi7CV8E1jwdqCqgu1oFOC9txFK7WBddc1XItr9hbbrREIYFXrH3870navjFEMtW2FAkve9usRG2KZTa+/lpHcDEP9JP12ys12Uwv+akWWCu3PuiTl5CZjQVHHylbbdjEbNJMoT3ddir+mBvKKz5JFxUKk0VrfOxHd5cn40tnFOZZQIwqFheXh3oRR79MJP0meAzL3c5Ekzq1wyfpY6+h/D3Q8/xWwbMn8L+y6qwavSqrmN68oHKZMfuyKBectAOUGNjdYtsqa384zDa43KZXf9OBy9SW/PGUMTnvvL01Sv7jsEph5yX1LbF7UbzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T1Rfnpb2PSIs3VElzVUFosmJSqISKvDtabhOWcx6PNg=; b=SCvJQK0MAWsYaK10mfa3Rcw+X1qG84yfKWwsdx672b6KHvrvde0Kvn1V3+nXsSfQUjIdis7ViT5Q/ffdSKK0+vTiIVa/Uj/SR7XqwI4sh0/aHFIITnhvTNiEW/uoy8qK1klQqpw+LEhIfGppVaEj9SLSVRt73ncOH4GGxllHhY8vJoHGpA8V1X1hKmrtrnTsfk+xPKo1gMgFK8zRKVZi0On+He821qkERkMJK4X64qp3vXwOTr6FnPqYo+RMWCXpZGGadGA0BXYAkP3LdoSEEq/a2BThL3rnU3T/JC+0faCPgc2oMTum0+tIHt5YUcxHfnUcFCCafeJgLMEdl5Totw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=qmaw.com; dmarc=pass action=none header.from=qmaw.com; dkim=pass header.d=qmaw.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prudentialus.onmicrosoft.com; s=selector1-prudentialus-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T1Rfnpb2PSIs3VElzVUFosmJSqISKvDtabhOWcx6PNg=; b=gZoFzCc0YamWrv8QfmgtHl2YUJMS874gINtur13CEpAjB+N18LvFwK1YD0i1YzWw+0ROdqWwlQIPLo1BeVVpwoxs9eiql/JgpsXVj6pXweEIe6pOoA3J5uLDIUjtAcK37wXH27NiG/xKmb5ml24326vfRWl8BoBl6yk7Rx8M5WQ= Original-Received: from PH0PR11MB4887.namprd11.prod.outlook.com (2603:10b6:510:30::18) by PH0PR11MB4997.namprd11.prod.outlook.com (2603:10b6:510:31::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.15; Tue, 26 Jan 2021 07:21:27 +0000 Original-Received: from PH0PR11MB4887.namprd11.prod.outlook.com ([fe80::c848:ea0:68ec:9e4d]) by PH0PR11MB4887.namprd11.prod.outlook.com ([fe80::c848:ea0:68ec:9e4d%6]) with mapi id 15.20.3784.019; Tue, 26 Jan 2021 07:21:27 +0000 Thread-Topic: bug#45042: 27.1; emacs -nw on Windows does not always update cursor position on screen Thread-Index: AQHWym6lg0V35o5zVkSQb8w1P9Je8KnoHyk1gE4Hh9OAAIcixYAAfMZGgAEfHbCAAIAI3YABBlTc In-Reply-To: <83eei92fsh.fsf@gnu.org> Accept-Language: en-GB, en-US authentication-results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=qmaw.com; x-originating-ip: [86.127.251.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 823ea3a1-7ed5-4890-0cc3-08d8c1cafee6 x-ms-traffictypediagnostic: PH0PR11MB4997: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rui+fET9hf1ir7wBfTYieC8nNwnVK1vyihBZmScjaP+Oh/5TLuFYiEO3uikOn1QJfTBP5xWAX37gYNk5Avuj8BzP8P5d96BuyJ9+bM8rs7pKt634RgAgtQ7l8dpANuntRrfO1nMxkhKs5+LptKMPpKspdrPblSDU9jRMg/HgPhVGS/BictqWXEURI5ZDViBXTyfOTKGbg3W5uWE7YK4DLpqOMRBEDRicTG+Drq3MfUPorMBZuecmXydTNvuQCObEVja7Wb1bsvetewdrkNAA+XbXlTeRM15fMdBJHALi5/gCyufe+P51e/5KzvkW7bwb+DyerKblUgTJWAk6EpywHu0ixkXvQUkIMUitKAsSHMq6qUtk8yqycHoZzaU6EXnPGsoD6peu2N3VMVJX6BssBA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB4887.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(346002)(39860400002)(376002)(396003)(52536014)(2906002)(8676002)(64756008)(478600001)(7696005)(83380400001)(71200400001)(33656002)(15650500001)(86362001)(186003)(19627405001)(26005)(55016002)(91956017)(66446008)(76116006)(166002)(8936002)(6916009)(54906003)(44832011)(9686003)(6506007)(4326008)(66946007)(316002)(66476007)(66556008)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: kP6i/qTG7e++4kWJGvQQj7yrmRUZP/05gwcnS8AAClV8PVOOCn/GzhsB1nm+J0ktoto8hA+zpB7iEwmeW7kEpbi4MEiSkmlu5KpJuaND5M6GAgxB5zpHpg6k+BgTq723fDRL+EuFetZeJ17m2H0cIlEhp6nRxT0yU5hFcHLEvIpV94gnCNtGqK0M6cJ21b3cH7tWwWUZz2h6gFPeRRQ+KGQ7TZZxayr0zetTHNjZN/fiHMa8h1aRAs/+M7EpZNT2hZo2HbBNKBgHJqwM3Ruzk1QDu41/tr5u8Y0h+UH85bUq8Pln7Tv+jRHiOVwww+JlHN8Z4k/Y64xagXmuYaYg1F+v/spzM/kT773OJy0D2FzJVeC5qljTOuGUBDK8veP4+IHMW6J78nq/C//6LSlOHOfUiOS+CCYHA6wVTxST1mYqyaAe/jbAIOOsp5QKp/DjT9Z2A2d/iJoSmziNLNDrwZYU6+tTuqWal4vWMau7iJfHId2EYH1Z+tY6gk891H7cgGa3sntHaSQsYBp1+Lq1ydrZl260ec7TogfO0Eihg+EV7BgcOsZaGqXPPnSV0YJk0TvEaZE/vsmv+/1KS1V0Cv53X1RAf0f4jyiN6KmjthPXz3Lqs8QqwpuA4dltrCq3Hh8bXx6Z9+P9IuuwCqVjqLk1MqQEczleiXUIhKozKjEBkHcYZOAOmKkFJ5SCqsTdmDLYfGr2i/vtynt+De4yqiJD74v01gIEAYdiC0TaqN9CX7LUwsyMK503qXS6 UGCiWc/jg2za4TsKArJjOQycpx9iimmsXd0SwDYVjpeI89k/nj7ySHayelV1oSjPk8X1gYE9uCGDf7jRzNyxOHuI76afJvoq0a x-ms-exchange-transport-forked: True X-OriginatorOrg: qmaw.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB4887.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 823ea3a1-7ed5-4890-0cc3-08d8c1cafee6 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2021 07:21:27.5595 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d8fde2f5-9392-4260-8a03-0ad01f4746e9 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mmXFz+4HegHyGAWmNcsaN9YMjNz+GbLLxajuZGr4+mUjQPtQ59rt/ovGIVLiFoWpI3oY9enE7YSR8qxt6k9nqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4997 X-MIMETrack: Itemize by SMTP Server on PAERSCNGW23/SERVER/Prudential(Release 9.0.1FP8 HF450|June 28, 2017) at 01/26/2021 02:21:30 AM, Serialize by Router on PAERSCNGW23/SERVER/Prudential(Release 9.0.1FP8 HF450|June 28, 2017) at 01/26/2021 02:21:30 AM, Serialize complete at 01/26/2021 02:21:30 AM X-TNEFEvaluated: 1 Content-Language: en-GB X-CFilter-Loop: Reflected 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:198611 Archived-At: --_000_PH0PR11MB48875CF654B5D7DFFDA30E359DBC9PH0PR11MB4887namp_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Thanks for the explanation. So although Emacs uses escape sequences to mov= e the cursor on Unix-like platforms, the Windows build uses the native cons= ole API. What surprised me was that the cursor position does update for up= and down movements, and it does update horizontally at the same time. It = just doesn't move if you do a horizontal movement by itself. If the cursor= movement commands aren't supported by PuTTY or by OpenSSH server+client, I= would expect to see neither kind of movement working. This email and any files transmitted with it are CONFIDENTIAL and are inten= ded solely for the use of the individual(s) or entity to whom they are addr= essed. Any unauthorized copying, disclosure or distribution of the material= within this email is strictly forbidden. Any views or opinions presented w= ithin this email are solely those of the author and do not necessarily repr= esent those of QMA Wadhwani LLP (QMAW) unless otherwise specifically stated= . An electronic message is not binding on its sender. Any message referring= to a binding agreement must be confirmed in writing and duly signed. If yo= u have received this email in error, please notify the sender immediately a= nd delete the original. Telephone, electronic and other communications and = conversations with QMAW and/or its associated persons may be recorded and r= etained. QMAW is authorized and regulated by the Financial Conduct Authorit= y. QMAW (registered in England No. OC303168) has its registered office at 9= th Floor Orion House, 5 Upper St Martin's Lane, London, WC2H 9EA. Please note that your personal information may be stored and processed in a= ny country where we have facilities or in which we engage service providers= . If you provide personal information to us by email or otherwise, you cons= ent to the transfer of that information to countries outside of your countr= y of residence and these countries may have different data protection rules= than your country.' To learn about our privacy policies, please use this link to read the PGIM Privacy Notice. --_000_PH0PR11MB48875CF654B5D7DFFDA30E359DBC9PH0PR11MB4887namp_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"
Thanks for the explanation.  So although Emacs uses escape sequences t= o move the cursor on Unix-like platforms, the Windows build uses the native= console API.  What surprised me was that the cursor position does upd= ate for up and down movements, and it does update horizontally at the same time.  It just doesn't move if you do= a horizontal movement by itself.  If the cursor movement commands are= n't supported by PuTTY or by OpenSSH server+client, I would expect to see n= either kind of movement working.


This email and any files transmitted with it are CONFIDENTIAL and are inten= ded solely for the use of the individual(s) or entity to whom they are addr= essed. Any unauthorized copying, disclosure or distribution of the material= within this email is strictly forbidden. Any views or opinions presented within this email are solely those of the = author and do not necessarily represent those of QMA Wadhwani LLP (QMAW) un= less otherwise specifically stated. An electronic message is not binding on= its sender. Any message referring to a binding agreement must be confirmed in writing and duly signed. If yo= u have received this email in error, please notify the sender immediately a= nd delete the original. Telephone, electronic and other communications and = conversations with QMAW and/or its associated persons may be recorded and retained. QMAW is authorized and re= gulated by the Financial Conduct Authority. QMAW (registered in England No.= OC303168) has its registered office at 9th Floor Orion House, 5 Upper St M= artin's Lane, London, WC2H 9EA.

Please note that your personal information may be stored and processed in a= ny country where we have facilities or in which we engage service providers= . If you provide personal information to us by email or otherwise, you cons= ent to the transfer of that information to countries outside of your country of residence and these countries may = have different data protection rules than your country.’

To learn about our privacy policies, please use this link to read the PGIM Privacy Notice.

--_000_PH0PR11MB48875CF654B5D7DFFDA30E359DBC9PH0PR11MB4887namp_--