From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81060 invoked by alias); 11 Jun 2017 15:44:11 -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 79795 invoked by uid 89); 11 Jun 2017 15:44:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=inglis, Inglis, calgary, H*r:sk:smtp-ou X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.139) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 11 Jun 2017 15:44:08 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id K529dQGp5eQWUK52AdjB7J; Sun, 11 Jun 2017 09:44:11 -0600 X-Authority-Analysis: v=2.2 cv=UpATD64B c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=EGIAf1dmWQcb5K3y7Q4A:9 a=QEXdDO2ut3YA:10 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Python 3.6.1 fails to generate 256 colors, with xterm-256color, on Cygwin based 64-bit Windows 10. To: cygwin@cygwin.com References: <86DAFF59-6EA8-4288-9D7D-E3262988BD7C@comcast.net> From: Brian Inglis Message-ID: <33db6ad1-fe1f-5c02-1a1d-6743cf478601@SystematicSw.ab.ca> Date: Sun, 11 Jun 2017 15:44:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <86DAFF59-6EA8-4288-9D7D-E3262988BD7C@comcast.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfI+Kib0biqZppQROATGejK+lJ4ifGrTvdzDXVKcAwj7bLaNZiYuv9JURkyzxIPjkzM2HPoATLu6F8jxq0X+iODRPeryrtQl89MCOyNVdwU4UACgPcdlU y8vfRMxuzU8gwecM7trKfezEyM6Z1aX7vVS+ST4zVnmXQWowqXVzoLCfjk88PeGbJYbhcT8SbAPsOA== X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00119.txt.bz2 On 2017-06-11 08:18, Richard S. Gordon wrote: See how to make decent Cygwin problem reports at the link below my sig. > 3. Python 3.6.1 generates 256 colors (65536-color pairs), with > xterm-256color, on Cygwin based 64-bit Windows 10. However, the > generated colors appear to be corrupted by overloading text > attribute with specified foreground and background colors. Could you please give some examples of what you expect to see and why, and what you actually see? Which Windows console are you running the test in: mintty, cmd, ...? What are the results when you run it in another console? Are you running a Windows Insider or some developer build? That recently had a keyboard problem that was fixed a few days later. > 6. Cygwin Problem Reporter's Test Case: This Cygwin problem can be > demonstrated by running the Problem Reporter's > test_tsWxColorPalette.py in Python 3x (developer-sandbox) which can > be found in https://github.com/rigordo959/tsWxGTUI_PyVx_Repository Could you please provide a direct link to a Simple Test Case program, again with examples of what you expect to see and what you actually see? I had to dig to find where you hid your test program. If the program requires certain Cygwin python modules installed to run, please state which Cygwin packages need to be installed. The console, ncursesw, pty, or tty person trying to reproduce and diagnose your problem may not be a python guy. Plus which Windows console are you seeing the problems under? Steps to Reproduce your problem are required. Running your test under current Win10 x64, latest Cygwin, mintty, python3, and also on Debian, I get: $ python3 Downloads/test_tsWxColorPalette.py test_tsWxColorPalette: ImportError (tsLibCLI); importCode=No module named 'tsLibCLI' test_tsWxColorPalette: ImportError (tsLibCLI); importCode=No module named 'tsExceptions' test_tsWxColorPalette: ImportError (tsLibGUI); importCode=No module named 'tsLibGUI' test_tsWxColorPalette: ImportError (tsLibGUI); importCode=No module named 'tsWx' Traceback (most recent call last): File "Downloads/test_tsWxColorPalette.py", line 272, in StandardTerminalEmulators = wxThemeToUse['StandardTerminalEmulators'] NameError: name 'wxThemeToUse' is not defined > 4. Cygwin problem reporter's test platform is a 27" iMAC (with 3.5 > GHz Intel Core i7, 16 GB 1600 MHz DDR3) running Mac OS 10.12.5 > (Sierra). It uses the Parallels Desktop 12 for Mac (a hypervisor) to > run the following guest operating system: > e. Windows (10 32-bit, 10 64-bit) (NOTE: previously ran 32-bit XP, 7 > and 8.1). Only Windows 10, with Cygwin, includes support for Python > 3.6.1 and support for xterm, xterm-16color and xterm-256olor. What is the ||s VM screen interface config and the console screen config? Please append cygcheck -svr output as a text attachment to your post, so support folks can see what your environment is running. Any chance you can test this on a bare Windows system with a fresh Cygwin install and only the required modules? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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