mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(Shell Mode): Describe how to activate password echoing.
This commit is contained in:
parent
c97f3d3c3a
commit
e5b7fee62a
1 changed files with 5 additions and 4 deletions
|
|
@ -645,12 +645,13 @@ Send @var{text} as input to the shell, after reading it without
|
|||
echoing. This is useful when a shell command runs a program that asks
|
||||
for a password.
|
||||
|
||||
Alternatively, you can arrange for Emacs to notice password prompts
|
||||
and turn off echoing for them, as follows:
|
||||
Please note that Emacs will not echo passwords by default. If you
|
||||
really want them to be echoed, evaluate the following Lisp
|
||||
expression:
|
||||
|
||||
@example
|
||||
(add-hook 'comint-output-filter-functions
|
||||
'comint-watch-for-password-prompt)
|
||||
(remove-hook 'comint-output-filter-functions
|
||||
'comint-watch-for-password-prompt)
|
||||
@end example
|
||||
|
||||
@item M-x comint-continue-subjob
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue