Chg: modified the prompt when logged to a distant terminal