Tools for mutt



This is a tool that displays Debian bug reports in mutt. You can then directly read all messages sent to the bug and reply. The messages are fetched directly from the web interface, so there is no delay between requesting bug and getting it per email.

This tool was originally written by Christoph Berg, I've made some modifications to make it work in arbitrary directories.


$ mutt-bug bugnumber

Download: mutt-bug


gpg --verify is quite slow when you have large keyrings included (like the debian keyring). This is nasty, since mutt has to wait until gpg is finished when displaying a gpg signed message (with signature verification on). So I've written a tool that splits a huge keyring into a lot of smaller keyrings (one key per keyring) and a shell script to verify signatures, to be used from within mutt. The former tool is called The latter one is first invokes gpg --verify as normal and captures its output. If gpg failed because the key was not found in any keyring, the script looks if the key is in one of the splitted keyrings, and if so, reruns gpg with that keyring included. Otherwise the gpg error is returned.

These scripts are still hacky, if you want to use them you'll probably have to modify them a bit. They aren't too big, so this shouldn't be too much of a problem.

Download: gpgverify

A mutt patch for a more colorful index

This patch enables different colorings for different parts of the index display. For example you can choose one color for the subject, another one for the author, and a third one for the flags.


  • Screenshot #1: Just a random screenshot...
  • Screenshot #2: Notice how messages written by me are differently colored then those from other authors. This is done using indexcolor's author pattern matching.


Vim notes


  • UpdateModDate.vim is a vim script I have written for updating the date-stamp of these pages automatically every time I save the files from within vim.

It searches for lines marked with %DATE_TAG% and updates the date on these lines every time the file is saved. Example:

Last Modified: Tue Jun  2 04:44:58 UTC 2004     // %DATE_TAG%


  • I've hit a bug in vim related to html highlighting that would cause get really really slow. This has already been fixed though. The interested might look at the detailed description.
published July 13, 2006
tags vim

Debian on Linksys WRT54GS (German)

Notizen zu einem kurzen Vortrag, den ich am 28.8.2005 beim Debienna Treffen gehalten habe.


  • Was ist der WRT54GS?
  • Was sind die Vorteile einer eigenen Firmware?
  • Spielerei
  • Shell auf dem WRT
  • Mehr Möglichkeiten als die offizielle Linksys Firmware z.B: OpenVPN
  • Meine Wahl: OpenWRT
  • Paketsystem, ähnlich Debian
  • Wieso zusätzlich noch Debian installieren?
  • Spielerei
  • Mipsel Architektur
  • Gcc/Binutils -> Code schreiben
  • Debugging
  • Wie macht man's?
  • Debootstrap will nicht (Bashisms)
  • CDebootstrap muss her
  • Debian Binary funktioniert auf OpenWRT nicht (glibc <-> uclibc)
  • Man muss cdebootstrap (und libdebian-installer) .ipkg Pakete mit der OpenWRT Toolchain bauen
  • Nicht genug Platz am WRT (nur 8Mb Flash) -> NFS share
  • Bootstrap am WRT läuft nicht glatt durch weil dpkg fehlt: Das lässt sich zwar in Busybox einkompilieren, das erfordert aber etwas mehr Änderungen, und man muss den ganzen OpenWRT Tree bauen.
  • Einfacherer Weg (etwas hacky): cdebootstrap --arch am NFS server im Share, das scheitert irgendwann, weil Arch-spezifische Sachen fehlschlagen. Dpkg ist dann aber schon entpackt. Danach lässt man cdebootstrap am WRT laufen (selbe Optionen), das merkt, dass schon einiges da ist, und macht dort weiter wo cdebootstrap am Host aufgehört hat
  • Danach: Chroot & Freude an Debian haben!
  • Fragen?
  • Danke für's Zuhören


Source & Binaries

Liegen in /div/wrt/ herum.

wmbutton: dockapp displaying configureable buttons


I have been using wmbutton for quite some time, and I think it's really nice. One thing that has always sucked was the need to recompile just to change the images. So I got the source code of the wmbutton Debian package and added the capability to change the images without a recompile. One day later I discovered that someone (ehflora) had already done this. I got his version and it looked a bit better then mine. While playing around I noticed that wmbutton was leaking memory, so I ran valgrind on it, which confirmed my suspicions. I fixed the Leaks and did some more code cleanup.

I've increased the version number to 0.6. The code is still quite a mess, but at least it's better then before. Feel free to further improve it if you like, there's plenty room for it ;-).


This program is released under the GPL version 2. A copy of the license may be obtained at

Screenshots and more can be found at:

Sourcecode Download

Debian packages

wmbutton is available directly from Debian. Check out the package page.