Re: GPG/PGP inline

Thorsten Maerz <[email protected]>
Newsgroups gmane.mail.sylpheed.claws.windows
Message-ID <[email protected]>
Hi Syafril,

On Tue, 4 Feb 2003 11:07:38 +0700 Syafril Hermansyah <[email protected]> wrote:

> You're right, this action working fine after I put on inbox. 
> 
> > you will have to experiment with the quotes (") on the
> > commandline.
> 
> Can you explain more ? Most of my folder have space in it :-(

The problem is that the shells (command.com on Win9x/Me or cmd.exe
on WinNT/...) suck^W^W^W^W behave inconsistent when it comes to
handling nested quotes. You can read the help from cmd.exe by running
  cmd /?
Command.com does not even mention this in its help.

Anyhow, cmd's help confused me more than it helped, so I usually
experiment with a batch file to see what is finally passed to an
application, e.g.
---- test.bat ----
  echo TEST: %1-%2-%3-%4-%5-%6-%7-%8-%9
---- test.bat ----
If you use the debug version, you will see the parameters dumped
on the console. Missing or additional quotes should be obvious
here.
Some oddities:
* Doubling the quotes can help, e.g. "app.exe ""%f"" -dummy"
  (explained in cmd's help)
* Sometimes appending a single doublequote can help. Although
  it is syntactically wrong to have odd quote counts, I have
  several scripts/batches that need such a hack.
* Single quotes "'" around the whole term will be stripped by
  the gspawn-w32-helper app (an internal Gtk helper), dos/win
  can not handle them, so avoid them unless the application
  that you call can handle them.

> > The script only has 85 lines, so the error in line 87 looks like
> > a download problem to me (try a different browser, use "save link"
> > instead of "save page").
> 
> I have tried cut and paste from your previous message then save as
> verify.pl, getting same result.

I forgot to mention that I uploaded the "verify.pl" script to
  http://claws-w32.sourceforge.net/sylpheed/claws/scripts/
as well.

The attached version did indeed lack several lines and produced
an error, although I am not sure why those lines got stripped.
The one from the www site should work.

> > Also use ActivePerl 5.6 as described on the script page.
> 
> I am using ActivePerl 5.8.0 Binary build 804, does it the culprit ?

I just tested with 5.6.1 and 5.8.0 (downloaded some days ago from
ActiveState), both versions do (my old 5.6.0 as well).
It seems that only the versions from Cygwin and MinGW will not work.

HTH,
-- 
Thorsten Maerz          <[email protected]>
Sylpheed-claws/Win32:   http://claws-w32.sf.net
signature.asc (application/pgp-signature, 194 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1-nr1 (Windows XP)

iD8DBQE+P48ocVjFyoO8k5MRAiKcAKCnTLMAYPLePtpHWTxnxIodFt500ACdEnnb
NZetfFWhjTl2zpaxCznXkfo=
=BMt3
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.