Blog

  • creating phone book and diary entries from incoming calls on my router

    If you read this title, how mad do you think I am? Honest!

    Alright, “as you know” (so of course this article only applies to some sort of computer nerds), my router is a FRITZ!Box 7270, it’s also the base station for my (wireless) phones, and a lot more … — certainly one of my most important toys or gadgets. And I have 2 of them, one for at home, one for anywhere outside, where I can only connect to the Internet through UMTS.

    So alright, back to the title of this article!

    • It’s nice to record your incoming and outgoing calls in your diary, right? (my diary is emacs style)
    • It’s nice to get something descriptive displayed on your phone, when somebody calls, right?
    • It’s nice to extend your phone book through time as easily as possible, right?

    Well, my router is running Linux as its operating system kernel, and BusyBox on top of it. On each incoming phone call it runs a shell script with a few parameters, of course the caller’s phone# (if available) and also the callee’s phone#. (I do have more than one phone#, and why not also record the called phone#, just for the record?) It tries to associate a name with the caller’s phone#, if there is a matching entry in the phone book.

    Quite a while ago I started implementing such a shell script, and obviously (as it is almost an ordinary (bash) shell script), I can develop and test it on any of my computers, that can run shell scripts, like any of my openSuSE computers, any WinXP computer running cygwin, a Mac running OS X, … . Yes, I cannot create a full blown shell script, I will not pipe a lot through one-liner perl or ruby scripts on my router, but still: it’s a handy and useful, not so tiny shell script.

    So far it appears to me, as if no such executable gets called on the router for outgoing calls, but I can still mimic this behaviour by calling that script on my main development box.

    Having said this, my script (fritz_box_calllog.sh) fulfills all the requirements, that I listed above in that bullet list.
    For incoming calls without caller id and/or without a matching entry in the phone book it creates a piece of XML text, that I can paste into my FRITZ!Box XML phone book, and where I can fill in a phone# and a name or any descriptive text, so next time, I want to dial that phone# myself, I can select it from the phone book. And maybe another time that person will call you with caller id, and then you will be able to greet that person with her/his name. Wouldn’t that be nice?

    The implementation of this software also got inspired by Matthias Hühne’s “Dial!Fritz“, that I run on my iPhone. But of course his software is far completer and nicer, and it’s well integrated.

  • a Mac keyboard is so different from a PC keyboard

    It really takes me a while to accomodate with all that. Right now I just missed arrow key “accelerators” a lot, and I thought I give a few combinations a try. Guess what! The left and the right arrow key together with the cmd key work like Pos1 and End on a PC keyboard. Try yourself, what the alt key does! Isn’t that amazing?!!

  • the pidgin Facebook plugin

    The pidgin Facebook plugin does not work properly so far. A single Facebook user actually talks to me with yet another id, every single time he sends me a message. This does not look tested well enough.
    I am using pidgin 2.6.2 (libpurple 2.6.2) from fink on Mac OS X, Snow Leopard.

    Update / 2010-12-28:
    For quite a while Facebook chat has now been reachable through Jabber / XMPP.

  • the main Fink web site is down, there is an alternative though (UPDATE)

    You can’t reach the main Fink web site right now, but there is an alternative though.

    2009-10-28: You can fink again. The main Fink web site is still not available though.

  • Safari AdBlocker

    Do you think, I am starting a fairy tale here? No, I’m not. Look it up on Apple’s list of public downloads for Mac OS X. The link there is broken (right now), but read it and bend it! It points you to sweetpproductions.com, there you want to look for the Safari AdBlocker (maybe this link will still be functional). It works with Firefox AdBlock Plus filter subscritions.

    Question is, how long it will take, until the iPhone’s Safari can be made to block ads as well. I mean, an iPhone is an OS X derivative using Cocoa, so I wonder how hard that will be.

    Well, now don’t you complain here, if you find browsing without ads a poor experience!

  • how to print from my Mac OS X machine through a Netgear print server

    A Netgear knowledge base article named Recommended Unix printer configuration for PS110 explains, why it’s good to use the LPD printing method.

    Now my Mac is the UNIX-ish machine on my LAN with the richest printing capabilities:

    • It can print through a 7270 AVM FRITZ!Box (my router++) on a Samsung CLP-315 colour laser printer attached via USB.
    • It can also print through a Netgear PS110 (my print server) on a HP LJ1100A and a HP LJ4L, both pretty ancient but functional b&w laser printers, attached through parallel cables.

    What is still missing in the team is my Canon PIXMA MX310, a combi device that I mostly use for batch scanning enterprise documents and for sending documents by fax. That device is attached via USB to a rather simple (and fanless) machine (a NEO) running WinXP, running through pretty all of the year.


    Just for the completeness of the presentation: Incoming fax documents get received by that FRITZ!Box, and that lovely devices creates PDF-s from them and forwards them as e-mail attachments to one of my IMAP mail boxes out there.

  • CAVEAT: the Pill and antibiotics

    I happened to come across and old friend last night on Yahoo Messenger resp. pidgin, who told me, that she was justing attempting to commit suicide.

    What had happened? She had an abortion last week with twins in the 3rd month. No contraception? No, really not. But the Pill and antibiotics do not go together. She didn’t know that, and she got pregnant.

    We chatted quite long last night. I think, she felt a little better, when we said our “Good Nights”.

  • pipe symbol at Apple keyboard

    there is that nice article on where to find the “pipe symbol” / “pipe symbol” on an Apple keyboard. of course nowadays with Snow Leopard or “just” Leopard that’s all different. but it still (with a little fancy and curiousity) helped me finding out, how to get to that thing.

    in short: System Preferences / Language + Text / Input Sources / Show Input menu in menu bar / Show Keyboard Viewer.
    there you play a little with combinations of the shift key, the function key, and just try yourself!

    alright, I actually completed this article — at the cost of letting my SO wait for my call to the gym. sorry for that!

  • how to copy an Audio-CD nowadays?

    My task is to copy an Audio-CD with a language course on it.

    I tried to achieve this on my new Mac Book Pro, just with the software, that comes with it. Disk Utility does not seem to support exactly this, it leaves out especially the creation of an image of a CD-ROM. I would though burn a CD-ROM from an image.

    Looks like openSuSE’s Brasero does not have a problem with this task.