bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #62575] Garbled ANSI color codes in Cygwin mintty


From: Stephan Bergmann
Subject: [bug #62575] Garbled ANSI color codes in Cygwin mintty
Date: Fri, 3 Jun 2022 09:24:29 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62575>

                 Summary: Garbled ANSI color codes in Cygwin mintty
                 Project: make
               Submitter: sberg
               Submitted: Fri 03 Jun 2022 01:24:26 PM UTC
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.3
        Operating System: None
           Fixed Release: None
           Triage Status: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 03 Jun 2022 01:24:26 PM UTC By: Stephan Bergmann <sberg>
I experienced this with `make` built for native Windows (not Cygwin), and run
in Cygwin mintty 3.6.1 on Windows 11:

$ cat Makefile
.PHONY test:
        sh -c 'clang -fansi-escape-codes -fcolor-diagnostics'
$ make -O -j2
sh -c 'clang -fansi-escape-codes -fcolor-diagnostics'
clang: ←[0;1;31merror: ←[0m←[1mno input files←[0m
make: *** [Makefile:2: test] Error 1

where clang's ANSI color-coded "error: no input files" stderr output was not
displaying in red and bold, but rather with verbatim "←[0;1;31m".

What would fix it for me (but see my "I don't know if it is appropriate to
execute this unconditionally on Windows") is the attached
0001-Enable-ANSI-color-codes-in-pump_from_tmp-on-Windows.patch.






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Fri 03 Jun 2022 01:24:26 PM UTC  Name:
0001-Enable-ANSI-color-codes-in-pump_from_tmp-on-Windows.patch  Size: 2KiB  
By: sberg

<http://savannah.gnu.org/bugs/download.php?file_id=53271>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62575>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]