xterm title
für meinen xterm die title-bar setzen
# setting xterm title-bar to user@host:path
case "$TERM" in
        dtterm|xterm*)
                #PS1="\[\e]0; \u@\h:\w \a\\]\u@\h:\w > "
                PS1="\[\e]0; \u@\h:\w \a\\]\n\h:\w [\!]\n > "
                # end of case selections for this type of terminal
        ;;
        *)      # change primary prompt to show hostname and dir name
                PS1="\u@\h:\w > "
        ;;
esac