]> git.eshelyaron.com Git - emacs.git/commitdiff
(Shell Mode): Describe how to activate password echoing.
authorEli Zaretskii <eliz@gnu.org>
Fri, 4 Nov 2005 15:25:12 +0000 (15:25 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 4 Nov 2005 15:25:12 +0000 (15:25 +0000)
man/misc.texi

index 57a58fd1d3a86a999e26baa58594cf476c6f7521..14dadbfc9d7018e056fbfb5dfa859ad77f61f0fa 100644 (file)
@@ -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