This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: How to add a title to xterm
- From: PoWah Wong <wong_powah at yahoo dot ca>
- To: "cygwin-xfree at cygwin dot com" <cygwin-xfree at cygwin dot com>
- Date: Mon, 5 Dec 2005 15:12:18 -0500 (EST)
- Subject: Re: How to add a title to xterm
- Reply-to: cygwin-xfree at cygwin dot com
e.g. I do something like this:
PS1="\u@linux1 \w\n\$ "
----------------------------------------------------------
PoWah Wong wrote:
> How to add a title to xterm?
>
> I start cygwinx by "startx".
> The following commands does not work:
> xterm -T columbia &
> xterm -title columbia &
> xterm -title "columbia" &
The default cygwin prompt contains escape characters
that set the window
title to contain the CWD. Thus anything you set the
title to will be
overwritten the next time a prompt is printed. You
need to either
modify the prompt so that it doesn't try to set the
window title, or
change the prompt to include the desired window title.
Brian
__________________________________________________________
Find your next car at http://autos.yahoo.ca
--
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/