On Fri, 06 Mar 2009 11:26:37 +0000, David Shochat wrote:

> Ok, try running the script at the command line with a minimal mailto:
> alpine_helper.pl mailto:a...@b
> If the script is working properly, a new Terminal window will come up,
> with an alpine composition started, pre-addressed to a...@b. Tell us what
> happens.

[b...@hbsk2 ~]$ alpine_helper.pl
Use of uninitialized value $url_from_pan in concatenation (.) or string 
at /home/btth/bin/alpine_helper.pl line 4.
[b...@hbsk2 ~]$ 

        I created alpine_helper.pl with nano, but now nano can't open it, 
nor can gedit. The only editor I found that works is kwrite; according to 
it, the file contains : 

#!/usr/bin/perl -w
use strict;
my $url_from_pan = $ARGV[0];
my $command = "Terminal -e 'alpine -url " . $url_from_pan . "'";
system($command);

        Have I messed it up somehow?

        Btw, I had a look at man Terminal yesterday, and found it did not 
mention any -e switch; so I took that out of my Pan preferences; but it 
still didn't work.

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.



_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to