I updated the first post with a new version (1.1.2) set up for kterm and KUAL.

Curudan: I think your problem is that twobob's fix above uses the scripts from xterm that cause kterm to not run right (the same one's I forgot to edit properly too ) Use my new version and it should work (hopefully).