Category Archives: FreeBSD

Powerful Regular Expressions Combined with Lisp in Emacs

Regular expressions are a powerful text transformation tool. Any UNIX geek will tell you that. It’s so deeply ingrained into our culture, that we even make jokes about it. Another thing that we also love is having a powerful extension … Continue reading

Posted in Computers, Emacs, Free software, FreeBSD, GNU/Linux, Lisp, Open source, Programming, Software | Tagged , , , , , , , , | 1 Comment

Fixing Shifted-Arrow Keys in 256-Color Terminals on Linux

The terminfo entry for “xterm-256color” that ships by default as part of ncurses-base on Debian Linux and its derivatives is a bit annoying. In particular, shifted up-arrow key presses work fine in some programs, but fail in others. It’s a … Continue reading

Posted in Computers, Emacs, Free software, FreeBSD, GNU/Linux, Linux, Open source, Software | Tagged , , , , , , , | 3 Comments

Mutt-like Scrolling for Gnus

Mutt scrolls the index of email folders up or down, one line at a time, with the press of a single key: ‘<’ or ‘>’. This is a very convenient way to skim through email folder listings, so I wrote … Continue reading

Posted in Computers, Emacs, Email, Free software, FreeBSD, GNU/Linux, Gnus, Linux, Open source, Programming, Software | Tagged , , , , , , , , , , | 1 Comment

Concatenating Video Files with MPlayer

I found out how to concatenate the parts of a video to a single file with MPlayer. It’s relatively easy, so this is just a mini-post to save it for posterity: $ cat video_part1.avi video_part2.avi … > temp.avi $ mencoder … Continue reading

Posted in Computers, Free software, FreeBSD, Linux, Open source, Software | Tagged , , , , , , | 7 Comments

Unit Testing Uncovers Bugs

As part of the ‘utility’ library in one of the projects we are using at work, I wrote two small wrappers around strtol() and strtoul(). These two functions support a much more useful error reporting mechanism than the plain atoi() … Continue reading

Posted in Computers, FreeBSD, GNU/Linux, Linux, Programming, Software | Tagged , , , , , , , | 13 Comments

Mercurial Clones without a Working Copy

Mercurial repository clones can have two parts: An .hg/ subdirectory, where all the repository metadata is stored A “working copy” area, where checked out files may live The .hg/ subdirectory stores the repository metadata of the specific clone, including the … Continue reading

Posted in Computers, Free software, FreeBSD, Mercurial, Open source, Programming, SCM, Software | Tagged , , , , , , , , | 5 Comments

FOSDEM 2010

Earlier tonight, on December 7 2009, a friend and me booked our flight tickets for FOSDEM 2010. I am really excited that I am going to attend another open source & free software conference. It has been a while since … Continue reading

Posted in Computers, Conferences, Free software, FreeBSD, GNU/Linux, Open source, Programming, Software | Tagged , , , , , , , , | 3 Comments