Originally posted by m0rl0ck
That should have done it. Make sure the PROMPT_COMMAND etc is all on one line no newlines.
Okay, don't know what I did wrong the first time but, I removed it and pasted it again at it's working now!
Must have had a stray char in there somewhere the first time.
You rock dude!
P.S. Found another way to make it work
If you set the terminal name xterm like this "Eterm --term-name xterm" it picks up the xterm settings.