unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Whizzytex opens passwords
@ 2007-09-20 21:46 Sven Bretfeld
  2007-09-20 22:17 ` Peter Dyballa
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Bretfeld @ 2007-09-20 21:46 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 453 bytes --]


Hi list,

Sorry, quite misleading, my Subject.

I have the following hook in my .emacs in order to conceal passwords to be
typed out clearly in a shell buffer:

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

Whenever I have worked with Whizzytex, this hook stops functioning and
passwords can be seen clearly on screen until I restart Emacs. Can
anybody reproduce this problem or even has a workaround?

Greetings,

Sven

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Whizzytex opens passwords
  2007-09-20 21:46 Whizzytex opens passwords Sven Bretfeld
@ 2007-09-20 22:17 ` Peter Dyballa
  2007-09-20 22:42   ` Sven Bretfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2007-09-20 22:17 UTC (permalink / raw)
  To: Sven Bretfeld; +Cc: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 455 bytes --]


Am 20.09.2007 um 23:46 schrieb Sven Bretfeld:

> Can anybody reproduce this problem or even has a workaround?

I can't. But I can report that recent versions of GNU Emacs, version  
22.x, transfers the password prompt into the mini-buffer and there  
nothing is echoed. This works without any hook.

--
Mit friedvollen Grüßen

   Pete

      _o    o         o   o
    _<<     \\_/\_,   \\_ \\_/\_,
   (*)/(*) (*)   (*) (*) `-    (*)



[-- Attachment #1.2: Signierter Teil der Nachricht --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Whizzytex opens passwords
  2007-09-20 22:17 ` Peter Dyballa
@ 2007-09-20 22:42   ` Sven Bretfeld
  2007-09-22 11:43     ` Kevin Rodgers
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Bretfeld @ 2007-09-20 22:42 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 577 bytes --]

Hi Pete

On Fri, Sep 21, 2007 at 12:17:39AM +0200, Peter Dyballa wrote:
> 
> Am 20.09.2007 um 23:46 schrieb Sven Bretfeld:
> 
> >Can anybody reproduce this problem or even has a workaround?
> 
> I can't. But I can report that recent versions of GNU Emacs, version  
> 22.x, transfers the password prompt into the mini-buffer and there  
> nothing is echoed. This works without any hook.

You are right. I deleted the hook on my version 22.1.50.1. But still,
after I launched Whizzytex, passwords are typed clearly in the shell
prompt :-(

Greetings,

Sven


[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Whizzytex opens passwords
  2007-09-20 22:42   ` Sven Bretfeld
@ 2007-09-22 11:43     ` Kevin Rodgers
  2007-09-22 21:50       ` Sven Bretfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Rodgers @ 2007-09-22 11:43 UTC (permalink / raw)
  To: help-gnu-emacs

Sven Bretfeld wrote:
> Hi Pete
> 
> On Fri, Sep 21, 2007 at 12:17:39AM +0200, Peter Dyballa wrote:
>> Am 20.09.2007 um 23:46 schrieb Sven Bretfeld:
>>
>>> Can anybody reproduce this problem or even has a workaround?
>> I can't. But I can report that recent versions of GNU Emacs, version  
>> 22.x, transfers the password prompt into the mini-buffer and there  
>> nothing is echoed. This works without any hook.
> 
> You are right. I deleted the hook on my version 22.1.50.1. But still,
> after I launched Whizzytex, passwords are typed clearly in the shell
> prompt :-(

This bit at the end of whizzy-start-process looks suspicious:

     (save-excursion
       (set-buffer buf)
       (setq whizzy-status status)
       (setq comint-output-filter-functions
             (list (function whizzy-filter-output)))
       )

Perhaps that second setq should be replaced by

       (add-hook 'comint-output-filter-functions 'whizzy-filter-output t t)

-- 
Kevin Rodgers
Denver, Colorado, USA

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Whizzytex opens passwords
  2007-09-22 11:43     ` Kevin Rodgers
@ 2007-09-22 21:50       ` Sven Bretfeld
  0 siblings, 0 replies; 5+ messages in thread
From: Sven Bretfeld @ 2007-09-22 21:50 UTC (permalink / raw)
  To: Kevin Rodgers; +Cc: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 684 bytes --]

Hi Kevin

Sorry for the personal cc. But I sent an answer to the list more than
10 hours ago and it didn't appear so far.

On Sat, Sep 22, 2007 at 05:43:27AM -0600, Kevin Rodgers wrote:
> This bit at the end of whizzy-start-process looks suspicious:
> 
>     (save-excursion
>       (set-buffer buf)
>       (setq whizzy-status status)
>       (setq comint-output-filter-functions
>             (list (function whizzy-filter-output)))
>       )
> 
> Perhaps that second setq should be replaced by
> 
>       (add-hook 'comint-output-filter-functions 'whizzy-filter-output t t)

This works. Thank you very much. I will hand in a bug report.

Greetings,

Sven


[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-22 21:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 21:46 Whizzytex opens passwords Sven Bretfeld
2007-09-20 22:17 ` Peter Dyballa
2007-09-20 22:42   ` Sven Bretfeld
2007-09-22 11:43     ` Kevin Rodgers
2007-09-22 21:50       ` Sven Bretfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).