[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shell: Password prompt eats control characters
From: |
Dan Jacobson |
Subject: |
shell: Password prompt eats control characters |
Date: |
Mon, 06 Nov 2006 08:21:57 +0800 |
M-x shell
$ ssh bla.bla.bla #or just:
$ echo -n Password:\ ; read
whereupon we are cleverly prompted for the password in the minibuffer.
Well, the password Bob sent me was in a different buffer, which one
needs to use C-x b to get to.
But no, every darn character, including C-x, is munched as part of the
password, Nazi style.
Until we hit ^G, which gives
Warning: text will be echoed
which would have been fine with me, except that it is covered up by
Quit
before we can see it.
So besides allowing e.g., C-x b to act normally, mention along with
the prompt some keys to escape...
- shell: Password prompt eats control characters,
Dan Jacobson <=