[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5664: 23.1.92; view-lossage
From: |
Andreas Roehler |
Subject: |
bug#5664: 23.1.92; view-lossage |
Date: |
Sat, 06 Mar 2010 22:50:30 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081227) |
Stefan Monnier wrote:
>> However, think there is a bug though. If Emacs is able to display the
>> prompt delivered, it should adapt its behavior independently from the
>> regexp already customized.
>
> Emacs has no idea that the string it receives from the underlying
> process is a prompt for a password.
Hhm, the shell itself seems to know. So if the shell knows, Emacs questions the
shell, it should be
possible collect info from there.
All it knows is that the subprocess
> sent some text to display to the user. And then no more text comes
> in; and then the user types something so it's sent to the subprocess;
> ... this is exactly the same interaction as for any other text than
> a password.
>
> Maybe in some cases, the subprocess sets up the tty in a particular way
> while it's reading the password. I don't know enough about ttys to know
> if that could be used and if so how, but it might be worth looking into.
>
>
> Stefan
>
Thanks,
would consider it useful, to leave the bug open for remembering.
As the OP reported, risks exist, which are avoidable IMO.
Andreas
- bug#5664: 23.1.92; view-lossage, Andreas Roehler, 2010/03/01
- bug#5664: 23.1.92; view-lossage, Andreas Roehler, 2010/03/06
- bug#5664: 23.1.92; view-lossage, Chong Yidong, 2010/03/06
- bug#5664: 23.1.92; view-lossage, Andreas Roehler, 2010/03/06
- bug#5664: 23.1.92; view-lossage, Stefan Monnier, 2010/03/06
- bug#5664: 23.1.92; view-lossage,
Andreas Roehler <=
- bug#5664: 23.1.92; view-lossage, Stefan Monnier, 2010/03/07
- bug#5664: 23.1.92; view-lossage, Andreas Röhler, 2010/03/07
- bug#5664: 23.1.92; view-lossage, Andreas Schwab, 2010/03/07