Just wondering, Aq... Have you tried Motor? It /seems/ to do source formatting on the console, although it appears to be designed for C. You can create your own templates AFAIK though. (There's a bug been filed BTW so you have to d/l the deb from somewhere else) Just a thought... -- Dan