src/rpc: Add 'GPG_TTY' and "TERM" environment variables
Add 'TERM' environment variable to avoid the problem "TERM environment variable not set".Add 'GPG_TTY' environment variable to hold the path to the TTY device for the interactive shell.
Add 'TERM' environment variable to avoid the problem "TERM environment variable not set".Add 'GPG_TTY' environment variable to hold the path to the TTY device for the interactive shell.