diff options
| author | Eli Zaretskii | 2005-11-04 15:25:12 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2005-11-04 15:25:12 +0000 |
| commit | e5b7fee62abb89e37e8cb805d5476b4f2d5d599d (patch) | |
| tree | bb73391f20143db1c7c3ec877a3649c440e6bbcc | |
| parent | c97f3d3c3a5c1d391f085497059a4b0ea821a580 (diff) | |
| download | emacs-e5b7fee62abb89e37e8cb805d5476b4f2d5d599d.tar.gz emacs-e5b7fee62abb89e37e8cb805d5476b4f2d5d599d.zip | |
(Shell Mode): Describe how to activate password echoing.
| -rw-r--r-- | man/misc.texi | 9 |
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 | |||
| 645 | echoing. This is useful when a shell command runs a program that asks | 645 | echoing. This is useful when a shell command runs a program that asks |
| 646 | for a password. | 646 | for a password. |
| 647 | 647 | ||
| 648 | Alternatively, you can arrange for Emacs to notice password prompts | 648 | Please note that Emacs will not echo passwords by default. If you |
| 649 | and turn off echoing for them, as follows: | 649 | really want them to be echoed, evaluate the following Lisp |
| 650 | expression: | ||
| 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 |