I set up the following in my ~/.profile for my ksh login: export HOST=$(hostname)   export PS1=$(perl -e ‘printf "\033]0;\${USER}@\${HOST}:\${PWD}\007\$"’) Unfortunately, ksh doesn’t understand escape codes, so perl or awk is necessary to pull this off–or you can enter them literally via your editor. I like the perl route just for ease of maintenance. This [...]