On Sun, 17 Aug 2003, Tzahi Fadida wrote:
> Hi all,
> On the same subject, i am using the "vicq" perl script in my script to send smss but
> it seems that
> it refuses to work from the script environment and it needs a working terminal to
> work.
> (at least when trying to send sms in the non-interactivemode.)
> is there a way to run a script from a virtual terminal or something and be done with
> it?
>
Actually, I think vicq is meant to be an ICQ _client_ and not really a
script. If you want a script to do a certain task, use the Net::ICQ or
whatever module it uses and write your own script, which won't require a
terminal.
Let me know if you need any help.
Regards,
Shlomi Fish
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> > Nadav Har'El
> > Sent: Saturday, August 16, 2003 10:40 AM
> > To: Tzahi Fadida
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Script refresh
> >
> >
> > On Sat, Aug 16, 2003, Tzahi Fadida wrote about "RE: Script refresh":
> > > Well, i tried all kind of things and now i suspect that this happens when i use
> > > ">>" on several points. i.e:
> > > sh-main script runs once : sh-subscript1 >> /var/log/logfile&
> > > sh-subscript1 runs in a while loop: perl-subscript1 >> /var/log/logfile
> > > perl-subscript2 is called sometimes from perl-subscript1: system echo "sdf" |
> > > perl-subscript2
> > > >>/var/log/logfile
> >
> > In your example, all scripts except sh-main should not have the ">>..."
> > lines, because all their output would be redirected to that file anyway
> > because they inherit the standard outputfrom sh-main.
> >
> > --
> > Nadav Har'El | Saturday, Aug 16 2003, 18 Av 5763
> > [EMAIL PROTECTED] |-----------------------------------------
> > Phone: +972-53-245868, ICQ 13349191 |A Nobel Peace Prize? I would KILL for one
> > http://nadav.harel.org.il |of those.
> >
> > =================================================================
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
> >
> >
> >
>
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
----------------------------------------------------------------------
Shlomi Fish [EMAIL PROTECTED]
Home Page: http://t2.technion.ac.il/~shlomif/
There's no point in keeping an idea to yourself since there's a 10 to 1
chance that somebody already has it and will share it before you.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]