How can I change the title in my hpterm titlebar?
Updated: 03/25/01 From the command-line ===================== LEN=`echo “$1\c” | wc -c` echo “\033&f0k${LEN}D${1}\c” # set title bar name echo “\033&f-1k${LEN}D${1}\c” # set icon name You can stick the following lines in your .profile or .kshrc to display the system name and current directory in your hpterm title bar & icon: if [ “$TERM” = hpterm ]; then alias cd=Hcd Hcd () { if [ $# -ne 0 ]; then ‘cd’ “$@” else ‘cd’ fi NAME=”$(uname -n):${PWD}” LEN=`echo “$NAME\c” | wc -c` # reset name of hpterm title bar & icon to $NAME echo “\033&f0k${LEN}D${NAME}\c” # set title bar name echo “\033&f-1k${LEN}D${NAME}\c” # set icon name } Hcd .
Related Questions
- What type of approval does a lender need to originate and/or underwrite and/or service Title II Single Family Loans, including HECMs (Reverse Mortgages) or 203k (Rehabilitation mortgages)?
- What is the difference between Title I and Title II lender approvals?
- How can I change the title in my hpterm titlebar?