delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/12/16:13:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Newsgroups: gmane.os.cygwin
Subject: Re: Use of PROMPTING
Date: Wed, 12 Jun 2002 13:12:46 -0700
Lines: 54
Message-ID: <3D07AB3E.80005@Salira.com>
References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020611101923 DOT 04d30fb0 AT pop DOT ma DOT ultranet DOT com> <AHENJAAPGAHKCFPLDPOJEEFOCHAA DOT relaxedrob AT optushome DOT com DOT au>
Reply-To: cygwin AT cygwin DOT com
NNTP-Posting-Host: 206.184.204.2
Mime-Version: 1.0
X-Trace: main.gmane.org 1023912764 14643 206.184.204.2 (12 Jun 2002 20:12:44 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Wed, 12 Jun 2002 20:12:44 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1
X-Accept-Language: en-us, en

Replied to poster and to the list

Robert Mark Bram wrote:

> Here is what I am talking about:
>
> http://neptune.netcomp.monash.edu.au/cpe1004/temp/cygwinView.png
>
> Using properties I changed the screen background to white and the text 
> to black. It does it but everything else I type comes out with the old 
> colors! Have a look!

When you change the colors on a Windows window Windows (whew! Say that 3 
times quick! :-) will prompt you whether to apply these changes to the 
current window only or to all future windows. I assume you selected to 
all future windows. That's find and additional windows will display 
correctly. But the current window is in a messed up state. So then after 
making this change kill that window and start another. You should be 
fine after that.

Or try rxvt, an X term emulator. With it you can use all the old, 
familiar X style command line options, colors and/or (preferably IMHO) X 
resources in your ~/.Xdefaults file. For example, I currently use:

! Rxvt defaults

! Global
*font:                          "Lucida Console-*-15"
*saveLines:                     500
*termName:                      cygwin
*scrollBar_right:               True
*geometry:                      80x24
*loginShell:                    True

Rxvt.background:                AntiqueWhite
Rxvt.foreground:                Black
Rxvt.colorBD:                   Blue
Rxvt.colorUL:                   Red
Rxvt.cursorColor:               Blue

! Rxvt defaults for other-system
other-system.background:      Maroon
other-system.foreground:      White
other-system.colorBD:         Yellow
other-system.colorUL:         Red
other-system.cursorColor:     Yellow

Then a plain rxvt will come up with AntiqueWhite while an rxvt -name 
other-system will come up Maroon.

Of course, as was said, other utilites set colors in different ways such 
as vim and ls. Getting the color scheme of vim, ls, et. al. working with 
both a light AntiqueWhite and a darker Maroon is tricky!




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

- Raw text -


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