Previous: Invoking gpg-connect-agent, Up: gpg-connect-agent


7.8.2 Control commands.

While reading Assuan commands, gpg-agent also allows a few special commands to control its operation. These control commands all start with a slash (/).

/echo args
Just print args.
/definqfile name file
Use content of file for inquiries with name. name may be an asterisk (* to match any inquiry.
/definqprog name prog
Run prog for inquiries matching name and pass the entire line to it as command line arguments
/showdef
Print all definitions
/cleardef
Delete all definitions
/sendfd file mode
Open file in mode (which needs to be a valid fopen mode string) and send the file descriptor to the server. This is usually followed by a command like INPUT FD to set the input source for other commands.
/recvfd
Not yet implemented.
/hex
/nohex
Same as the command line option --hex.
/decode
/nodecode
Same as the command line option --decode.
/help
Print a list of available control commands.