emacs-devel
[Top][All Lists]
Advanced

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

Re: Turning off password prompting?


From: Noah Evans
Subject: Re: Turning off password prompting?
Date: Mon, 07 Nov 2016 21:44:37 +0000

It's mostly laziness. What I'd like is solution that lets me enter values interactively in the minibuffer when I'm running interactively and have it automatically run when I'm not. I do both in the same shell window. Removing the hook *would* get rid of the problem, but my password would be cleartext.

On Mon, Nov 7, 2016 at 2:37 PM Evgeny Roubinchtein <address@hidden> wrote:
Does
  (remove-hook 'comint-output-filter-functions 'comint-watch-for-password-prompt)
fail to do what you want?

On Mon, Nov 7, 2016 at 3:54 PM, Noah Evans <address@hidden> wrote:
 Hey all,

I have a set of expect scripts that interact with various services to launch a custom application on multiple servers, however when I do the launch, comint-watch-for-password-prompt minibuffers pop up even though expect is doing the password handling.

Looking at the source code and seeing how the hooks are installed I don't see any way to turn password prompting off. Am I missing anything? If not I'd like to propose adding a few millisecond delay that checks to see if execution has continued past the password prompt. If so someone/something has entered the password "behind Emacs' back" and there's no need to prompt.

Thoughts?

Noah


reply via email to

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