all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: dgbulk@gmail.com, 72450@debbugs.gnu.org, dgreatwood@gmail.com
Subject: bug#72450: 29.1; Tramp Failed to Parse OS Name and Version for Windows 11
Date: Thu, 08 Aug 2024 13:18:28 +0200	[thread overview]
Message-ID: <87y157fekb.fsf@gmx.de> (raw)
In-Reply-To: <86bk23mfpv.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 08 Aug 2024 14:11:40 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

Hi Eli,

> But the "sh-5.2$" part of the prompt Tramp would have understood,
> right?  I'm asking whether Tramp could ignore everything else in this
> prompt, the part that is before "sh-5.2$" and the part after it?

That's too tricky for Tramp's prompt detection. We must always make a
balance between a proper prompt regexp, and avoiding false positives.

Just ignoring everything before and after a fix string like "sh-5.2$" is
too risky. And I don't know whether it is worth the trouble. If it isn't
possible to configure the shell prompt, there might be more surprises
for Tramp.

Tramp requires a POSIX shell on the remote side. For good reasons.

Best regards, Michael.





  reply	other threads:[~2024-08-08 11:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-03 19:54 bug#72450: 29.1; Tramp Failed to Parse OS Name and Version for Windows 11 Duncan Greatwood
2024-08-04  4:41 ` Eli Zaretskii
2024-08-04  8:28   ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-04  9:15     ` Eli Zaretskii
2024-08-04 10:37       ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-04 10:45         ` Eli Zaretskii
2024-08-04 10:56           ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-04 11:01             ` Eli Zaretskii
2024-08-05  3:39               ` Duncan Greatwood
2024-08-05  8:27                 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]                   ` <mvmcymnfjcc.fsf@suse.de>
2024-08-05 11:56                     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-05 22:14                   ` Duncan Greatwood
2024-08-06  7:40                     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-07 21:46                       ` Duncan Greatwood
2024-08-08  5:20                         ` Eli Zaretskii
2024-08-08 11:06                           ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-08 11:11                             ` Eli Zaretskii
2024-08-08 11:18                               ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-08-08 11:11                         ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-08 18:28                   ` Jim Porter
2024-08-08 19:03                     ` Duncan Greatwood
2024-08-10 10:34                     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y157fekb.fsf@gmx.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=72450@debbugs.gnu.org \
    --cc=dgbulk@gmail.com \
    --cc=dgreatwood@gmail.com \
    --cc=eliz@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.