From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46841 invoked by alias); 16 Feb 2020 07:45:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 46783 invoked by uid 89); 16 Feb 2020 07:45:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=H*RU:!192.168.1.100!, HX-Spam-Relays-External:!192.168.1.100!, H*r:ip*192.168.1.100, bold X-HELO: m0.truegem.net Received: from m0.truegem.net (HELO m0.truegem.net) (69.55.228.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 16 Feb 2020 07:45:00 +0000 Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id 01G7iv5p009333 for ; Sat, 15 Feb 2020 23:44:57 -0800 (PST) (envelope-from mark@maxrnd.com) Received: from 162-235-43-67.lightspeed.irvnca.sbcglobal.net(162.235.43.67), claiming to be "[192.168.1.100]" via SMTP by m0.truegem.net, id smtpdJClRIC; Sat Feb 15 23:44:53 2020 From: Mark Geisert Subject: Calling a Windows program changes terminal character attributes To: Cygwin Mailing List Message-ID: Date: Sun, 16 Feb 2020 07:45:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------88F4B669380C8EC573409C8F" X-SW-Source: 2020-02/txt/msg00124.txt.bz2 --------------88F4B669380C8EC573409C8F Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 1255 This may be a duplicate of an already-reported problem. I haven't seen one reported quite this way up to now, though. I'd long ago modified DIR_COLORS to color-code more kinds of files in 'ls' displays. I've noticed for a while (weeks?) that some of the chars visible in a terminal window are made bold just by launching certain Windows commands. I just now stumbled onto a simple test case. 1) Open a Cygwin Terminal window, 2) cd to a directory with lots of different file types, 3) issue an 'ls' command 4) issue the command "cmd -c version" You should immediately see that some characters in the visible part of the screen buffer have been converted to bold versions. Not all of them, though. This only affects the currently-visible part of the screen buffer. If you scroll up, older buffer contents are seen to be unchanged. I am attaching my DIR_COLORS.local file which is appended to the system's DIR_COLORS by these commands in my .bashrc: eval `dircolors -b /etc/DIR_COLORS` LS_COLORS0=$LS_COLORS eval `dircolors -b /home/mark/DIR_COLORS.local` export LS_COLORS="$LS_COLORS0$LS_COLORS" I'm using a 64-bit Cygwin1.dll built from current git, on Windows 10.0.18363.592. I've also aliased: ls='ls -AF --color -b -T 0 '. ..mark --------------88F4B669380C8EC573409C8F Content-Type: text/plain; charset=UTF-8; name="DIR_COLORS.local" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="DIR_COLORS.local" Content-length: 920 LmMgMDA7MzYKLmMuc2FmZSAwMTszNgouaCAwMDszNgouaC5zYWZlIDAxOzM2 Ci5jYyAwMDszNgouY2Muc2FmZSAwMTszNgouY3BwIDAwOzM2Ci5jcHAuc2Fm ZSAwMTszNgouaHBwIDAwOzM2Ci5ocHAuc2FmZSAwMTszNgoKLnMgMDA7MzYK LmJsIDAwOzM2Ci5tNGEgMDA7MzYKLmIgMDA7MzYKLm0gMDA7MzYKLm00IDAw OzM2Ci5nbyAwMDszNgouZ28uc2FmZSAwMTszNgouY2FsIDAwOzM2Ci5jYWwu c2FmZSAwMTszNgouY2FsYyAwMDszNgoucGwgMDA7MzYKLnB5IDAwOzM2Ci5h d2sgMDA7MzYKCipha2VmaWxlIDAwOzMxCipha2VmaWxlLnNhZmUgMDE7MzEK KmFrZWZpbGUuaW4gMDA7MzEKKmFrZWZpbGUuaW4uc2FmZSAwMTszMQoqYWtl ZmlsZS5hbSAwMDszMQoqYWtlZmlsZS5hbS5zYWZlIDAxOzMxCi5tYWsgMDA7 MzEKLm1hay5zYWZlIDAxOzMxCi5tayAwMDszMQoubWsuc2FmZSAwMTszMQou YWMgMDA7MzEKCi5odG0gMDA7MzMKLmh0bWwgMDA7MzMKLmNzcyAwMDszMwou eG1sIDAxOzMzCi5wZGYgMDE7MzMKLnRleCAwMTszMwoudHh0IDAxOzMzCi5s b2cgMDE7MzMKCi5vIDAwOzMyCi5sbyAwMDszMgouYSAwMDszMgoubGEgMDA7 MzIKLmRsbCAwMDszMgouZGxsLnNhZmUgMDE7MzIKLmxpYiAwMDszMgoubGli LnNhZmUgMDE7MzIKLmRsbC5hIDAwOzMyCi5kYmcgMDA7MzIKCi5iaW4gMDA7 MzQK --------------88F4B669380C8EC573409C8F Content-Type: text/plain; charset=us-ascii Content-length: 219 -- 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 --------------88F4B669380C8EC573409C8F--