<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (cli)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/cli.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:31 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>An Update to 'Window Managers?'</title><link>http://www.duckland.org/posts/201112an-update-to-window-managers.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;An Update to 'Window Managers?'&lt;/h1&gt;

&lt;p&gt;Way back, I wrote a quick blurb on &lt;a href="http://www.duckland.org/index.php/2006/07/31/window-managers/"&gt;Windows Managers&lt;/a&gt; for running under X.&lt;/p&gt;

&lt;p&gt;Well, a while back I switched to &lt;a href="http://www.ubuntu.com"&gt;Ubuntu&lt;/a&gt; for my OS of choice. As you may know, the fine folks at Ubuntu switch the default window manager to something called &lt;strong&gt;Unity&lt;/strong&gt;, which cause a stir. I tried it for a while, but decided that it was too heavy, and to mouse-centric.&lt;/p&gt;

&lt;p&gt;So, what to do? Well, I went back to my old standby &lt;a href="http://wmfs.info"&gt;wmfs&lt;/a&gt;, Window Manager From Scratch. This is a modern WM with systray support, full Ximirama and Xrandr support, tiles, and is mainly driven from the keyboard. Life is good.&lt;/p&gt;

&lt;p&gt;To install (same steps as for Fedora, RHEL, or Ubuntu), download the source, and install the needed development libraries for: &lt;strong&gt;X11, Xft, freetype, Xinerama, Xrandr, and Imlib2&lt;/strong&gt;. I used the native packages from the OS. Then, simple do a&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;make
sudo make install
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;(you do build software as a normal user, right?)&lt;/p&gt;

&lt;p&gt;This will install all the needed bits and configs into the correct place. Under Ubuntu 11.10, there was an entry from the login screen to let me chose wmfs.&lt;/p&gt;

&lt;p&gt;Config is handled in &lt;em&gt;$HOME/.config/wmfs/wmfsrc&lt;/em&gt; which you can copy from &lt;em&gt;/etc/xdg/wmfs/wmfsrc&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;The &lt;a href="http://wmfs.info"&gt;wmfs website&lt;/a&gt; has very nice documentation as well as likes to some people’s configs with screen shots.&lt;/p&gt;

&lt;p&gt;It runs very fast, and very lean:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; Private  +   Shared  =  RAM used       Program 
  3.9 MiB + 310.0 KiB =   4.2 MiB       wmfs
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Check it out, I am sure you will like what you see.&lt;/p&gt;</description><category>cli</category><category>software</category><category>windowmanager</category><guid>http://www.duckland.org/posts/201112an-update-to-window-managers.html</guid><pubDate>Thu, 22 Dec 2011 23:12:00 GMT</pubDate></item><item><title>cmus project restarted</title><link>http://www.duckland.org/posts/201002cmus-project-restarted.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;cmus project restarted&lt;/h1&gt;

&lt;p&gt;Just a quick note. The cmus project has been restarted recently, and they are working on a new release. This one should have better integration with things like PulseAudio.&lt;/p&gt;

&lt;p&gt;Good news!&lt;/p&gt;

&lt;p&gt;Go check out &lt;a href="http://cmus.sourceforge.net/"&gt;http://cmus.sourceforge.net/&lt;/a&gt; for more details.&lt;/p&gt;</description><category>cli</category><category>music</category><category>software</category><guid>http://www.duckland.org/posts/201002cmus-project-restarted.html</guid><pubDate>Sat, 27 Feb 2010 23:02:00 GMT</pubDate></item><item><title>Making life easy over flaky links</title><link>http://www.duckland.org/posts/200912making-life-easy-over-flaky-links.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;Making life easy over flaky links&lt;/h1&gt;

&lt;p&gt;I tend to work over VPN, which we know can be flaky at times, Since I work on server, I spend a lot of time ssh’ed into hosts. I was getting tired of the lost time having to restart what I was working on every time the VPN dropped (which could be as much as every 15 minutes on a bad day). While I already used screen to handle the lack of terminals (Alas, I am forced to use a Windows laptop to VPN in with), I thought there could be an easier way to do this.&lt;/p&gt;

&lt;p&gt;The way I tend to work is that I ssh into a jump server, fire up screen, then ssh into the hosts I need to work on, and fire up screen on those hosts.&lt;/p&gt;

&lt;p&gt;Now, this is nice, but it can get a bit tiring to do it all over
again. So, I found a tool called
&lt;a href="http://www.harding.motd.ca/autossh/"&gt;autossh&lt;/a&gt; which will automatically restart your ssh session if it drops for any reason but a graceful disconnect. (Well, there are others, but this is basically it). Combine this with your ssh-agent, and you can re-attach with easy. I also use &lt;a href="http://www.funtoo.org/Keychain"&gt;keychain&lt;/a&gt; to help manage my ssh-agent when I log in.&lt;/p&gt;

&lt;p&gt;Now that the connection will come back, I need a way to re-attach to my screen session, or if there is not one, to start one for me. To do&lt;br&gt;
that, I have this is my .bashrc file:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;test -x $STY &amp;amp;&amp;amp; screen -xR
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will check to make sure that we are not already inside a screen session on the local host (&lt;em&gt;test -x $STY&lt;/em&gt;), and if we are not, then either attach to an existing screen session or start a new one (&lt;em&gt;screen -xR&lt;/em&gt;)&lt;/p&gt;

&lt;p&gt;I have define this function in my .bashrc to spawn a new ssh connection in a separate screen window:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function ss ()
{
  screen -t $1 ssh $*
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Easy stuff&lt;/p&gt;</description><category>cli</category><category>software</category><category>ssh</category><category>telecommute</category><guid>http://www.duckland.org/posts/200912making-life-easy-over-flaky-links.html</guid><pubDate>Mon, 28 Dec 2009 23:12:00 GMT</pubDate></item><item><title>Search your email!</title><link>http://www.duckland.org/posts/200905search-your-email.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;Search your email!&lt;/h1&gt;

&lt;p&gt;One of the features that most of the pretty GUI mailers offer you is the ability to search your email. While this is not a feature I use regularly, it is one which when you need it, you really need it. I have used &lt;a href="http://grepmail.sf.net"&gt;grepmail&lt;/a&gt; in the past, but it slow for me (it scans the mail files every time) and the big thing for me is that is only supports &lt;a href="http://en.wikipedia.org/wiki/Mbox"&gt;mbox&lt;/a&gt; files, and I use &lt;a href="http://en.wikipedia.org/wiki/Maildir"&gt;maildir&lt;/a&gt; since I use &lt;a href="http://software.complete.org/software/projects/show/offlineimap"&gt;offlineimap&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I recently found &lt;a href="http://www.rpcurnow.force9.co.uk/mairix/"&gt;mairix&lt;/a&gt;. While I have not been using it long, so far I am very impressed with it. It uses an index to speed up the search process, and it smartly adds only new or changed files to the index. The first indexing run was only a few seconds on my archive of almost 15,000 mail messages. I have it scheduled to update the index every 15 minutes, and I never notice the load this will put on the system.&lt;/p&gt;

&lt;p&gt;To integrated mairix with mutt, I wrote a quick little script to search from within (or without) mutt:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#!/bin/bash
#===============================================================================
#
#          FILE:  mailsearch.sh
#
#         USAGE:  ./mailsearch.sh
#
#   DESCRIPTION:  search mail stuff
#
#       OPTIONS:  ---
#  REQUIREMENTS:  ---
#          BUGS:  ---
#         NOTES:  ---
#        AUTHOR:  Don Harper (), duck@duckland.org
#       COMPANY:  Don Harper
#       VERSION:  1.0
#       CREATED:  05/25/2009 07:03:30 PM CST
#      REVISION:  ---
#===============================================================================

rm -rf $HOME/Maildir/mfolder
echo "       t::word
              Match word in the To: header.
       c::word
              Match word in the Cc: header.
       f::word
              Match word in the From: header.
       s::word
              Match word in the Subject: header.
       m::word
              Match word in the Message-ID: header.
       b::word
              Match word in the message body.
       d::[start-datespec]--[end-datespec]
              Match messages with Date: headers lying in the specific range.
       z::[low-size]--[high-size]
              Match  messages  whose size lies in the specified range.
       n::word
              Match  word  occurring  as the name of an attachment in the mes-
              sage.  Since attachment names  are  usually  long,  this  option
       F::flags
              Match messages with particular  flag  settings.
              s meaning seen,
              r meaning replied
              f meaning flags
              prefixed by a - to negate its sense.

       The a:: search pattern is an abbreviation for tcf:

   Match words
       The word argument to the search strings can take various forms.
       ~word
              Match messages not containing the word.
       word1,word2
              This matches if both the words are matched in the specified message part.
       word1/word2
              This matches if either of the words are matched in the specified message part.
       substring=
              Match any word containing substring as a substring
       substring=N
              Match any word containing substring, allowing up to N errors  in
              the  match.   For example, if N is 1, a single error is allowed,
              where an error can be
       *      a missing letter
       *      an extra letter
       *      a different letter.
       ^substring=
              Match any word containing substring as  a  substring,  with  the
              requirement  that  substring  occurs  at  the  beginning  of the
              matched word.
       d::start-end
              Specify both start and end explicitly
"
echo -n "Enter your search string: "
read string
mairix $string
mutt -f=mfolder
rm -rf $HOME/Maildir/mfolder
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then, I bound this to “S'’ from within mutt:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; macro index,pager S "!mailsearch\n" 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This will give me a reminder of the search command, run the search, and then give me the search results in a new mutt session.&lt;/p&gt;</description><category>cli</category><category>email</category><category>search</category><category>software</category><guid>http://www.duckland.org/posts/200905search-your-email.html</guid><pubDate>Mon, 25 May 2009 23:05:00 GMT</pubDate></item><item><title>wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora</title><link>http://www.duckland.org/posts/200904wifiroamd-intel-prowireless-3945abg-and-fedora.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora&lt;/h1&gt;

&lt;p&gt;One of the things that has annoyed me about Fedora has been the decision to switch over to using &lt;a href="http://www.gnome.org/projects/NetworkManager/"&gt;NetworkManager&lt;/a&gt; to manage all network connections.&lt;/p&gt;

&lt;p&gt;Now, on the service this has a lot of advantages. A lot of work has gone into it, and it just works for a vast majority of the installations out there. They have made it so the move from wired to wireless and back can be done without the user doing anything. They have also seamlessly tied in Dial-Up Networking if you still need a modem or use a wireless modem. They even have two-click access to your VPN which is pretty cool.&lt;/p&gt;

&lt;p&gt;All these are things which are very good for Linux users. The biggest drawback to all this? The need for a user-space program to manage the non-hardwired connections. Which means that in order to be able to have any network running besides the good old twisted-pair copper, you have to have a little applet running as you, and it has to have a systray somewhere to display. Which means you have to be a) logged into the system and b) you have to be running a window manager which supports having a system tray. Now, Fedora gives you lots of choices for the second part now days. You have &lt;a href="http://www.gnome.org"&gt;Gnome&lt;/a&gt;, &lt;a href="http://www.kde.org"&gt;KDE&lt;/a&gt;, &lt;a href="http://www.xfce.org"&gt;XFCE&lt;/a&gt;, and &lt;a href="http://lxde.sf.net"&gt;LXDE&lt;/a&gt;. All are perfectly usable window managers. But, they still require you to be logged in to X. And, &lt;a href="http://www.duckland.org/archives/2006/07/31/window-managers/"&gt;I do not use any of them&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So, what is a cli-loving Fedora user to do? Well, there is this great program called &lt;a href="http://www.tummy.com/Community/software/wifiroamd/"&gt;wifiroamd&lt;/a&gt;. It will handle the same basic tasks that NetworkManager handles. It will automatically configure your wifi interface and connect to the wifi networks or the locate hardwired NIC if it cannot. You can configure it to run scripts per connection, so for example, you can change your firewall rules for different networks (shields down at home or the office, but up full at the coffee house), or you could bring up your VPN connection when you start using a given wireless network.&lt;/p&gt;

&lt;p&gt;One tip I picked up from the author was that if you have multiple AP’s in range, an you want to select once AP over the other, is under the &lt;em&gt;/etc/wifiroamd/connections&lt;/em&gt; directory, simply link the AP info you do not want to the one you want:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ln essid:my_home_ap essid:bad_ap
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;where &lt;strong&gt;essid:my_home_ap&lt;/strong&gt; is your AP with the keys and other information you want, and &lt;strong&gt;essid:bad_ap&lt;/strong&gt; is the one you do not want to connect to. My neighbors have some very powerful AP’s which have a habit of showing up high than mine, but I have no problem with them now.&lt;/p&gt;

&lt;p&gt;I have been using this set up under Fedora since FC6 days, but when I upgraded to F10, this stopped working. wifiroamd would try to scan for an AP, and not find anything. The change, it turns out, is that when I switched from using the iw3945 driver to the native iwl3945, wifiroamd could no longer see the wireless NIC due to the wpa_supplicant process, but NetworkManager could. Simply stopping and disabling wp_supplicant and NetworkManager, and wifiroamd started working again! I am a happy camper again.&lt;/p&gt;</description><category>cli</category><category>network</category><category>software</category><category>wireless</category><guid>http://www.duckland.org/posts/200904wifiroamd-intel-prowireless-3945abg-and-fedora.html</guid><pubDate>Fri, 17 Apr 2009 23:04:00 GMT</pubDate></item><item><title>C*MUS - A music manager for the terminal</title><link>http://www.duckland.org/posts/200901cmus-a-music-manager-for-the-terminal.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;C*MUS - A music manager for the terminal&lt;/h1&gt;

&lt;p&gt;&lt;a href="http://cmus.sf.net/"&gt;C*mus&lt;/a&gt; is an advanced music juke-box for *inx and Window operating systems. It can handle the modern audio file formats: FLAC, Ogg/Vorbis, MP3 , Wav, AAC , MP4, .mod, .s3m, .mpc, mpp, .mp+, .wma, and .wv . It also can deal with many different types of audio output systems: ALSA, libao, ARTS, OSS, Sun, and WaveOut on Windows. The typical features of an electronic juke-box are supported like play lists and random/shuffle play, in addition to easily switching between playing from the library, an artist, or a single album with a simple keystroke.&lt;/p&gt;

&lt;p&gt;C*Mus is pretty painless to install from source. The website lists the build dependencies with links. There is no RPM .SPEC file on the web site, but you can use this &lt;a href="http://www.duckland.org/files/cmus.spec"&gt;one&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;En-queuing&lt;/h2&gt;

&lt;p&gt;One of the features I really enjoy and use is the en-queue function. I tend to use this two ways. The first is when I am listening to a song, and want to listen to similar songs, I go find them in my library, and I queue them up with a simple keystroke. A dynamic play-list, if you will. Then, I can simply create a more permanent playlist from this temporary list.&lt;/p&gt;

&lt;p&gt;The second way is using the helper program cmus-remote to be able to queue up tracks from a different terminal, or from a script. My podcatcher program (bashpodder) will queue up the podcasts it just downloaded for me, so I can listen to them first thing in the morning.&lt;/p&gt;

&lt;h2&gt;Keystroke and CLI&lt;/h2&gt;

&lt;p&gt;C&lt;em&gt;Mus is developed to be driven via keystrokes. The default mapping is set up to be comfortable for those use are familiar with VI but, it is very easy to remap the keys to make it more comfortable. C&lt;/em&gt;Mus will automatically save the current settings on a clean exit. The default mappings for selecting and updating views, moving through songs forward and backwards in small and large increments, adding to play list and queue lists.&lt;/p&gt;

&lt;h2&gt;Filters&lt;/h2&gt;

&lt;p&gt;One of the very powerful features is simple filters. You can set a filter for your 80’s Metal Bands or your Classical music. Many of the common tags can be used for filter on. Things like filename, artist, album, title, genre, discnumber, tracknumber, date (year), duration (seconds), and tag.&lt;/p&gt;</description><category>cli</category><category>music</category><category>software</category><guid>http://www.duckland.org/posts/200901cmus-a-music-manager-for-the-terminal.html</guid><pubDate>Mon, 12 Jan 2009 23:01:00 GMT</pubDate></item><item><title>Google’s Calendar on the Command Line!</title><link>http://www.duckland.org/posts/200812googles-calendar-on-the-command-line.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;Google’s Calendar on the Command Line!&lt;/h1&gt;

&lt;p&gt;You love your comfortable command line, but all the cool kids are playing in the Web 2.0 web space, and you want to stay true to your roots?  Want a Web 2.0 calendar, but still love (or need) command line access?&lt;/p&gt;

&lt;p&gt;I just found the answer: &lt;a href="http://code.google.com/p/gcalcli/"&gt;gcalcli&lt;/a&gt;. This little tool will let you list your appointments, get an list your events, get an agenda, print ascii rendering of your calendar for the week or month.  You can even add events to the calendar.&lt;/p&gt;

&lt;p&gt;I like the fact that I can easly get at my gcalendar from anywhere (even my cell phone), and now I can do it from my shell.&lt;/p&gt;

&lt;p&gt;The only downsides so far?  The code has not been updated since October of 2007, and the speed can be a little slow sometimes. I am going to play with it for a while to see if I like it enough to replace remind.&lt;/p&gt;</description><category>calendar</category><category>cli</category><category>software</category><guid>http://www.duckland.org/posts/200812googles-calendar-on-the-command-line.html</guid><pubDate>Mon, 08 Dec 2008 23:12:00 GMT</pubDate></item><item><title>Alerting with Remind</title><link>http://www.duckland.org/posts/200811alerting-with-remind.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;Alerting with Remind&lt;/h1&gt;

&lt;p&gt;Back in my &lt;a href="http://www.duckland.org/archives/2008/08/05/so-you-need-a-calendar/"&gt;article on Remind&lt;/a&gt;, I talked about the simple power of remind to power your scheduling needs.  That is all fine and good, but how to you get it to tell you when you have an event?&lt;/p&gt;

&lt;p&gt;In its simplest form, when you run _remind _ from the command line, it will not only display the current day’s reminders, but it will run in the background and wake up to tell you about other reminders on the screen while you work.&lt;/p&gt;

&lt;p&gt;This is fine, but what happens if you do not have that termial open in front of you?  Well, I have two ways I approach that issue.&lt;/p&gt;

&lt;p&gt;First, when I run under X (&lt;a href="http://www.duckland.org/archives/2006/12/31/what-do-i-use/"&gt;yeah, yeah, I know, but I use cli tools under X&lt;/a&gt;), I have this added to my .xinitrc:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;remind -z -k’xmessage -buttons okay:0 -default okay %s&amp;amp;’ ~/.reminders &amp;amp;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Let’s look at the command line:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;-z&lt;/strong&gt; tells remind to wake up every 5 minutes and reread the .reminders file.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;-k&lt;/strong&gt; tells remind to run a command instead of simply printing the reminder to the screen&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;xmessage -buttons okay:0 -default okay %s&amp;amp;&lt;/strong&gt; is the secret sauce of this.  This is the command run when there is an alarm.  This command line calls xmessage (which is on pretty much any box with X) to display the alert.  You could use zenity or kmessage, or winpopup, or whatever.  This is what puts the alert in your face when you are not looking at the screen.  The &lt;strong&gt;&amp;amp;&lt;/strong&gt; is needed to make this command non-blocking by putting it in the background.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That all good if you are setting at your computer.  But, what do you do when &lt;em&gt;gasp&lt;/em&gt; you leave to computer?  This is a little tricker.  For this, my solution needs two things: 1) a computer which is always on and 2) a way to send messages to your cell phone/pager (sms or email).  I have a cron job which checks to make sure remind is running, and restarts it if it is not (I use a hosting provider which does not like long running processes).  The command line is similar to the one for X, but with a difference:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;TZ=CDT6CST ~/bin/remind -z -k”echo %s&lt;/p&gt;
&lt;/blockquote&gt;</description><category>calendar</category><category>cli</category><category>remind</category><category>software</category><guid>http://www.duckland.org/posts/200811alerting-with-remind.html</guid><pubDate>Wed, 19 Nov 2008 23:11:00 GMT</pubDate></item><item><title>Pizza Party - Command Line Pizza ordering program</title><link>http://www.duckland.org/posts/200808pizza-party-command-line-pizza-ordering-program.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;Pizza Party - Command Line Pizza ordering program&lt;/h1&gt;

&lt;p&gt;Want a pizza, and do not want to fire up that pesky GUI?  We have the solution for you: &lt;a href="http://www.beigerecords.com/cory/pizza_party/"&gt;Pizza Party - Command Line Pizza ordering program&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Currently, only from Dominos, so if you do not have one near you who accepts on-line orders (&lt;em&gt;sigh&lt;/em&gt;, mine does not), then you are out of luck.&lt;/p&gt;</description><category>cli</category><category>lifeimitatingmovies</category><category>software</category><guid>http://www.duckland.org/posts/200808pizza-party-command-line-pizza-ordering-program.html</guid><pubDate>Mon, 25 Aug 2008 23:08:00 GMT</pubDate></item><item><title>So you need a calendar?</title><link>http://www.duckland.org/posts/200808so-you-need-a-calendar.html</link><dc:creator>Don Harper</dc:creator><description>&lt;h1&gt;So you need a calendar?&lt;/h1&gt;

&lt;p&gt;So, one of the things we have been using computers for is to keep track of our lives.  And this means a scheduling or calendaring tool.  Some tools out there do this fine, and some do it very well.&lt;/p&gt;

&lt;p&gt;I have to keep track of a lot of appointments. From conference calls for work, to each member of the family’s schedules, to random, but highly important reminders.  Most calendaring programs out there will let you set up a reoccurring event by day of the month, or the date.  But, what if you need to do something two days before the end of the month, every month?  Or, you need to do something every full moon, but not on &lt;a href="http://en.wikipedia.org/wiki/Blue_moon"&gt;the blue moon&lt;/a&gt;?  Or, you have a standing meeting with your boss every other Monday morning, execpt when Monday is a holiday, then the meeting shifts to Tuesday?  Oh, and you want something that you can run over an ssh session, while on your smart phone, or you friend’s smart phone?&lt;/p&gt;

&lt;p&gt;The answer is simple: &lt;a href="http://www.roaringpenguin.com/products/remind/"&gt;remind&lt;/a&gt;.  remind can do this, and more.  Need to set something up by the Hebrew Calendar?  Check.  Want your calendar to run a shell command for you on a holiday, specific day of the month, or phase of the moon? Check.&lt;/p&gt;

&lt;p&gt;Most modern Linux distrobutions include remind nowdays, as it is so darn usefull.  In addition, it runs just fine under Solaris, and the BSDs, including MacOS X.  If fact, over at &lt;a href="http://www.43Folders.com"&gt;43Folders&lt;/a&gt;, they have a whole section their wiki for &lt;a href="http://wiki.43folders.com/index.php/Remind"&gt;remind&lt;/a&gt;.  The wiki has many tips and tricks on how to use remind to its fullest.&lt;/p&gt;

&lt;p&gt;In my next post, I will share some tips on how I get remind to remind me of events.&lt;/p&gt;</description><category>calendar</category><category>cli</category><category>software</category><guid>http://www.duckland.org/posts/200808so-you-need-a-calendar.html</guid><pubDate>Mon, 04 Aug 2008 23:08:00 GMT</pubDate></item></channel></rss>