Cool stuff, you might also want to take a look at mdbus2 (http://git.freesmartphone.org -> cornucopia -> tools -> mdbus2) which is somewhat simliar. It also has readline completion & history :) Cheers, :M: