delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/19/09:07:52

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2DED13840C23
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo AT towo DOT net
Subject: Re: Setting appearance in bash / mintty
To: cygwin AT cygwin DOT com
References: <DB3PR0302MB33867357AADB15449FF49BE1A4980 AT DB3PR0302MB3386 DOT eurprd03 DOT prod DOT outlook DOT com>
From: Thomas Wolff <towo AT towo DOT net>
X-Tagtoolbar-Keys: D20200619150702444
Message-ID: <218ade62-4ab3-465c-f710-dc19135ccf74@towo.net>
Date: Fri, 19 Jun 2020 15:07:02 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.9.0
MIME-Version: 1.0
In-Reply-To: <DB3PR0302MB33867357AADB15449FF49BE1A4980@DB3PR0302MB3386.eurprd03.prod.outlook.com>
X-Provags-ID: V03:K1:QqL+RBUiBkgYfGkai2X7fw8VjS9jid5T1WrsxhEjrDh1teCRdWx
lTEdbGYUfZ9HsVmOWjJOGogcnlmt7M84eUe6VIcneItbevGUMj6h7kh9+LBK5sPm5CDPSqS
mkfr59NlkloprSmwpSDKbx94JVDWCtmSlZnsNj5qknYDqC0pT4WAr7n38Acc6TTFnUv3Erd
pNkYlrV+r/b8Diomvf+cQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:Q/LJ9VXjpoA=:Rc0vb6GcJwSeL0JODwxjDi
FLhkmHYF8AL4ktwOZuk2lXPiwxcMizpY6Xszhj4qPxibJctBRPpA7oY8OBaWyCK3Px3bN81/v
dimmrQiAo8WSbJZ7CmMRqdp5BJ6dvbcBr3TtS7jJbJj53RiMESobS8Z8//hGvCYXNWhxbAuch
V1VtfriT0JOD/akXUSC1T1b1eiANO2LiolVXtb1lbcKFpwh/EFgnIMWDQYaehm80TSID5e/gR
lVlYffpWBHo6lNwkGqNLGo4uZE+bZ7FrKRDwGsdjr/NZXdWSlk29W55Ad2UU3+JerjIPJxOLn
nXMdEEPQr3eJeK9rgbSBRMG7evKthYbcwzjqEanzvofggShfF4K2g2a3wDO6U5UWehoy5Q1tZ
n7w+vUksjIV1zUHgTBPqZiSSzlmSJXehuXb9pd67k2MhNShp/CUZly8xDDd80vpekLWSDXPY8
iBm6f/ZTgljkzFODf2ZN99nVQx5wmH4Wf1qWw0yLA6YEhlEIN4cm6FFyPqcdxmU0jtCmhHQqL
ZJwG+qWJrbpjLFg5P9FknTJilpfuEUsIG6Nsr3q1hPZsxh79JYr8hNWwAe7Zpm6nXP489tfNw
TB97exmCNygfSENYBcFLBGBhMI9ceWCyvgxVJsk4jg/zxya5aXQO3Q15WylUPD9FIaddlXXr6
DCsNc/3tVpkqqq/W9P4c0XfU2DbOF20dOiHpll6zqmb4WYjog9NuZarvq4XdrrlTglzk2Q12J
r6u+EfVGHjTmUL1ovGKnjMyFhVHiKDhoAGIXOe+sGbwYEacmakI5Ei4IYUNzur2Ac9mZzrK/v
mjFaMOkC+M0PJYc2KaUPskzmH/oaKDTY9vj8d5ZC6hgJfhyQfo=
X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Am 19.06.2020 um 13:17 schrieb Fergus Daly via Cygwin:
> This is a bash question, but it is posed only because I am experiencing a lack of parallel alignment
> between bash and mintty in Cygwin. Hope OK to ask.
> The file /etc/minttyrc [or equivalent] [or R-click in the mintty console] can be used to set FG and BG colours, font style and size.
> When using mintty, it picks up all of
> echo -n $'\e]4; 3;255,  0,  0\a'
> echo -n $'\e]4; 6;139, 69, 19\a'
> echo -n $'\e]4;10;  0,127,  0\a'
> echo -n $'\e]4;12;  0,  0,255\a'
> echo -n $'\e]4;14;127,  0,  0\a'
> in /etc/bash.bashrc [or equivalent] so that ls shows directories in blue, text files in black,
> executables in green, links in dark brown. I daresay other fine and attractive distinctions are available.
> Thus the full working appearance, within mintty, may be set to the user's preference.
>
> For various reasons I have reverted to a bash shell*.
> R-click -> Properties to set FG, BG, font, placement, etc.
> But the settings above in /etc/bash.bashrc seem to be missed, or maybe interpreted differently.
> If missed, can anybody dictate where I should set them?
> If interpreted differently, can anybody point me to a recipe book for bash appearance?
The dynamic colour changing escape sequences are simply not supported by 
cygwin console.
> Thank you.
>
> * Some odd behaviours in mintty, not mimicked in bash or xterm, when calling a non-Cygwin external
> (which admittedly could be the source of the problem).
> If/when I can trigger these behaviours entirely within Cygwin, I shall try to describe them here.
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

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

- Raw text -


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