questions: no input file, and pascal programming

Philipp Schafft src=gnupg at lion.leolix.org
Sun May 3 11:49:40 CEST 2009


reflum,

On Sun, 2009-05-03 at 10:22 +0100, Philip wrote:
> So far I have figured out that on windows if I enter the command
> gpg -eat -r [recipient key]
> 
> I get a prompt on the console
> If I then type a message, followed by <enter> control-Z <enter>
> then gpg will encrypt the message and dump the pgp text to the screen,
> or to a file if I used the -o [filename] option.
> 
> However on linux control-Z just terminates the program (no pgp text)
> 
> Does anyone know the official, correct console way to get pgp to
> terminate and output the encrypted text from console?
> 
> I'm amazed that it just doesn't seem to be documented anywhere.

Take a look at the ASCII table (man ascii :). There is ^D (EOT - end of
transmission) for this. This is used by all systems I'm aware of but
window$. Don't know why they use something diffrent, maybe just to be
diffrent and break the standard.


-- 
Philipp.
 (Rah of PH2)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: </pipermail/attachments/20090503/728b260e/attachment-0001.pgp>


More information about the Gnupg-users mailing list