You could have a look at dio: http://code.google.com/p/dynamic-io/
It does much more things than what you want, the code has not been updated in a while and anyway some of its features were simply wrong ideas (I always treated dio as a toy to experiment more than a final product). However, you could probably reuse some code. I don't think trying to fit every text based application into dmenu is a good idea. -- - yiyus || JGL . 4l77.com