I use this line to change the window title from my .profile:
Quote:
|
PROMPT_COMMAND='echo -ne "\033]0;$USER@${HOSTNAME}: ${PWD}\007"'
|
Try running echo $PROMPT_COMMAND before running your perl script. If that
variable contains something, run PROMPT_COMMAND_OLD="$PROMPT_COMMAND" before
you run the script and then PROMPT_COMMAND="$PROMPT_COMMAND_OLD" afterwards.