windows command line unresponsive

Adam Pavelec apavelec@benefit-services.com
Fri Jul 25 15:52:02 2003


On Thursday, July 24, 2003 9:18 PM [GMT-5=EST], John Clizbe
<JPClizbe@comcast.net> wrote:

>> After unzipping gnupg-w32cli-1_2_2.zip, making directory c:\gpg and
>> copying into that directory gpg.exe, gpgv.exe, and gpgkeys_ldap.exe,
>> and importing the registry key, gpg_w32.reg, into the windows
>> registry, running c:\gpg\gpg.exe produced an MS-DOS window with:

<SNIP>

> GPG wants you to type a message because it wants to encrypt something.
> This is the default behavior if you don't tell it to do something
> else, like import a key from a keyserver.

<SNIP>

Also, the default location for GPG is C:\GnuPG (as opposed to C:\GPG) -- 
it's perfectly fine to place you GPG directory wherever hell you want,
but you will need to modify the default registry entry:

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\GNU]

[HKEY_LOCAL_MACHINE\Software\GNU\GNUPG]

[HKEY_LOCAL_MACHINE\Software\GNU\GNUPG]
"HomeDir"="C:\\GnuPG"
"gpgProgram"="C:\\GnuPG\\gpg.exe"


[HKEY_CURRENT_USER\Control Panel\Mingw32]

[HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]

[HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]
"MODir"="C:\\GnuPG\\Locale"


to (in Lee Hinkleman's case)

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\GNU]

[HKEY_LOCAL_MACHINE\Software\GNU\GNUPG]

[HKEY_LOCAL_MACHINE\Software\GNU\GNUPG]
"HomeDir"="C:\\GPG"
"gpgProgram"="C:\\GPG\\gpg.exe"


[HKEY_CURRENT_USER\Control Panel\Mingw32]

[HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]

[HKEY_CURRENT_USER\Control Panel\Mingw32\NLS]
"MODir"="C:\\GPG\\Locale"


...and it couldn't hurt to include C:\<GnuPG Directory> in your path.
Some people simply place an identical copy of gpg.exe into their
%WinDir%.

HTH...

-Adam