Re: ANSI colors not showing by default

2017-05-22 Thread Sky Diver
On Mon, May 22, 2017 at 1:49 PM, Richard H Lee wrote:
> It appears you needs to install the php-posix package to get termcap info.

Wow Richard, another hit on the nail's head. Impressive.
That did the trick.

Thank you very much!

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



Re: ANSI colors not showing by default

2017-05-22 Thread Richard H Lee

On 21/05/2017 21:45, Sky Diver wrote:

Lately I noticed that colors are not showing by default in some situations.
The most apparent case is when running composer.

The latest composer version on "Bash on Ubuntu on Windows" console,
and even when running it via a mintty shell looks just fine. But from
cygwin the output is monochrome.


It appears you needs to install the php-posix package to get termcap info.

https://serverfault.com/questions/591105/centos-colors-in-php-cli-applications#comment-698025

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



Re: ANSI colors not showing by default

2017-05-21 Thread Sky Diver
On Sun, May 21, 2017 at 11:49 PM, Thomas Wolff wrote:
> Hi, your symptom description is quite sparse...
>
> Am 21.05.2017 um 22:45 schrieb Sky Diver:
>>
>> Lately I noticed that colors are not showing by default in some
>> situations.
>> The most apparent case is when running composer.
>
> What "composer"?
PHP composer https://getcomposer.org

>> The latest composer version on "Bash on Ubuntu on Windows" console,
>> and even when running it via a mintty shell looks just fine. But from
>> cygwin the output is monochrome.
>
> "From cygwin" could mean (guessing) from a cygwin console window, where your
> TERM setting would be "cygwin".
> That could cause an application to assume no colour support. So it would
> help if you tell us what your settings are.
(*) I thought that cygcheck.out would answer these type of questions.
The default TERM value is 'xterm', even when I rename my home-dir and
launch a shell that creates a fresh one.

>> I would love to understand what's going on.
>> I tried the following:
>> - Change the TERM var to several values
>
> Which values?
TERM=xterm
TERM=xterm-256color
TERM=Cygwin
TERM=cygwin

This one also didn't help:
export CYGWIN=codepage:ansi

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



Re: ANSI colors not showing by default

2017-05-21 Thread Thomas Wolff

Hi, your symptom description is quite sparse...

Am 21.05.2017 um 22:45 schrieb Sky Diver:

Lately I noticed that colors are not showing by default in some situations.
The most apparent case is when running composer.

What "composer"?


The latest composer version on "Bash on Ubuntu on Windows" console,
and even when running it via a mintty shell looks just fine. But from
cygwin the output is monochrome.
"From cygwin" could mean (guessing) from a cygwin console window, where 
your TERM setting would be "cygwin".
That could cause an application to assume no colour support. So it would 
help if you tell us what your settings are.



I would love to understand what's going on.
I tried the following:
- Change the TERM var to several values

Which values?

Thomas

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



ANSI colors not showing by default

2017-05-21 Thread Sky Diver
Lately I noticed that colors are not showing by default in some situations.
The most apparent case is when running composer.

The latest composer version on "Bash on Ubuntu on Windows" console,
and even when running it via a mintty shell looks just fine. But from
cygwin the output is monochrome.

Attached is cygcheck.out.

I would love to understand what's going on.
I tried the following:
- Change the TERM var to several values
- Renamed my home-dir and dropped into a shell in order to get a clean
new home-dir.
- Installed cygwin from scratch

Any help would be appreciated.


cygcheck.out
Description: Binary data

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