[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: print password on the screen

From: Glenn Morris
Subject: Re: print password on the screen
Date: Thu, 20 Jun 2002 19:28:24 +0100
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.90 (i686-pc-linux-gnu)

Jinquan Xu wrote:

> under shell mode, if I access my romote machine and input the password,
> the password is printed out on the screen. 

Have you tried

(add-hook 'comint-output-filter-functions 'comint-watch-for-password-prompt)

This is documented in the info node for shell mode, as is the command

Note that even if you use this to stop Emacs echoing your password as you
type, the last 100 keys you pressed will still be visible with M-x
view-lossage, C-h l. If you want to be paranoid (and of course you do,
right?) get in the habit of pressing 100 keys (eg arrow keys) after
entering a password.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]