[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passwd asterisk in shell mode
From: |
b3 |
Subject: |
Re: Passwd asterisk in shell mode |
Date: |
Thu, 10 May 2001 00:00:47 -0500 |
User-agent: |
Mutt/1.3.17i |
On Thu, May 10, 2001 at 11:21:13AM +0000, 52jy@pchome.com.tw wrote:
> Hi guys
> I have a big problem, when I su in "shell mode", emacs will directly show
> my passwd in monitor; therefore, could someone help me to let it show
> asterisk whenever I enter passwd.
Woo! One I can actually answer!
Paraphrased from page 124 of "Learning GNU Emacs" (O'Reilly, 2nd edition):
ESC x send-invisible [return] (your passwd) [return]
- or -
(add-hook 'comint-output-filter-functions
'comint-watch-for-password-prompt)
should do what you want =)
-b3