Thu, 16 Nov 2000 12:14:40 -0000
One further question on this, --status-fd=2 why is this 2? what does
the 2 represent? also --passphrase-fd=0, what does the 0 represent? I
assume they represent stdio, but which is in and which out?
Is the usage of 'fd' documented anywhere?
I'm a little unsure of which values i should be passing in for the
--status-fd etc to allow me to read the status from stdio?
Will using FD allow me to recognise the need to enter a password, and
then use stdin to write the password to gpg? if so how do i configure
this with the command line options? is this what the --passphrase-fd=0
command is for?
In case this makes any difference to the usage of --status-fd I'm
using it from within code much like winPT does, after creating pipes for
From: Werner Koch [mailto:firstname.lastname@example.org]
>> Is it possible to use file descriptors with the windows version of
>Sure. Windows has a function call named CreatePipe() and several
>other functions which work like fd stuff (GetStdHandle etc.). The
>difference to Posix is that it might not be an small integer and
>that certain semantics don't apply.
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to email@example.com