GNU bug report logs - #5334
23.1.91; Term mode prints "0;user@host:~" before each prompt of an interactive SSH session

Previous Next

Package: emacs;

Reported by: Scott Bell <sctb <at> me.com>

Date: Thu, 7 Jan 2010 19:09:02 UTC

Severity: normal

Merged with 5255

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 5334 <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Scott Bell <sctb <at> me.com>
Cc: 5334 <at> debbugs.gnu.org
Subject: Re: bug#5334: 23.1.91; Term mode prints "0;
	user <at> host:~" before each prompt of an interactive SSH session
Date: Thu, 7 Jan 2010 13:37:30 -0800 (PST)
Scott Bell <sctb <at> me.com> writes:

  > 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 <at> host:~(host:~)$ 
  > 
  > when PS1 is set to '(\h:\W)\$ ' on the remote host. 
  > 
  > The string '0;user <at> host:~' is not displayed when using
  > another terminal emulator.	

You probably set  PROMPT_COMMAND to something that term.el does not
understand.




This bug report was last modified 15 years and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.