Phil Snowberger | 1 Sep 21:39 2006
Picon

use case: wyrd+remind + screen + ion3

I use the ion window manager, and almost exclusively curses / console
applications.  One of the reasons I enjoy ion so much is its support for
the URGENT window manager hint (you're looking at another window or
workspace, something urgent happens in another window or workspace, and
ion will notify you of this).

I've recently come to adopt remind and wyrd.  *To my limited knowledge*,
wyrd doesn't do anything when timed reminders are triggered.  So it
would be nice if we could get that behavior.  Now, if I'm just being
obtuse and Wyrd has this behavior, then please ignore me.  Also, if this
whole setup has been documented before, then please ignore me.  If
you're interested, however, read on:

Here's an approximation of my process tree:

ion3
\- rxvt-unicode [1]
   \- screen -S wyrd
      \- bash
         \- wyrd
      \- bash
         \- remind -f -z ~/.reminders | sed 's/^/^G/' [2]

In my .screenrc I have:

vbell on
bell_msg "^GBell in window %n"

Then I keep the screen on window 0 (with wyrd), and whenever there's a
timed event trigger, remind (in window 1) prints out a line, which sed
(Continue reading)

Paul Pelzl | 1 Sep 23:03 2006
Picon

Re: use case: wyrd+remind + screen + ion3

On Fri, Sep 01, 2006 at 03:39:45PM -0400, Phil Snowberger wrote:
> I've recently come to adopt remind and wyrd.  *To my limited knowledge*,
> wyrd doesn't do anything when timed reminders are triggered.

That is correct.

> So it would be nice if we could get that behavior.  

I get this request a lot, but I'm reluctant to add a feature to Wyrd
that is already strongly supported by Remind itself.  Much of the time I
don't even have Wyrd running, and I can still receive notifications from
the background Remind process.

[snip]
> Then I keep the screen on window 0 (with wyrd), and whenever there's a
> timed event trigger, remind (in window 1) prints out a line, which sed
> prepends a bell character to, which screen notices and (since vbell is
> on) prints out the bell_msg, which itself contains another bell
> character, so rxvt-unicode sets the URGENT hint, and I get notified via
> ion.

Looks like a nice setup.  Perhaps you could make a short writeup
somewhere in the Remind section of the 43 Folders wiki:
http://wiki.43folders.com/index.php/Category:Remind

Paul

Ken Guest | 4 Sep 10:42 2006
Picon

Re: env variables

On Tue, Aug 15, 2006 at 03:06:11PM +0200, Michael Dunn wrote:
> I had the same problem (differently named home directories on
> different machines, one .reminders file kept in cvs), and I don't see
> that anybody has offered an answer to this yet.
> 
> * shell extensions like "~" don't work

Try my patch at
http://blogs.linux.ie/kenguest/2005/07/27/internal-tilde-expansion-for-remind/
which I sent in to David Skoll in July 2005 (and sent him a few reminders about
it) but for some reason has not made it in to a new release of Remind.
--

-- 
Ken Guest
Mobile: +353 86 8252 141    http://blogs.linux.ie/kenguest/
Phil Snowberger | 8 Sep 06:34 2006
Picon

ask remind what timed reminder is currently happening

I'm wondering if somebody has already devised a way to ask remind what
timed reminder (with a duration) is "currently happening".  That is, if
you have

REM Sep 8 2006 AT 09:00 DURATION 03:30 MSG Do things, and also stuff %

and it's currently 10am, I would like to be able to get remind to spit
out just the string "Do things, and also stuff", or possibly with the
start and end time of the reminder as well.

Alternately, is there a way to invoke remind such that 
... AT 09:00 +30 ...
doesn't output the reminder at 8:30, only at 9:00?  Using this, I could
tail the last line out of the output to get just what's currently
happening.

I'm asking this because I'm thinking about writing an irssi script that
will keep a variable containing what remind thinks I'm currently doing,
so that I can tell irssi to track my away message with it.  (It would
only do so if I explicitly turn on remind tracking, of course.)

In case you're thinking "how annoying would that be in IRC", I only plan
to use it with bitlbee + irssi, where away messages are much less
obtrusive and annoying than in IRC.

thanks,
--Phil

--

-- 
Phil Snowberger -- psnowber@...
(Continue reading)

Paul Pelzl | 8 Sep 07:58 2006
Picon

Re: ask remind what timed reminder is currently happening

On Fri, Sep 08, 2006 at 12:34:25AM -0400, Phil Snowberger wrote:
> I'm wondering if somebody has already devised a way to ask remind what
> timed reminder (with a duration) is "currently happening".  That is, if
> you have
> 
> REM Sep 8 2006 AT 09:00 DURATION 03:30 MSG Do things, and also stuff %
> 
> and it's currently 10am, I would like to be able to get remind to spit
> out just the string "Do things, and also stuff", or possibly with the
> start and end time of the reminder as well.

Remind doesn't actually track durations internally (except to print them
as output), so it can't provide this sort of information.  I think the
solution is to write a page or so of code to parse the output of 
"rem -s".

Paul

Dara Pressley | 8 Sep 22:42 2006

Newbie -- Please help with ical2remind script

Ok, two questions. I'm on Mac OS X tiger.

First,
how to I get ical2rem.pl into the usr/local/bin ? I tried moving with  
Pathfinder and I tried the mv command in terminal -- but the folder  
is locked.

Second,
I put the file in my todo directory to try to run it from there but I  
get this error (not sure if the two problems are related or not):

Can't locate iCal/Parser.pm in  <at> INC ( <at> INC contains: /System/Library/ 
Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 / 
Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 / 
Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level / 
Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/ 
Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/ 
5.8.6 /Library/Perl/5.8.1 .) at /Volumes/JUMP/todo/ical2rem.pl line 38.
BEGIN failed--compilation aborted at /Volumes/JUMP/todo/ical2rem.pl  
line 38.

Please Help

-Dara

Justin Alcorn | 8 Sep 23:35 2006
Picon

Re: Newbie -- Please help with ical2remind script

N.B.  - I'm a Linux user.  Luckily, I bought my wife a Mac, so maybe I
can do some testing to get it working.

Dara Pressley sent the following missive on 9/8/2006 4:42 PM:
> Ok, two questions. I'm on Mac OS X tiger.
> 
> First,
> how to I get ical2rem.pl into the usr/local/bin ? I tried moving with  
> Pathfinder and I tried the mv command in terminal -- but the folder  
> is locked.

You'll probably need to use Pseudo to write to /usr/local/bin.  But it
really can go anywhere in your path.

> 
> Second,
> I put the file in my todo directory to try to run it from there but I  
> get this error (not sure if the two problems are related or not):
> 
> Can't locate iCal/Parser.pm in  <at> INC ( <at> INC contains: /System/Library/ 
> Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 / 
> Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 / 
> Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level / 
> Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/ 
> Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/ 
> 5.8.6 /Library/Perl/5.8.1 .) at /Volumes/JUMP/todo/ical2rem.pl line 38.
> BEGIN failed--compilation aborted at /Volumes/JUMP/todo/ical2rem.pl  
> line 38.
> 
The file requires some CPAN modules.    Give me until tomorrow to try it
(Continue reading)

Justin Alcorn | 9 Sep 07:26 2006
Picon

Re: Newbie -- Please help with ical2remind script

I created a HOWTO at
http://wiki.43folders.com/index.php/ICal2Remind_OSX_HOWTO

And linked it from the Reminders Helpers page.  Remember, I'm a *nix
guy, not a Mac guy.  I stumbled a few times putting it together.

Justin Alcorn sent the following missive on 9/8/2006 5:35 PM:
> N.B.  - I'm a Linux user.  Luckily, I bought my wife a Mac, so maybe I
> can do some testing to get it working.
> 
> Dara Pressley sent the following missive on 9/8/2006 4:42 PM:
>> Ok, two questions. I'm on Mac OS X tiger.
>>
>> First,
>> how to I get ical2rem.pl into the usr/local/bin ? I tried moving with  
>> Pathfinder and I tried the mv command in terminal -- but the folder  
>> is locked.
> 
> You'll probably need to use Pseudo to write to /usr/local/bin.  But it
> really can go anywhere in your path.
> 
> 
>> Second,
>> I put the file in my todo directory to try to run it from there but I  
>> get this error (not sure if the two problems are related or not):
>>
>> Can't locate iCal/Parser.pm in  <at> INC ( <at> INC contains: /System/Library/ 
>> Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 / 
>> Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 / 
>> Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level / 
(Continue reading)

Dara Pressley | 10 Sep 22:26 2006

Need help figuring out reminder calculation

My husband works for 4 days in a row, then four days off. 1 week days  
the next week nights and so on. I want my msg to simply read "night"  
or "day" on the days he's working. Anyone have any ideas on how to  
write that?

-Dara

Mike Harris | 10 Sep 22:42 2006

Re: Need help figuring out reminder calculation

(9/10/06 3:26 PM) Dara Pressley <dara@...> wrote:

> My husband works for 4 days in a row, then four days
> off. 1 week days the next week nights and so on. I want
> my msg to simply read "night" or "day" on the days he's
> working. Anyone have any ideas on how to write that?

The difference between when a cycle repeats is every 16 days.  Day #1 is a day shift; then it's three more days
'day', four more days off, four more days night, four more days off.  Vacation's only 8 days apart.

So I'd do something like:

REM September 1 2006 *16 MSG Day shift.%
REM September 2 2006 *16 MSG Day shift.%
REM September 3 2006 *16 MSG Day shift.%
REM September 4 2006 *16 MSG Day shift.%
REM September 5 2006 *8 MSG Day off.%
REM September 6 2006 *8 MSG Day off.%
REM September 7 2006 *8 MSG Day off.%
REM September 8 2006 *8 MSG Day off.%
REM September 9 2006 *16 MSG Night shift.%
REM September 10 2006 *16 MSG Night shift.%
REM September 11 2006 *16 MSG Night shift.%
REM September 12 2006 *16 MSG Night shift.%

Obviously, configure the 'start' dates for whenever.

Mike

(Continue reading)


Gmane