Subject: 23.1.91; Term mode prints "0;user@host:~" before each prompt of an interactive SSH session
From: Scott Bell <[email-masked]>
To: [email-masked]
Date: Thu, 07 Jan 2010 12:07:57 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Under GNU Emacs 23.1.91.1 (x86_64-apple-darwin10.2.0, 
NS apple-appkit-1038.25), Mac OS X 10.6.2, Term mode
prints the following prompt during an interactive SSH
session ('ssh host'):

0;user@host:~(host:~)$ 

when PS1 is set to '(\h:\W)\$ ' on the remote host. 

The string '0;user@host:~' is not displayed when using
another terminal emulator.