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#72450: 29.1; Tramp Failed to Parse OS Name and Version for Windows 11 Date: Sun, 04 Aug 2024 12:15:24 +0300 Message-ID: <867ccwsl77.fsf@gnu.org> References: <86y15cucg3.fsf@gnu.org> <87frrkk7ze.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34435"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgbulk@gmail.com, 72450@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 04 11:16:56 2024 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 1saXMG-0008r0-7D for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Aug 2024 11:16:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saXM9-00032o-V6; Sun, 04 Aug 2024 05:16:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saXM3-00032C-4T for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 05:16:43 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1saXM1-0003E7-I5 for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 05:16:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=k0M9niWebQ65L+jmLTy/NPiWShXhAJFfIyXZ3XGoxuM=; b=AF7+E7w9H20CA7ow7WErR53Gm9lrf5G6x7gw7/Pw76DykqzkrX1PUlBsuEhKBYctLe2JW0pqqOcNhrRtnHX+vznUdNY+awlrkJLkU+Re2RvdAgf7IP5ocTI2Z6THqLJGpMejt7i4jjiPCmoteetZ/mUn5F5AuBIoqDPi0Q7sqNbdFCST4NsSO+z3RNJLJSRyLT7RDtzgfx3ZAT6jQ0yCinTUg5PJeKbyftxt7Pb/IrrCcEs9dkqB8c6kfArvXlhlEDkoEFRiAFrPnhlu1KJLB2Go0rTg6jb71OvKe0zPz48yxYyckToffbGOxZhIV9JIEZOq3oR0C1JNSiLNGmvIVw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saXMM-0000gs-9M for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 05:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Aug 2024 09:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72450 X-GNU-PR-Package: emacs Original-Received: via spool by 72450-submit@debbugs.gnu.org id=B72450.17227629822535 (code B ref 72450); Sun, 04 Aug 2024 09:17:02 +0000 Original-Received: (at 72450) by debbugs.gnu.org; 4 Aug 2024 09:16:22 +0000 Original-Received: from localhost ([127.0.0.1]:55503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saXLi-0000ep-CP for submit@debbugs.gnu.org; Sun, 04 Aug 2024 05:16:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saXLf-0000eH-O3 for 72450@debbugs.gnu.org; Sun, 04 Aug 2024 05:16:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saXLC-0003A2-Mb; Sun, 04 Aug 2024 05:15:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=k0M9niWebQ65L+jmLTy/NPiWShXhAJFfIyXZ3XGoxuM=; b=UR/QcKRvHWW3 PWmC+MtL4E6oXWEFetq5atVnlHcuUTCxtBJOCGuFC9RY5Q0MsZeik3fJZQSNXuXGgTVkCKvSTdEfa ypf51/aNaqJrQLaKtCdwq93Zs1fuAAeLboKTc5bi8amz9y+pmNITWSrbXBtdw/rHYPfHyX33aPPBs 1Xe9kKp+AHBYbGzqn7KCGm2/6WhrE4STR6K2bu+To1jXgoUriugyZeiGO+jbOTUh2o0OMqiQVMWYX AjE1/Se6wjoBefffG4vEmcyymtp11Nson6jDZno1aqXH3ASCSHm/H9rmNaeKsS3UpXnbRTHWcFyad VInyD8G+IR/MNPm4xq9s2A==; In-Reply-To: <87frrkk7ze.fsf@gmx.de> (message from Michael Albinus on Sun, 04 Aug 2024 10:28:05 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289737 Archived-At: > From: Michael Albinus > Cc: Duncan Greatwood , 72450@debbugs.gnu.org > Date: Sun, 04 Aug 2024 10:28:05 +0200 > > Eli Zaretskii writes: > > > My suggestion is not to have the MSYS 'uname' on your Path. I think > > it gets in the way, and Tramp doesn't really need it on Windows. > > I don't know, whether it is the MSYS 'uname', or something else on the > remote side, which produces the ESCAPE sequence. > > > Michael, am I right? > > Tramp calls 'uname -sr' for a reason. It checks, whether the remote > system has changed its kernel since the last visit, and in case of, it > invalidates all cached values. So Tramp expects to find 'uname' on a remote Windows system? Does it mean that one cannot login to a remote Windows system where 'uname' is not available (it usually isn't)? > > In general, too many Windows users of Emacs install MSYS in a way that > > its utilities are on the system-wide Path, without understanding the > > caveats and subtle issues this could cause. > > First we need to know where the ESCAPE sequence comes from. Any idea? Sorry, no. I don't have MSYS2 installed. Could be actually Bash or its customizations in the OP's init files.