delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/16/17:31:44

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Hp
83Lm8B42AA1fQhi0JEiubGUdHKBJEfBM2Qj15XZKQhddZxdTKI0YJ28wNn950TSF
za4RNIQNmvfXCobx8YmM9+cGGPjVI58mPjgHnGwtmZNXje5iHgPAQkRDQJhHlh7B
T+VoBDJ5Q7R4jWTUR3goEb+a2Rc8ltrLlCSpO8vVQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=ACexypco
49euXh3JcVQBqYX4488=; b=ZkNuRkD3y5lkDmLek5LxjVwPxooTVVFsvhu4bIxR
qL6ygTgoPeIDFgP2g1soOtJCpwCg3rsWlGzOODMEBEcfwKv9Yoeevq8obJcNH6GF
SFA2x3HDuosNljKMS+3k2B8RnD4zxUJnf+G0fW2U18K0Uwu7fGoFW6U5sB8E/ldZ
ZvM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ve0-f177.google.com
MIME-Version: 1.0
X-Received: by 10.220.200.65 with SMTP id ev1mr9371703vcb.13.1387233085950; Mon, 16 Dec 2013 14:31:25 -0800 (PST)
In-Reply-To: <CAK=acOJfFR5LE78xWF4ZM_ZE0XZZCm41KCfKtVe8jncV5bC18A@mail.gmail.com>
References: <CAK=acOJfFR5LE78xWF4ZM_ZE0XZZCm41KCfKtVe8jncV5bC18A AT mail DOT gmail DOT com>
Date: Mon, 16 Dec 2013 17:31:25 -0500
Message-ID: <CAK=acO+6=MuLq2uL=M=WCkOEoDNZpJTArfz_0c5Eda9maYk6KA@mail.gmail.com>
Subject: Re: How to disable all syntax coloring in Cygwin/bash?
From: Chris Wolf <cwolf DOT algo AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

I was able to come up with something, though not sure it's the best or
what I had before.  Sorry if this is obvious to most people, but to
get rid of colorized output, I added to my .bashrc:

export LS_COLORS=''

If $PS1 has terminal color escape codes, then replace that also with
something else, e.g.:

export PS1="\h $ "

Thanks,

Chris

On Mon, Dec 16, 2013 at 4:58 PM, Chris Wolf <cwolf DOT algo AT gmail DOT com> wrote:
> I just installed a recent release of Cygwin and notice that it now
> features syntax highlighting.  Is there a way to totally disable this?
>  All I want is be able to set the foreground/background colors via the
> Windoze way of right clicking on the frame and I don't want the out of
> "ls" colorized nor for the colors to change to some weird settings
> upon invoking "vi".  I want them the same under all conditions.
>
> I checked the documentation, FAQ and message archives of this list,
> but most of the questions were about how to *enable* colors or
> customize them.
>
> I actually did figure a round-about way of doing this via setting some
> env vars and setting (or unsetting aliases).  Unfortunately the laptop
> I did this on died, so I'm starting from scratch.
>
> (P.S. this could be bash issue and not exactly Cygwin, although older
> releases of Cygwin did not have this "problem". )
>
> Thanks,
>
> Chris

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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