This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to add a title to xterm


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]