From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74914 invoked by alias); 20 Apr 2018 12:42:01 -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 72914 invoked by uid 89); 20 Apr 2018 12:41:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=dark, shots, mouse, H*R:D*ca X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Apr 2018 12:41:58 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with ESMTP id 9VMQfaHHBYxCT9VMRfbH88; Fri, 20 Apr 2018 06:41:56 -0600 X-Authority-Analysis: v=2.3 cv=cav8UELM c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=XIxDpUECAAAA:20 a=b4eMD0GmHX_ZvWjD-W0A:9 a=QEXdDO2ut3YA:10 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Issue displaying characters on interactive commands To: cygwin@cygwin.com References: <57d3e18d-d6d0-450f-d454-41fd50e5f6d3@yahoo.com> From: Brian Inglis Message-ID: Date: Fri, 20 Apr 2018 12:42:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <57d3e18d-d6d0-450f-d454-41fd50e5f6d3@yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfENVoaU16gD1aCF47hCMkeYhANj7XxTaELn/wO9jnumoQ2pcweQNnE+XQVrznEeFk0kEyue3GGb7aNwS85FC3vVcXn0PZgGyQyuENfSRFdYz80A72zWR H1Fz5Gd7VG9kUV8lFdjGka6rqn3PM9voungbzh0/jKM551rY9G1iZ4PvNhMXShLk1h6nvL8yvvIkWw== X-IsSubscribed: yes X-SW-Source: 2018-04/txt/msg00246.txt.bz2 On 2018-04-20 05:24, Peter Dilov via cygwin wrote: > If i run 'aptitude' command when i try to exit the command i get this strange > exit window like in the screenshot: > https://i.imgur.com/oxGntcr.png > I also have noticed this problem with other interactive commands like 'ncdu'. I > am using Cygwin on Windows 7 x64. As these are character terminal windows, you could just have copied (using mouse drag-select then primary [normally left] mouse button) and pasted the *relevant* displayed characters into your email, instead of snapping a full screen shot image of a remote server and linking to it: you are not alone in this, as many articles and ebooks are illustrated with full screen shots showing a couple of lines of a tiny font lost in a mass of dark screen background colour. You fail to mention this is using ssh to another system, where your issue is that you are seeing other characters interspersed with box drawing characters, probably because your remote system is using UTF-8, and your local Cygwin system is using a (localized or default) Windows encoding. Please ensure that your LANG/LC_ALL charset encoding settings are the same on both systems e.g. "export LANG=en_US.UTF-8" (check by running "locale" on both systems to see these settings), and respected by the remote system and package you are using, or change your local setting to match your remote setting. -- 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