Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 5 Apr 2003 11:08:02 -0500 From: Ajay Simha To: cygwin AT cygwin DOT com Cc: Ajay Simha Subject: Bash and xterm window title Message-ID: <20030405160802.GC2216@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Hi, I had some problem with a recent version of tcsh and so I'm using bash. The only problem I have with bash is that it re-writes the window title with the current working directory. I use a script to name(title) my xterms and bash overwrites it. tcsh does not do that. I set PS1="$ " and now it doesn't do it. The original PS1 is set to: $ echo $PS1 \[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ The desired behavior in my case is just the prompt gets updated with the PWD and not the window title. How can I do this? TIA, -ajay -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/