TA T3 | 18 Jun 2010 15:58
Picon

Re: remind and pda's

On Wed, Mar 3, 2010 at 2:17 AM, Neil Watson <remind-8agRmHhQ+n2CxnSzwYWP7Q@public.gmane.org> wrote:

Greetings,

I'm curious to know if anyone on this list is using Remind in some way
with Android or Maemo (Nokia N900) smart-phones.   I've read that Remind
has been ported to Maemo but not with Tkremind.

Sorry for replying so very late - I check this list only rarely.

I made the first (possibly still only) packaging of remind for Mamo Bora, that is, Maemo 4.0. The N900 runs Maemo 5, but the same package will install fine I believe. There wasn't much porting involved because I simply used the original Debian sources which include the means to create a .deb package (which is what Maemo uses). I only had  to adjust the Debian build scripts to let it build the command line client only, because, as you correctly point out, the Tk support wasn't there (and still isn't for the N900, at least not out of the box).

I believe the package was announced on this list by the person originally requesting the port, way back in April 2008 IIRC. The version was 03.01.04.  If there is interest I will continue to maintain a port of newer versions. Ideally it should really be part of standard Maemo Extras, but for the moment that would take a bit too much of my time to go through those hoops. A simple build&packaging and making the package available is quick though.

Although I visit the list rarely I will be flagged if you just mention "Nokia" somewhere, and I'll check a bit more often.



David F. Skoll | 20 Jun 2010 22:48
Favicon

Remind 3.1.9 is released


Hi, everyone,

Remind 3.1.9 is available at http://www.roaringpenguin.com/products/remind

Significant changes since 3.1.8 (from docs/WHATSNEW) follow.

Regards,

David.

CHANGES TO REMIND

Version 3.1 Patch 9 - 2010-06-20

MAJOR ENHANCEMENT: New "purge mode" to delete expired reminders.  See
the PURGE MODE section of the remind man page.

ENHANCEMENT: Support DURATION in TkRemind.  Thanks to Marek Marczykowski.

BUG FIX: Don't change the order of PS and PSFILE reminders.  Bug found
by John McGowan.

BUG FIX: "REM 1990-01-01 SATISFY 1" would yield a spurious parse error
in earlier versions of Remind.

BUG FIX: Yom HaShoah is moved to Thursday if it would normally fall on
a Friday.  Thanks to Jonathan Kamens for pointing this out.

Jostein Berntsen | 21 Jun 2010 14:06
Picon
Favicon
Gravatar

Remove reminders at vacation days

I have added my vacation days to remind by using this code:

--> 

FSET between(x,a,b)     (x>=a && x <=b)

FSET vacation_2010(x) ( 0 \
|| between(x, '2010-6-30', '2010-7-05' )\
|| between(x, '2010-7-11', '2010-7-26' )\
|| between(x, '2010-8-30', '2010-9-09' )\
|| between(x, '2010-10-01', '2010-10-09' )\
    )

FSET vacation(x) ( vacation_2010(x))
REM SATISFY [ vacation(today()) ] MSG Vacation
REM mon thu wed tue fri SKIP \
AT 7:45 DURATION 8:00 \
SATISFY [!vacation(today())] \

<--

I have checked the manual, but I could not find a way to remove 
recurring events from the days when I have vacation. Could you tip me on 
how to achieve this?

Jostein

David F. Skoll | 21 Jun 2010 14:43
Favicon

Re: Remove reminders at vacation days

Jostein Berntsen wrote:

> I have added my vacation days to remind by using this code:

It's far too complex.  You are abusing Remind; you need to follow
the Remind Zen.  Also, the SKIP keyword does not work without an OMIT, so
using it in your example is pointless.  I would do it this way:

# The following needs Remind >= 3.1.8
REM 2010-06-30 *1 UNTIL 2010-07-05 MSG Vacation
REM 2010-07-11 *1 UNTIL 2010-07-26 MSG Vacation
REM 2010-08-30 *1 UNTIL 2010-09-09 MSG Vacation
REM 2010-10-01 *1 UNTIL 2010-10-09 MSG Vacation

FSET vacation_2010(x) (evaltrig("2010-06-30 *1 UNTIL 2010-07-05") == x) || \
                      (evaltrig("2010-07-11 *1 UNTIL 2010-07-26") == x) || \
                      (evaltrig("2010-08-30 *1 UNTIL 2010-09-09") == x) || \
                      (evaltrig("2010-10-01 *1 UNTIL 2010-10-09") == x)

REM Mon Tue Wed Thu Fri SKIP \
    OMITFUNC vacation_2010 \
    AT 7:45 DURATION 8:00 MSG Work

Regards,

David.

Jostein Berntsen | 21 Jun 2010 15:19
Picon
Favicon
Gravatar

Re: Remove reminders at vacation days

On 21.06.10,08:43, David F. Skoll wrote:
> Jostein Berntsen wrote:
> 
> > I have added my vacation days to remind by using this code:
> 
> It's far too complex.  You are abusing Remind; you need to follow
> the Remind Zen.  Also, the SKIP keyword does not work without an OMIT, so
> using it in your example is pointless.  I would do it this way:
> 
> # The following needs Remind >= 3.1.8
> REM 2010-06-30 *1 UNTIL 2010-07-05 MSG Vacation
> REM 2010-07-11 *1 UNTIL 2010-07-26 MSG Vacation
> REM 2010-08-30 *1 UNTIL 2010-09-09 MSG Vacation
> REM 2010-10-01 *1 UNTIL 2010-10-09 MSG Vacation
> 
> FSET vacation_2010(x) (evaltrig("2010-06-30 *1 UNTIL 2010-07-05") == x) || \
>                       (evaltrig("2010-07-11 *1 UNTIL 2010-07-26") == x) || \
>                       (evaltrig("2010-08-30 *1 UNTIL 2010-09-09") == x) || \
>                       (evaltrig("2010-10-01 *1 UNTIL 2010-10-09") == x)
> 
> REM Mon Tue Wed Thu Fri SKIP \
>     OMITFUNC vacation_2010 \
>     AT 7:45 DURATION 8:00 MSG Work
> 

Thanks, I have upgraded remind to v.3.1.9 and entered this code in the 
.reminders file, but it did not remove my recurring reminders at f.ex.  
2010-07-01. This is an example of my reminders:

REM Thursday +1 AT 12:00 DURATION 1:00 MSG R....

Jostein

David F. Skoll | 21 Jun 2010 15:26
Favicon

Re: Remove reminders at vacation days

Jostein Berntsen wrote:

> Thanks, I have upgraded remind to v.3.1.9 and entered this code in the 
> .reminders file, but it did not remove my recurring reminders at f.ex.  
> 2010-07-01. This is an example of my reminders:

Right; you need the "SKIP OMITFUNC vacation_2010" clause on your
reminders to do that.

Regards,

David.

Jostein Berntsen | 21 Jun 2010 15:30
Picon
Favicon
Gravatar

Re: Remove reminders at vacation days

On 21.06.10,09:26, David F. Skoll wrote:
> Jostein Berntsen wrote:
> 
> > Thanks, I have upgraded remind to v.3.1.9 and entered this code in the 
> > .reminders file, but it did not remove my recurring reminders at f.ex.  
> > 2010-07-01. This is an example of my reminders:
> 
> Right; you need the "SKIP OMITFUNC vacation_2010" clause on your
> reminders to do that.
> 

That worked great, thanks!

Jostein

tsr.offentlig | 22 Jun 2010 14:09
Picon

controlling the outpur of -s

Hi,

I've just discovered remind and I think I've finnaly managed to set up
my national holidays (will post on 43folders-wiki soon) and
got started with my first catch-all rem-file.

At the moment I list my appointments by issuing:
remind -s+2 -b1 -m .reminders 

I have two question relating to this:
1) I seem to recall that it was possible to config remind to read all
rem-files from a certain directory so that I could just do "remind
-s+2 -b1 -m", how do I do that?
2) The output is almost perfect (I want to incorporate the
wekk-nr-thing I saw in the mail archive) but I wonder if I can reformat
it so that:
------------
2010/06/22 * peradm 60 900 15:00-16:00 appointment-text-consorship
2010/06/23 * peradm 120 780 13:00-15:00 appointment-text-consorship
2010/06/24 * ps 120 720 12:00-14:00 appointment-text-consorship
2010/06/25 * ps 120 660 11:00-13:00 appointment-text-consorship
2010/06/26 * * * * appointment-text-consorship
2010/06/29 * ps 120 720 12:00-14:00 appointment-text-consorship
2010/07/01 * peradm 60 540 09:00-10:00 appointment-text-consorship
------------
becomes:
------------
Tue 2010-06-22 15:00-16:00 [peradm]  appointment-text-consorship 
Wen 2010-06-23 13:00-15:00 [peradm]  appointment-text-consorship 
Thu 2010-06-24 12:00-14:00 [ps]      appointment-text-consorship 
Fri 2010-06-25 11:00-13:00 [ps]      appointment-text-consorship 
Sat 2010-06-26 *           *         appointment-text-consorship 
Tue 2010-06-29 12:00-14:00 [ps]      appointment-text-consorship
Thu 2010-07-01 09:00-10:00 [ps]      appointment-text-consorship
------------

Hoping to become a devoted follower,
Tomas

Jostein Berntsen | 22 Jun 2010 14:39
Picon
Favicon
Gravatar

Print calendar

I have tried getting rem2ps to print a month calendar, and also print æ, 
ø, å characters correctly. This is the command I have tried: 

rem -c+m -b1 -p | rem2ps -l -sd 10 -se 7 -m A4 | lpr

This output looks pretty good, but it cuts the border and some of the 
text at the left side, and the Scandinavian characters are not printed 
correctly. Does anyone have any tips on how to use rem2ps for this?

Jostein

David F. Skoll | 22 Jun 2010 15:23
Favicon

Re: controlling the outpur of -s

tsr.offentlig@... wrote:

> 1) I seem to recall that it was possible to config remind to read all
> rem-files from a certain directory so that I could just do "remind
> -s+2 -b1 -m", how do I do that?

If you invoke "remind" as "rem", it assums ~/.reminders.  So:

   rem -s+2 -b1 -m

> 2) The output is almost perfect (I want to incorporate the
> wekk-nr-thing I saw in the mail archive) but I wonder if I can reformat
> it so that:

> 2010/06/22 * peradm 60 900 15:00-16:00 appointment-text-consorship

> becomes:

> Tue 2010-06-22 15:00-16:00 [peradm]  appointment-text-consorship

That is a job for Perl.

Regards,

David.


Gmane