On Tue, 10 Nov 1998, Noah L. Meyerhans wrote: > -----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.
Bummer: I hate to send something unless I know what I'm sending. Nonetheless, I will this time in order to demonstrate that your instructions worked. Thanks! > > 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. It didn't work when I just had the filename, and I didn't try the "./" relative method. It does work with the full pathname (u/staff/westk/sigfortune). > > noah > > PGP public key available at > http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html > or by 'finger -l [EMAIL PROTECTED]' > > > > > -----BEGIN PGP SIGNATURE----- > Version: 2.6.2 > > iQCVAwUBNkj/uYdCcpBjGWoFAQHmHAQAisdR/nVJtff+lzRDIDHadlZlZ/JfIx+q > LsJlcCQfuNn8v7yoZdQUoIkZe7xyZoHJBG/+VyG6NX+fsVT8T4++cyznVWw3ZYxR > G4q7SyJmEvfMAaKqZx44uqFRh3HTSwpCdG0w3JDv4Zk20KZ980qirTMxC6Hgq4A+ > dR0vzKR95oc= > =CqFK > -----END PGP SIGNATURE----- > Again, thanks! That's another success under my belt thanks to you. -- Kent West [EMAIL PROTECTED] KC5ENO - Amateur Radio: When all else fails. Linux - Finally! A real OS for the Intel PC! Acid -- better living through chemistry.