public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Xterm Title
@ 2010-11-01  4:59 Ajay Jain
  2010-11-02  8:23 ` Csaba Raduly
  0 siblings, 1 reply; 2+ messages in thread
From: Ajay Jain @ 2010-11-01  4:59 UTC (permalink / raw)
  To: cygwin-xfree

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Xterm Title
  2010-11-01  4:59 Xterm Title Ajay Jain
@ 2010-11-02  8:23 ` Csaba Raduly
  0 siblings, 0 replies; 2+ messages in thread
From: Csaba Raduly @ 2010-11-02  8:23 UTC (permalink / raw)
  To: cygwin-xfree

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-02  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-01  4:59 Xterm Title Ajay Jain
2010-11-02  8:23 ` Csaba Raduly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).