This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
RE: Setting xterm title over ssh problems
- From: "Phil Betts" <Phil dot Betts at ascribe dot com>
- To: <cygwin-xfree at cygwin dot com>
- Date: Tue, 2 Jan 2007 16:34:10 -0000
- Subject: RE: Setting xterm title over ssh problems
- Reply-to: cygwin-xfree at cygwin dot com
pgrodt wrote on Tuesday, January 02, 2007 3:59 PM::
> Forgive me if this is not really a cygwin question, I'm uncertain. I
It isn't really, but...
> am spawning xterm instances while ssh fowarding a linux box to
> cygwin-xfree, and am unable to set the title of these windows. I
> first tried calling xterm with the '-title' argument, which works for
> about a 10th of a second and then resets to $CWD.
The fact that your title appears momentarily, before being changed
suggests that either $PS1 or $PROMPT_COMMAND already includes a command
that sets the title.
Try setting PS1='\$ ' and unsetting PROMPT_COMMAND, then try again.
Phil
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/