[jp] 1.6.0. - alarm commands - %D and %N are not substitued

Arnon Sharlin b5wqfuv02 at sneakemail.com
Wed Jun 4 03:49:40 EDT 2008


I compiled it with the '--enable-alarm-shell-danger' option. When jpilot is
not compiled with this option, you can't run a command alongside the alarm
popup. My problem is that two parameters are being substituted (date, and
time), and two are not (description and note).

thanks,
arnon

On 6/3/08, Rik rdrider0-jpilot-at-yahoo.com |jpilot| <
...> wrote:
>
> >I have upgraded to 1.6.0.  Started from a clean .jpilot directory, and
> only
> >copied the jpilot.rc file.
> >I found out that when an alarm command is triggered, the %D (alarm
> >description), and %N(alarm note) are passed to the executed script without
> >any substitution (ie args are actually %D, and %N). The rest of the
> >arguments are substituted OK (%t, and %d are substituted with the alarm
> time
> >and date respectively).
> >
> >When downgrading back to 0.99.9, problem was solved. Can someone else
> verify
> >this behavior ?
> >
> >I guess I'll stick with this the older version until problem is solved.
>
> Check the preferences tab for Alarms.  By default, %D and %N substitution
> are
> disabled and it will say so on that tab.  To enable substitution you need
> to
> compile with '--enable-alarm-shell-danger'.
>
> --Rik
>
> _______________________________________________
> Public archival of this list without permission is prohibited.
> http://lists.jpilot.org/mailman/listinfo/jpilot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jpilot.org/pipermail/jpilot_lists.jpilot.org/attachments/20080604/2ff4b884/attachment-0002.html>


More information about the Jpilot mailing list