Found this somewhere along the way, I forgot where. Works on my
machine. I did notice that the cd command on my machine does meddle
with the prompt string and send it to xterm. Sorry I can't be more
helpful.
#!/usr/bin/perl
#
# This is a simple program to change the text in an X-windows title
Problem solved. There was an apparent race condition between the start
of the XWin server and the startup of the xterm command. Just by adding
a 2 second sleep after starting XWin, I have no problem being able to
set the window title thru an escape sequence.
Guess that is what you get for
Somewhat OT, but don't you need -e on the echo command to get it to
interpret the backslash escapes? Or is that only needed for the
non-numeric ones?
On 10/23/07, Paul McFerrin [EMAIL PROTECTED] wrote:
Hi:
I can't seem to get xterm to recognize Window Title name changes via the
following:
Hi:
I can't seem to get xterm to recognize Window Title name changes via the
following:
echo \0332;new_title\07\c
I have added the following new lines to my .Xdefaults file with no effect.
XTerm.AllowTitleOps:true
XTerm.AllowTitleOps: true
XTerm.allowTitleOps: true
Paul McFerrin wrote:
I can't seem to get xterm to recognize Window Title name changes via the
following:
echo \0332;new_title\07\c
You were just recently posting in the thread where this came up before:
http://cygwin.com/ml/cygwin/2007-10/threads.html#00188 and
Hum... The PS1 setting. Nope, that's not the problem.
The root of the settitle() function is NOT the setting of PS1. It's
setting in /etc/profile is commented out. In my local .profile, PS1 is
set to just '$PWD'. I have verified that there are no other hidden
settings of PS1.
I tried