gpg without commands

Ben Finney
Thu Jul 3 00:43:02 2003

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 02-Jul-2003, Neil Williams wrote:
> On Wednesday 02 Jul 2003 2:36 pm, David Shaw wrote:
> > Running just "gpg" is the same as running "gpg filename.gpg".
> > Without the filename, it just waits for you to paste filename.gpg
> > into its window :)

More accurately, it acts as a filter, and processes anything on 'stdin'
until end-of-file.

> note the word type - I kept trying to find a key sequence that would
> cause gpg to process the contents so far, empty lines, single . lines,
> q, x, quit, exit, etc. Only Ctrl+C or Ctrl+Z interrupt it and then,
> predictably, by stopping it.

Assumed knowledge: filters process 'stdin' (defaulting to input from the
keyboard) and put the processed output to 'stdout' (defaulting to the

Further assumed knowledge: Ctrl-D is the normal EOF (end-of-file)

Should this be explained verbosely at the interactive prompt?  No.  The
command-line prompts should be kept brief, leveraging existing

Interfaces with less assumed knowledge already exist, and should be
enhanced, rather than breaking the terseness of the command-line tool.

 \           "An eye for an eye would make the whole world blind."  -- |
  `\                                                    Mahatma Gandhi |
_o__)                                                                  |  F'print 9CFE12B0 791A4267 887F520C B7AC2E51 BD41714B

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.1 (GNU/Linux)