delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/19/20:50:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <lennart DOT borgman DOT 073 AT student DOT lu DOT se>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: Robert Bram <Robert DOT Bram AT colesmyer DOT com DOT au>
Subject: Re: exiting vim changes background colour of console
References: <88ACCA0E0A7A914DAFBA3918021605D24E3FD4 AT WPEXCH08 DOT colesmyer DOT ad DOT cmltd DOT net DOT au> <Pine DOT GSO DOT 4 DOT 63 DOT 0510192020400 DOT 16245 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.63.0510192020400.16245@slinky.cs.nyu.edu>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019