* Setting appearance in bash / mintty
@ 2020-06-19 11:17 Fergus Daly
2020-06-19 13:07 ` Thomas Wolff
0 siblings, 1 reply; 2+ messages in thread
From: Fergus Daly @ 2020-06-19 11:17 UTC (permalink / raw)
To: 'cygwin@cygwin.com'; +Cc: Fergus Daly
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Setting appearance in bash / mintty
2020-06-19 11:17 Setting appearance in bash / mintty Fergus Daly
@ 2020-06-19 13:07 ` Thomas Wolff
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Wolff @ 2020-06-19 13:07 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-19 13:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 11:17 Setting appearance in bash / mintty Fergus Daly
2020-06-19 13:07 ` Thomas Wolff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).