delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/02/17/13:51:13

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=QFh
Ol9OwG+bg7hZJDzzBzgyv9VJYxeNHM7ugDf7OTtzE/dh2PR0PXyboDgpup3FFumR
O9oLALHCeYEoHOPo/knYz7+SppiyT46ZSCimuCtT7KscDWZXROGwFO5J5dXyMGKw
emdki364kZfbWTFJDAHVVca7qtHsytiTtuh1kL9g=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=s4jbwu68G
UZho7ePB2q7y5k0hvU=; b=KWdeLqYfkU1DQc+E2QAHLzfiGHYmdaROoyufJ74/U
N1ufqjKjxzULLsaw9vweSwHOoRL4R9qsHKbe7rKDZsjsDddgSXnkvwQs136KYHiv
LUTSaq3iXgsYeD1bNnAmOdwf3rJMY9HsGmvYSaxBBhTv4/I1LV/NkUippcMCOOS5
Jg=
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-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
To: cygwin AT cygwin DOT com
From: Thomas Wolff <towo AT towo DOT net>
Subject: Single-width display option
Message-ID: <4a421761-b762-563f-23bc-114456906d6a@towo.net>
Date: Mon, 17 Feb 2020 19:50:18 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


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