Re: xterm title setting breaks when upgrading from 32-bit to 64-bit cygwin

2013-08-01 Thread Jeremy Elson
On Thu, Aug 1, 2013 at 10:28 AM, Jon TURNEY  wrote:
> On 01/08/2013 01:55, Jeremy Elson wrote:
> > I recently upgraded from the 32-bit to the 64-bit build of Cygwin
> > 1.7.22 on Windows 8 x64. For the most part, everything works
> > identically (except faster!). But I have noticed one problem: xterm no
> > longer seems to respond to the magic escape codes that change its
> > title. My shell uses this to update the title to reflect the current
> > hostname and working directory, but after the upgrade all my xterms
> > just have the same title: "tcsh".
> >
> > I haven't seen any mention of this bug on the mailing lists. Is anyone
> > else experiencing this problem?
>
> Thanks for pointing out this problem.
>
> It seems that x86_64 X server has a bug that meant that no window could
> change
> it's title after it started.
>
> I've uploaded a snapshot at [1]. Perhaps you could try that and see if it
> improves things for you?
>
> [1]
> ftp://cygwin.com/pub/cygwinx/XWin.x86_64.20130801-git-beadc5a3202e096a.exe.bz2
>

Thanks for the very fast followup - yes, using the XWin binary below, my xterm
can now set its title correctly!

Thanks again, and regards,
Jeremy

--
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/



Re: xterm title setting breaks when upgrading from 32-bit to 64-bit cygwin

2013-08-01 Thread Jon TURNEY
On 01/08/2013 01:55, Jeremy Elson wrote:
> I recently upgraded from the 32-bit to the 64-bit build of Cygwin
> 1.7.22 on Windows 8 x64. For the most part, everything works
> identically (except faster!). But I have noticed one problem: xterm no
> longer seems to respond to the magic escape codes that change its
> title. My shell uses this to update the title to reflect the current
> hostname and working directory, but after the upgrade all my xterms
> just have the same title: "tcsh".
> 
> I haven't seen any mention of this bug on the mailing lists. Is anyone
> else experiencing this problem?

Thanks for pointing out this problem.

It seems that x86_64 X server has a bug that meant that no window could change
it's title after it started.

I've uploaded a snapshot at [1]. Perhaps you could try that and see if it
improves things for you?

[1] 
ftp://cygwin.com/pub/cygwinx/XWin.x86_64.20130801-git-beadc5a3202e096a.exe.bz2

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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/



xterm title setting breaks when upgrading from 32-bit to 64-bit cygwin

2013-07-31 Thread Jeremy Elson
I recently upgraded from the 32-bit to the 64-bit build of Cygwin
1.7.22 on Windows 8 x64. For the most part, everything works
identically (except faster!). But I have noticed one problem: xterm no
longer seems to respond to the magic escape codes that change its
title. My shell uses this to update the title to reflect the current
hostname and working directory, but after the upgrade all my xterms
just have the same title: "tcsh".

I haven't seen any mention of this bug on the mailing lists. Is anyone
else experiencing this problem?

--
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/



Re: Xterm Title

2010-11-02 Thread Csaba Raduly
Hi Ajay,

On Mon, Nov 1, 2010 at 5:59 AM, Ajay Jain  wrote:
> Hi,
>
> I want my Xterm to display a constant title say mercury. So I use:
> Xterm -T mercury. Further, I have placed the following line in my
> .Xresources: xterm*allowTitleOps: 0. From my .vnc/xstartup, I also do:
> xrdb -merge ~/.Xresources. Even then my Xterm title changes to
> logn...@hostname:pwd. I want to avoid it and replace this with a fixed
> title. Could you suggest something? After all, what is it that is
> going wrong? I am also trying to set PROMT_COMMAND, without any
> success.

Check your prompt ($PS1) for xterm title escape sequences
(http://www.faqs.org/docs/Linux-mini/Xterm-Title.html), like \[\e]0;
... stuff ... \a\]

-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
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/



Xterm Title

2010-10-31 Thread Ajay Jain
Hi,

I want my Xterm to display a constant title say mercury. So I use:
Xterm -T mercury. Further, I have placed the following line in my
.Xresources: xterm*allowTitleOps: 0. From my .vnc/xstartup, I also do:
xrdb -merge ~/.Xresources. Even then my Xterm title changes to
logn...@hostname:pwd. I want to avoid it and replace this with a fixed
title. Could you suggest something? After all, what is it that is
going wrong? I am also trying to set PROMT_COMMAND, without any
success.

Regards,
Ajay.

--
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/



RE: Setting xterm title over ssh problems

2007-01-02 Thread Phil Betts
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/



Setting xterm title over ssh problems

2007-01-02 Thread pgrodt

Forgive me if this is not really a cygwin question, I'm uncertain.  I 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.

specifically:

[EMAIL PROTECTED] ~]$ ssh -Y remoteHost
[EMAIL PROTECTED] ~]$ xterm -title wazzap &

So I read http://www.nabble.com/How-to-add-a-title-to-xterm-tf679887.html

and tried the script contained in that thread:

[EMAIL PROTECTED] sbin]$ ./setxtitle.sh wazzap
\033]0;wazzap\a\c
also tried:
[EMAIL PROTECTED] sbin]$ \033]0;wazzap\a\c > $(tty)

but neither had any effect.

Could someone please point me in the right direction?

FYI:
[EMAIL PROTECTED] ~]$ uname -a
CYGWIN_NT-5.1 my-pc 1.5.21(0.156/4/2) 2006-07-30 14:21 i686 Cygwin

[EMAIL PROTECTED] sbin]$ uname -a
Linux remotehost 2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:22:39 EST 2006 i686
i686 i386 GNU/Linux

-- 
View this message in context: 
http://www.nabble.com/Setting-xterm-title-over-ssh-problems-tf2908624.html#a8126021
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
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/



Re: xterm title not setable

2006-02-16 Thread Brian Dessent
David Strozzi wrote:

> I'm running a pretty new cygwin installation (started from scratch about
> a month ago) and can't get the title of an xterm window to be anything
> other than the current directory.  I'm running on win XP.  I start the
> cygwin X server, and get an xterm.  I then launch new xterm windows with
> "xterm -title foo", "xterm -T foo", "xterm -name foo", "xterm -e
> some-command", and always, the window's title, both in the window title
> bar and on the windows taskbar at the screen bottom, is always the
> current dir.  It seems I sometimes see another title briefly flash on
> the title bar, only to succumb to the awesome might of pwd...

http://www.cygwin.com/ml/cygwin-xfree/2005-12/msg00010.html

Brian

--
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/



xterm title not setable

2006-02-16 Thread David Strozzi

Hi,

I'm running a pretty new cygwin installation (started from scratch about 
a month ago) and can't get the title of an xterm window to be anything 
other than the current directory.  I'm running on win XP.  I start the 
cygwin X server, and get an xterm.  I then launch new xterm windows with 
"xterm -title foo", "xterm -T foo", "xterm -name foo", "xterm -e 
some-command", and always, the window's title, both in the window title 
bar and on the windows taskbar at the screen bottom, is always the 
current dir.  It seems I sometimes see another title briefly flash on 
the title bar, only to succumb to the awesome might of pwd...


Any ideas?
Thanks.

--
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/



Re: xterm title not shown

2002-05-15 Thread Sam Edge

I wrote in <[EMAIL PROTECTED]>
in gmane.os.cygwin on Wed, 15 May 2002 21:41:14 +0100:

> The default /etc/profile sets up PS1 with the xterm escape sequences
> to put the username and current directory into the title. Either edit
> /etc/profile or override it in your ~/.bash_profile or ~/.bash_rc.

Sorry. That should have been ~/.bashrc, of course.

-- 
Sam Edge



RE: xterm title not shown

2002-05-15 Thread Cary Jamison

> -Original Message-
> From: Alexander Gottwald
> Sent: Wednesday, May 15, 2002 9:37 AM
> 
> On Wed, 15 May 2002, Hans Werner Strube wrote:
> 
> > The title of xterm defined with option -T or -title does 
> not appear in
> > the title bar, instead the current directory is shown 
> there.  I do not
> > know whether this is a problem of xterm or the window 
> manager, but it
> > happens both with twm and mwm.
> 
> It seems like bash is setting the title. If you use tcsh, the title
> of the xterm is not changed. It seems the bash for linux does not have
> this behavior.
> 
> bye
>   ago
> -- 
>  [EMAIL PROTECTED] 
>  http://www.gotti.org   ICQ: 126018723
> 

What is your shell prompt set to?  It is a common trick to make the shell prompt or a 
cd alias include the escape sequence to put the current directory in the title.  
Perhaps this is the default for bash?  I wouldn't think so, but this would happen 
after the title is initially set with -T or -title.

Cary

---
Cary Jamison
[EMAIL PROTECTED]
(801) 705-8685 voice
(801) 705-4685 fax



Re: xterm title not shown

2002-05-15 Thread Alexander Gottwald

On Wed, 15 May 2002, Hans Werner Strube wrote:

> The title of xterm defined with option -T or -title does not appear in
> the title bar, instead the current directory is shown there.  I do not
> know whether this is a problem of xterm or the window manager, but it
> happens both with twm and mwm.

It seems like bash is setting the title. If you use tcsh, the title
of the xterm is not changed. It seems the bash for linux does not have
this behavior.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723




xterm title not shown

2002-05-15 Thread Hans Werner Strube

The title of xterm defined with option -T or -title does not appear in
the title bar, instead the current directory is shown there.  I do not
know whether this is a problem of xterm or the window manager, but it
happens both with twm and mwm.