delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/07/13:26:10

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Galder Zamarreno <galderz AT yahoo DOT co DOT uk>
Subject: exiting vim/vi/more/man changes background colour of console
Date: Fri, 7 Jul 2006 17:14:58 +0000 (UTC)
Lines: 9
Message-ID: <loom.20060707T191306-784@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
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

My shortcut has the correct settings but when I exit these commands, the
background is reverted to black (very annooying!). I need to do a CTRL+L to
clear it and go back to my desired white background (with black foreground).
These are my PS1 settings in case someone knows whether it could be anything to
do with them:

PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$

Many thanks in advance!


--
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