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 Message-ID: <4356E9C2.3070604@student.lu.se> Date: Thu, 20 Oct 2005 02:50:10 +0200 From: Lennart Borgman User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: Robert Bram Subject: Re: exiting vim changes background colour of console References: <88ACCA0E0A7A914DAFBA3918021605D24E3FD4 AT WPEXCH08 DOT colesmyer DOT ad DOT cmltd DOT net DOT au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes >>Ok, here is part of my .bash_profile now: >>blackOnLightGrey='\[\e[47m\]' >>blue='\[\e[1;34m\]' >>red='\[\e[1;31m\]' >>blackOnWhite='\[\e[0;0;37;30m\]' >># export PS1="${blackOnLightGrey}\n\s\v User \u on host \h in dir \w\n\d \@> " >>export PS1="${blackOnLightGrey}\n\s\v User \u on host \h in dir \w\n\d \@>\e[0m " >># export PS1="${blackOnLightGrey}\n\s\v User \u on host \h in dir \w\n\d \@>${blackOnWhite} " >> >> I do not remember anything about this now, but comparing to my current PS1 I can see that I has a \] after the last m. I have PS1=\[\033[32;47m\w >\033[0m\] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/