Archive for the ‘Nokia’ Category

Check Your Mail

I keep forgetting to publish this post, so I had better do it now before I forget again 🙂

Many of you know that I dig using (al)pine for reading my email. This is especially true on my Acer Aspire One netbook. I like to have fast access to my email and save space on that tiny flash drive and alpine rolls in around 80someodd k. Anyhow, I also mentioned, I think, that I have several email accounts to keep track of that way, in fact 5 for todays purposes, and I use screen sessions to jump between alpine email sessions on the different accounts.

The trouble with all that is, how do you know when or how many emails you have unread on any of the accounts without jumping through them all, all day long? Well, I decided to go to an old standby for a solution…. Fetchmail.

Fetchmail has the ability to poll your email accounts with a “-c” option which means to just get a count and not download anything. This is just what I need and want!

To start off, you need to configure fetchmail. This is done in your .fetchmailrc file or, in my case, from the command line. I set up all my polling connections in a little script we’ll call “chkmail” like so:

fetchmail -c -u lxxxxx -p imap
fetchmail -c -u lxxxxxxxx -p imap
fetchmail -c -u linc -p imap
fetchmail -c -u lxx -p imap
fetchmail -c -u linc.fessenden -p imap --ssl

Simply put, I call fetchmail, tell it to only count “-c” use the protocol imap “-p” and point it at my imap server’s address. You’ll notice on the gmail entry there is an added “–ssl”. That’s because that imap server uses, you guessed it, ssl authentication. No brainer.

Now the only real stumbling point here is you’ll notice I didn’t pass any passwords. Well, fetchmail doesn’t accept passwords when running from the comand line, it always prompts you for them for security reasons. So, in order to get around that, you’ll need to use a .netrc file, where you can specify your login/password information for the different systems. Your fetchmail program will check your .netrc file before prompting you for a password, so that will make our script runnable without human intervention. My .netrc file looks like so:

login linc
password ubersupersecret
login linc.fessenden
password ohnoyoudidnt

Now with all that done, you can just run that little chkmail script and get an output of your current mail situation any time you want. Or, if you’re like me, I like to have that info on hand throughout the day, so I call that script in a watch command “watch -n 180 ./chkmail”. This will rerun that chkmail command every 3 minutes and put the output in the current terminal. Works like a champ.

Friday, October 3rd, 2008

Tivo, Linux, n800, Go!

I have been asked by a few different people now about using my Tivo with Linux and with the n800. Even though I have not had my Tivo for very long, I thought I would take a stab at writing a document about how I use them anyhow. The result is at Take a look and be sure to let me know if I have left anything out that you think is important 😉

Saturday, May 10th, 2008


I want one. ‘Nuff said.

Wednesday, October 17th, 2007

BashPodder on the N800

Wouter Houweling created a piece of software called PodSync, which, at it’s core uses BashPodder. I installed it this morning, and as long as you already have wget installed, it runs fantastic. If you have an N800, here’s your podcatcher. I am assuming that this will work fine with the Nokia 770 as well, however, that has not been tested yet. Have at it folks!

Sunday, October 14th, 2007


I finally got the chance the other day to upgrade my Nokia N800 to the newest version of the operating system (yes, and only 6 months late right?). I have to say that this makes the N800 even more wonderful than it already was. While the N800 was a really great and sometimes practical toy before my move, since then, I use it every day. My N800 has become my portable notebook, to do list, and entertainment center, all in one compact device. I absolutely love the quality of the video it has and since I don’t seem to have much time at night anymore, I have taken lately to watching my favorite tv shows on my Nokia on the way to and from work. I mean, really, who needs the hassle of turning newspaper pages in your seatmates lap when you can just sit there and enjoy your favorite shows like Stargate and Ghost Hunters? The new OS makes things like this even better because it’s *FAST*. In fact, it’s quite markedly faster on not only bootup, but flipping through the menus and playing video as well. I really think Nokia has a winner here folks – in fact, if I didn’t already have one, I’d get one 😉 The good part for you guys that don’t have one yet is that I just looked and the price has gone down $200 from when I first bought mine. So whatcha waiting for??

And best of all, it still runs Linux 😉 There sure is nothing like having a portable ssh terminal in your pocket 🙂

Wednesday, June 13th, 2007