From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Evgeny Roubinchtein Newsgroups: gmane.emacs.devel Subject: Re: Turning off password prompting? Date: Mon, 7 Nov 2016 16:37:04 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c07e31e2e53850540bcd31d X-Trace: blaine.gmane.org 1478554636 30441 195.159.176.226 (7 Nov 2016 21:37:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2016 21:37:16 +0000 (UTC) Cc: Emacs Development To: Noah Evans Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 07 22:37:13 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3rbL-0007E4-Li for ged-emacs-devel@m.gmane.org; Mon, 07 Nov 2016 22:37:11 +0100 Original-Received: from localhost ([::1]:56718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3rbO-0002aR-LC for ged-emacs-devel@m.gmane.org; Mon, 07 Nov 2016 16:37:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3rbG-0002aL-Cz for emacs-devel@gnu.org; Mon, 07 Nov 2016 16:37:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3rbF-0003TR-LH for emacs-devel@gnu.org; Mon, 07 Nov 2016 16:37:06 -0500 Original-Received: from mail-yw0-x229.google.com ([2607:f8b0:4002:c05::229]:34500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c3rbF-0003T8-F6 for emacs-devel@gnu.org; Mon, 07 Nov 2016 16:37:05 -0500 Original-Received: by mail-yw0-x229.google.com with SMTP id t125so157993089ywc.1 for ; Mon, 07 Nov 2016 13:37:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UJlJv9rmF52ZnAffTS3jw1Cxm+gw8dkfkmAWxy03MPo=; b=Iv2qwoHz1N9PsGOt3hoySQCkRf62pE8cIjHDwAJDjTo2MyRYMYPh2H/53IZsb3O/F9 Do8vy3Maj2KZYYD3/SyTtlSVoJdbd75amuF8bSAeaWtPOv/aktwaHAsH4DVk0tSOQ1MH P3AtQNEapvbkV+Tm0M+5+zICiaBXJm/gJvSmNjYJu+K2fo78voHuBPUzalyoTBWGjyoG lGW35tYrRZEtwM3kT2P7CPvZczTHqUdcz5i+LhAoLtCgJk9RlYC9BhnFAEMX6zOBAa+V OomREBjHt+wsy3lwl6/gJ07qeTZ3DlPQuRgw41X8MIXXKN4yXFYVruwq4wHxmywl+Lhd gdUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UJlJv9rmF52ZnAffTS3jw1Cxm+gw8dkfkmAWxy03MPo=; b=R467eJmaAQfTfP9WUtmNw3AmDIM5TXb+vHs9RC+i6Bve2Ml6M/AIhZylpnH90hdcir PI/v4Xe9s7Yi9iQvS5WlDBZIHmcOFoofqpBJqiDZVgEyBdQO/srzNq4iKKi0yog0Y3PY KLf9Y2aEt06OWGFpQfGET8+YaTdpsqN8S2TFrigp7bmZBNgPAniIOT9aLTBX1Gg9VOrd vfJxNBr/FN5L0l0fQ7g6IDyCtld2yChWvyghXEGN1B9vHNgk/gusGX0wwVdat91YnX8g 6ce3MiartMRMKxpNsLjEhVd9lT3VHCgIJsVuSOuMDpVbPQ9evlba4eH5Os1Ed5nEqAqh jM4Q== X-Gm-Message-State: ABUngvdKndiMjI6mp34h5tbzU9IFEt2pkGGP5QAcjIpuYGQeaAbewHZCDO8cihYVrEYRxhxwOHg8PgSPTvlxNw== X-Received: by 10.13.254.135 with SMTP id o129mr7518262ywf.198.1478554624608; Mon, 07 Nov 2016 13:37:04 -0800 (PST) Original-Received: by 10.37.171.207 with HTTP; Mon, 7 Nov 2016 13:37:04 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:209271 Archived-At: --94eb2c07e31e2e53850540bcd31d Content-Type: text/plain; charset=UTF-8 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 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 > --94eb2c07e31e2e53850540bcd31d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Does
=C2=A0 (remove-hook 'comint-output-filter-fun= ctions 'comint-watch-for-password-prompt)
fail to do what you= want?

On Mon, Nov 7, 2016 at 3:54 PM, Noah Evans <noah.evans@gmail.com= > wrote:
=C2= =A0Hey 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 minibuf= fers pop up even though expect is doing the password handling.
Looking at the source code and seeing how the hooks are instal= led I don't see any way to turn password prompting off. Am I missing an= ything? 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 so= meone/something has entered the password "behind Emacs' back"= and there's no need to prompt.

Thoughts?<= /div>

Noa= h

--94eb2c07e31e2e53850540bcd31d--