From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17557 invoked by alias); 6 Nov 2019 17:24:43 -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 17458 invoked by uid 89); 6 Nov 2019 17:24:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,GARBLED_BODY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.1 spammy=fish, asian, japanese, Japanese 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; Wed, 06 Nov 2019 17:24:34 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id SP2kiyxPnRnrKSP2lilVeZ; Wed, 06 Nov 2019 10:24:31 -0700 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: [ANNOUNCEMENT] xterm 348-1 To: cygwin@cygwin.com References: <20191106211318.263462ceb47f01f6fd63c64e@nifty.ne.jp> <420cec84-46a7-c55c-f723-dfd96d39d39b@SystematicSw.ab.ca> <20191107004841.33764763bbb1ba364347c46c@nifty.ne.jp> Cc: Takashi Yano From: Brian Inglis Openpgp: preference=signencrypt Message-ID: Date: Wed, 06 Nov 2019 17:24:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191107004841.33764763bbb1ba364347c46c@nifty.ne.jp> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg00029.txt.bz2 On 2019-11-06 08:48, Takashi Yano wrote: > On Wed, 6 Nov 2019 07:11:14 -0700 Brian Inglis wrote: >> On 2019-11-06 05:13, Takashi Yano wrote: >>> On Fri, 01 Nov 2019 10:36:06 +0900 >>> Katsumi Yamaoka wrote: >>>> On Wed, 11 Sep 2019 18:24:37 -0400, Yaakov Selkowitz wrote: >>>>> The following packages have been uploaded to the Cygwin distribution: >>>>> * xterm-348-1 >>>> First of all, reverting it to XTerm(330) solved my problem. >>>> When copying non-ASCII text from another window to XTerm(348), it >>>> will be shown as a combination of ASCII and control characters, >>>> not the original human readable representation. >>>> I usually use Japanese text, これは日本語です for example. AFAICT, >>>> only the copy and paste is bad; `less' shows Japanese text and >>>> `ls' shows Japanese file names correctly. >>>> Is there a way to fix this problem? >>>> $ locale >>>> LANG=C >>>> LC_CTYPE="ja_JP.UTF-8" >>>> LC_NUMERIC="C" >>>> LC_TIME="C" >>>> LC_COLLATE="C" >>>> LC_MONETARY="C" >>>> LC_MESSAGES="C" >>>> LC_ALL= >>> I confirmed this occurs only if shell is tcsh. If shell is bash, zsh >>> or fish, pasting Japanese string works as expected. It works in cat, >>> od, etc as well. >>> The cause is unknown. >> Does it work properly if LANG="ja_JP.UTF-8" under tcsh? > No, it does not. Does tcsh input work properly under mintty instead of xterm? How does it work in cat, od, etc.? That can not include using input via tcsh? Presumably you are using IME(s) for Japanese input - which at what input layer(s)? I noticed that xterm was updated to Unicode 10 then 11, with changes to CJK/East Asian character properties and handling; tcsh dropped libcatgets1 as a dependency; those could affect input. It sounds like an issue with either xterm or tcsh input locale handling, but both apparently handle locales well, so it may be a configuration issue caused by a recent change. It may be useful to read the FAQs (https://invisible-island.net/xterm/xterm.faq.html, https://www.tcsh.org/faq/), then open issues directly with xterm and/or tcsh upstream maintainers (https://invisible-island.net/personal/bug-reports.html, https://mailman.astron.com/mailman/listinfo/tcsh) to get more info. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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