X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=cQFclSwWbc9PTMZodarnI7k2a0ycA GtkYGmPzcM21S+g78NEgIuNZlpaFER0ylk2EXqKXnzGEVEmDNZQm4mVDUmq7BjNU EcgEL+gNkbtZFLE4TrjJlDrG9TupTCbOZ+FpAji1w08FbegE7BGheZfMrl1ymR1d wifeLmCAqHPMQc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=Zs4Hw3vMZYj+W4+Y4o+yA+WCIQI=; b=JwJ GLrTvtTIkcN4lNXjRQs1rX+EmtmOiL0A3trBSCeGM06VJEeRWscmvxQY8fBTnkjz u7yLBtQsJNivRKSoRHRjenA8hxB0bcnoI97D1dO2Y1I7ITK2FStQKBUxeFb8+uTc KxO32rEoPrKIQ++J6lLEY/sSdoPrpC03WYBSnddM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy= X-HELO: mail-vk1-f196.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tdnWVCuvWpxsLmaLR8Dv0vbwwtZGY/+IzXVxMfxV8yc=; b=Qi+JWfaBQmT+JVoWsMU+/N4F+xAY6/JgoR8v/OuYdhssjGTYKk3nbktKUfYjen9rNt pDNLA3k6W5eWRkV6VV97HiFD6F1LafLjq+U1LemXrzCAoJ7O4ew5n9Zhae2aytCpba// RoilUo+XEP1xYLK/QOIc5Gh8EI9R79YebgQw/4LQ0WHNAq8dp6W2fNLuYO0t9q2gGemS JZ8cBARYFccWL2V9MNqS2tHbAuNQStKw6b6CSGW0EfljIk7Cfe25b6lgkQHwAbFCCu5g 8zK4d0IBJ7IkwzjG7T6hgQ1yUnT2YW86eYFRUlUwsXD3cyIe+yyCjhG8CU9tPpwEJ0kV 0i/Q== MIME-Version: 1.0 From: connor horman Date: Sat, 21 Sep 2019 12:06:49 -0400 Message-ID: Subject: Cygwin 3.0.7 on Windows 10: ANSI Escape Sequences not affecting color when run in Windows Terminal To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" When using windows terminal, programs using the C Functions provided by cygwin1.dll to print to stdout (such as printf, puts), do not render the text color as would be appropriate when using an ANSI Escape sequence, such as "\033[38;2;255;0;0m". The functionality has been confirmed on native linux with glibc, as well as when displaying to mintty.exe. Additionally, the issue does not occur with native windows executables performing the same task, linked with msvcrt as the C library implementation, both run through windows command line programs such as cmd.exe and powershell, and cygwin bash. The issue seems to be a disparity between the handling of these escape sequences in cygwin1.dll and in Windows Terminal as is noted in the issue filed at https://github.com/microsoft/terminal/issues/2837. -- 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