From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63168 invoked by alias); 17 Feb 2020 18:50:22 -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 63154 invoked by uid 89); 17 Feb 2020 18:50:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=rendered, visually X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.17.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Feb 2020 18:50:20 +0000 Received: from [192.168.178.45] ([95.90.246.218]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M9Ezx-1j90w90aMp-006NFO for ; Mon, 17 Feb 2020 19:50:18 +0100 To: cygwin@cygwin.com From: Thomas Wolff Subject: Single-width display option Message-ID: <4a421761-b762-563f-23bc-114456906d6a@towo.net> Date: Mon, 17 Feb 2020 18:50:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00137.txt.bz2 I have implemented a single-width display option for mintty (https://github.com/mintty/mintty/issues/964). With this feature enabled, CJK characters are rendered single-width. While this may appear alien for terminal users who are used to the established dual-width paradigm, some people may in fact prefer it, as advocated and visually motivated in https://gitlab.freedesktop.org/terminal-wg/specifications/issues/9#note_406682. In order to support locale-consistent width handling with this option, I'm proposing another locale modifier "@cjksingle" which triggers this behaviour for the wcwidth/wcswidth API. I've prepared a patch which I'll send to the newlib list. Thomas -- 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