Re: Pine Q. 2: Fortune in sig
-----BEGIN PGP SIGNED MESSAGE-----
On Tue, 10 Nov 1998, Kent West wrote:
> 1) Does the filter run before I compose the message? In other words,
> should I be able to see the fortune in my sig below right now as I'm
> typing this, or does it get added when I actually send the message?
It runs during the actual sending process, so you don't ever actually see
the result of it. Check your sent-mail folder to see what it looks like.
> 2) I named the temp file sigfortune, and in Pine's config I specified the
> sending-filter to be "sigfortune _TMPFILE_" (without the quotes). I assume
> the _TMPFILE_ is a filename that Pine uses, or was that just a dummy name
> you invented and I'm supposed to use some other real file name? Also, do I
> need to specify more of the sigfortune path, such as "./sigfortune" or
> "%homedir%/sigfortune" (can I even use a variable such as "%homedir%" in
> Linux?)? Do I need to modify permissions on sigfortune?
You should use _TMPFILE_. See the Pine docs (available from the main
menu) for info on what special names can be used.
Be sure your script has the execute bit turned on (chmod u+x <filename>).
I specify the absolute path to my script in my Pine config. I don't know
what's actually required.
PGP public key available at
or by 'finger -l email@example.com'
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----