GNU bug report logs - #75746
31.0.50; Can't get password promote from plink 0.82

Previous Next

Package: emacs;

Reported by: 孙曙光(Sun Shuguang) <shuguang.sun <at> zaiming.com>

Date: Wed, 22 Jan 2025 07:49:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 30.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 75746 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: shuguang79 <at> qq.com, 75746 <at> debbugs.gnu.org, shuguang.sun <at> zaiming.com
Subject: Re: bug#75746: 31.0.50; Can't get password promote from plink 0.82
Date: Fri, 14 Feb 2025 14:29:49 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

> The following message has been sent to the PuTTY developers

And here's the answer

--8<---------------cut here---------------start------------->8---
From: Jacob Nevins <jacobn+puttybugs <at> chiark.greenend.org.uk>
Subject: Re: [putty] plink ceased to show prompts since release 0.82
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: putty <at> projects.tartarus.org
Date: Fri, 14 Feb 2025 13:01:12 +0000 (1 minute, 3 seconds ago)
Reply-To: putty <at> projects.tartarus.org
Mail-Followup-To: putty <at> projects.tartarus.org, Michael Albinus
 <michael.albinus <at> gmx.de>

Michael Albinus writes:
> In order to make this happen, Emacs opens internally a cmd.exe buffer. In
> this buffer, a command like
>
> --8<---------------cut here---------------start------------->8---
> plink -l albinus -ssh -t gandalf /bin/sh -i
> --8<---------------cut here---------------end--------------->8---
>
> Nothing happens, no prompt appears.
>
> If I call the very same command in a native cmd.exe terminal, evrything
> works as expected. And so it did inside Emacs prior PuTTY 0.82.

This was a deliberate behaviour change in 0.82, described in the
following link, which also describes how to restore the old behaviour.
https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/windows-stdio-prompts.html
--8<---------------cut here---------------end--------------->8---

The proposed option works as expected.

Best regards, Michael.




This bug report was last modified 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.