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

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 85D463938C22
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1592565483;
bh=Di/m4QeNj3Lcp1arl16XdCj+dx+nUsikfb7WeEFxs8Q=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:Cc:From;
b=wsgQWRnw9ykxnm4hduTSbY9txTYIwqcBDlVsn2ns229+9t6+zGoOmXRLOTHF2156L
whup6ynnh/YrsGSsGzh71LWD2Z3Bh1NvP8loX2gcdgL19Thszvz+wM7GAHzqGL3I9t
6JREbPdWleAD14WaRWQG+g5YxE/3cUd2G1x2QPWE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 21A2A3840C23
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=DQow+40y1eFVGc69RNaYMzkeyABOUDdm6gI7ODITJ0+/5WnIAEsTCd/9sDG9twCXsgF+4l7m0q1x0VlmtYnvsFecn5YS7osEjCYdKMgAWfIFLLf8Pj/io5DHGIqxM023WZ3WkljpCkeF4GyHK0zLSa1MHIIHittRfg3NkgDSyr440VHLzLeSPJoXGt5KgeqjSKtwk7N7n6YxDLk1Q/NVIWAfXWHcN8m7IfH5+1h5XjIHSbm+RKOnnK+dsrLYSS2R6Xxm5pDfTj9m2V5w31coOmUOP6jnXqfiiWXNLR8wjMToTEgJPURGOBk64htjcAakwgqlaqvbdLavG19q7+2AFA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=G3kGiZZaaNWY6ZwKvXPWgZ3YX/BeJWLJDzDq4XmwwUg=;
b=Ak0KwLXHPZIqSV5OwVYIrklCDkZcSorfuGCkamzkIfjZXnEf9TXUCD4z5uNvfrogmKv/1k6aG+MfRBR6fnh+hJF5o5+y4AJAV56oDl+e5ljSLRFr46IlKSheSseka0a8uFMqmNmmliPI3lk/fSeVFjB1/iTbFucwUsPks6a2sKoPUhi95tnXz5jNaxts+2/m6ROeuC0OxyaT5SuGSPffR9SyNiyLovB1VVYLMzeFhIms7GNtBFS9XH57xUUytOJzw3vV0wYewDh1EeHtL9zK1NHbDunHvfCJSkxplJW7uZGF/GDcElgtjX2eWnBgFWrMk/WDM1X84nhbC9GyFIDjZQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Setting appearance in bash / mintty
Thread-Topic: Setting appearance in bash / mintty
Thread-Index: AdZGKugWxfngAggCSjyfg8MK3iCl8w==
Date: Fri, 19 Jun 2020 11:17:58 +0000
Message-ID: <DB3PR0302MB33867357AADB15449FF49BE1A4980@DB3PR0302MB3386.eurprd03.prod.outlook.com>
Accept-Language: en-GB, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:79796616D15A23B2D84DC3F4F2902A9F3877ABFBA0176C32D35B3C2D8602EF4B;
UpperCasedChecksum:2B1BE8CADEAAEC3FB7B652A82AC7C499E901547FCEE775E46E24F866C26DB7E5;
SizeAsReceived:6681; Count:42
x-tmn: [d6gl5Pn7Th7kAD0HhLmJAVBBCmsvTeQP]
x-ms-publictraffictype: Email
x-incomingheadercount: 42
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: 93c7fe1f-7a34-4078-b037-08d814426c17
x-ms-exchange-slblob-mailprops: S/btQ8cKWiTMCfblfsAXPaFD779fYuedRcgEokE8pcO0YtHBvLHqvo9EIn1x5fcNqm1pMoJG9tmP+rjlVtGGPt7rLPOxKU2QwLFrvVnpH55Yev/7LkRY+CNuS4OpdmqxAiNNSJuMcLXa9z9MmPDCRkKVrnBUSfI6vzLnAZTfLFNDr6df7USMMUWab68kh3DIVyMp855/22VIccWIyaBy3TqPbSm4QCkfwzojx4b7qYmKKCJ24zmoUuIgO53lLakK5uE6TrkowC7hQuHPEGIquiqdWTxw07HnEAjJug0rZVEIW7ojbQDKoxYiT5nxOrVa324DQwJw9x/KOFLYXVMwVHGUORL9CssP7ABQtVbcJqPZMdnQJQvzpmAaESGthxQEI72vcIlEjw/Rqc62uBfVfPapY60QQkHtl6qbpJjIb3cFsZjTXGk9oCtA0vsSaKr+sX8J5k/MWFKkhf5XwtZwgBAEyLz3zJz4v1OKhJDFeDZyuMq7HTdtntctz7dDKe3qklNgU9qAWACwHQsdin6a22DQS/4QR9wYt461ICtuOrNRBRdL7lhed/Rc6sM1mJ6EmXCiqe0iJUAcfjYM7yaBn8b3euUJcjD3MvH+Qq5k68Y/n8ctNtgFvYjmYzKWEEHnoFF6Df3+NfPaRYtp21lcyHiuYlk4eI6KkgaSeF6FhmWJJCGRNuoFTwIkLPNFR7gAQI9czMepilT8PH3TzoaRnuUJ9kI2OaiV5k4fRSNZvdNEswqqVrmeRhgARJnZu3oOdjabBrTGwjE=
x-ms-traffictypediagnostic: DB8EUR05HT223:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Fx7iuuALO7HXS1qQgLegwWJyjTfSjZsWm+l0L+fZMU5MGOFADyBSk0k/ey926iLAnPJbDhns2U7DFtFjKP7OTdBhTPTxToADposBnBmlrR7qPKV2Bfn+7xkMUE4Zl77z0w57AxCCtlUBbXRKv7Z4/ZrEYy6/LgUVKnQv3J9B4KhV0MDZ7jU6EwveNR8vWzY8x5nHyzi5eenrypDQkos8Hg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:;
IPV:NLI; SFV:NSPM; H:DB3PR0302MB3386.eurprd03.prod.outlook.com; PTR:; CAT:NONE;
SFTY:; SFS:; DIR:OUT; SFP:1901;
x-ms-exchange-antispam-messagedata: zm6geTzP37xfVq9UUhrBTdmHDoRWBIdCoQAEipKSzMFMtJIpbDPR/WVXqX7uTeKl57raXQU5fxRyHIy9JW+O5Vs7ddhfEyvAmbC84dRTMx0tZU9+dpqlogWqi1QW0DzyAHNQq3aT6q08G70GD5uitg==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 93c7fe1f-7a34-4078-b037-08d814426c17
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2020 11:17:58.6034 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR05HT223
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham 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-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>
From: Fergus Daly via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Fergus Daly <fergusd84 AT outlook DOT com>
Cc: Fergus Daly <fergusd84 AT outlook DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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

- Raw text -


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