aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2005-11-04 15:25:12 +0000
committerEli Zaretskii2005-11-04 15:25:12 +0000
commite5b7fee62abb89e37e8cb805d5476b4f2d5d599d (patch)
treebb73391f20143db1c7c3ec877a3649c440e6bbcc
parentc97f3d3c3a5c1d391f085497059a4b0ea821a580 (diff)
downloademacs-e5b7fee62abb89e37e8cb805d5476b4f2d5d599d.tar.gz
emacs-e5b7fee62abb89e37e8cb805d5476b4f2d5d599d.zip
(Shell Mode): Describe how to activate password echoing.
-rw-r--r--man/misc.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/man/misc.texi b/man/misc.texi
index 57a58fd1d3a..14dadbfc9d7 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -645,12 +645,13 @@ Send @var{text} as input to the shell, after reading it without
645echoing. This is useful when a shell command runs a program that asks 645echoing. This is useful when a shell command runs a program that asks
646for a password. 646for a password.
647 647
648Alternatively, you can arrange for Emacs to notice password prompts 648Please note that Emacs will not echo passwords by default. If you
649and turn off echoing for them, as follows: 649really want them to be echoed, evaluate the following Lisp
650expression:
650 651
651@example 652@example
652(add-hook 'comint-output-filter-functions 653(remove-hook 'comint-output-filter-functions
653 'comint-watch-for-password-prompt) 654 'comint-watch-for-password-prompt)
654@end example 655@end example
655 656
656@item M-x comint-continue-subjob 657@item M-x comint-continue-subjob