Injecting Status-fd output

Daiki Ueno ueno at unixuser.org
Thu Mar 8 15:38:25 CET 2007


>>>>> In <esp18j$3qn$1 at sea.gmane.org> 
>>>>>	Patrick Brunschwig <patrick at mozilla-enigmail.org> wrote:
> I'm not sure if it's a good idea to read --status-fd from stdout for
> exactly the reason you describe.

> In Enigmail I read it on a separate file descriptor, and check the
> results at the end of the process, before displaying the data to the
> user. This way, I can count the number of PLAINTEXT occurrences, and if
> needed I can split the output according to the PLAINTEXT_LENGTH fields
> (at least I hope that this is reliable information).

I envy such a modern plugin architecture.  In Emacs, I can't distinguish
FD's.  I once tried to utilize PLAINTEXT_LENGTH, but I noticed that
there was no way to remove "gpg:" lines.

;; BTW, gpg2 doesn't have --logger-file option?

Regards,
-- 
Daiki Ueno



More information about the Gnupg-devel mailing list