> trap 'echo -ne "\ek${BASH_COMMAND}\e\\"' DEBUG Thank! It works so far. However it adds the " to the prompt; "user at host:~$ I don't know why this is, or how to get rid of it. Nils