Re: Setting appearance in bash / mintty

2020-06-19 Thread Thomas Wolff

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


Setting appearance in bash / mintty

2020-06-19 Thread 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?
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