delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/20/08:42:11

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=auWpTUWp+hZOvgbG
6Zt8We634Fj7wb8lKefMCZ9CpguFOpobsTYBuhNFRsknGXo0Iagt/+mYFoLHfMNx
W+Q2E4LIFjgrb7vKP7D0b9RZOq59Me79Nu0d7av5nhmuQUMY7+ePZ11CLKRaa/EQ
WQ8aEKHaYBEratx2mb2ujzOsuZI=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=2r1zvvglE+URnFqB77Rsv+
sjLSg=; b=JnVla4018OIxExMNCR8aErsAv3ZyiCz3fc2jPO5DKhbLRG4BDBdYGD
bzqqpI6cbIZ7SBLgwvElyKldtwxdUGZeN6ocFdGiKi4Q0w5gbs4NHanrMh2vXv4o
pAKJMW5b94dpKabYqV1KP6VRNCVC6vo9qwEUOvF91ohFgum37lCpE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-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
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 DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Issue displaying characters on interactive commands
To: cygwin AT cygwin DOT com
References: <57d3e18d-d6d0-450f-d454-41fd50e5f6d3 AT yahoo DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <bc8da33d-202e-6f9b-7f40-cdbc08eea02f@SystematicSw.ab.ca>
Date: Fri, 20 Apr 2018 06:41:54 -0600
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>
X-CMAE-Envelope: MS4wfENVoaU16gD1aCF47hCMkeYhANj7XxTaELn/wO9jnumoQ2pcweQNnE+XQVrznEeFk0kEyue3GGb7aNwS85FC3vVcXn0PZgGyQyuENfSRFdYz80A72zWR H1Fz5Gd7VG9kUV8lFdjGka6rqn3PM9voungbzh0/jKM551rY9G1iZ4PvNhMXShLk1h6nvL8yvvIkWw==
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019