Received: by 10.192.165.148 with SMTP id m20csp159369imm; Thu, 3 May 2018 17:06:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZptniQEoqHf7uFapu5GGFKKERrqDUAv9570vrbiSY/oraXVQ8K1vFHi0qRj77VBElHbR0oE X-Received: by 2002:a65:5946:: with SMTP id g6-v6mr20531434pgu.391.1525392375478; Thu, 03 May 2018 17:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525392375; cv=none; d=google.com; s=arc-20160816; b=LX5i9LD2K1kOQftDHwY6RrSTEh3jzS68tZunzzsiWvy4TWLAa+6hL3NkohV+9aws58 FJx+wRy7H556HlnQwZPbmv1QlIMQW9wofyV+xAa3a2q2RROERabroxtWkz+hXEONOhcD ucekkfq4gs15OZiASnPcOkKKoUfyYqkiIVOt0TRKznNML3lHuQxpskt7ZiZcWy7Rta4Q JcInA/kWslHmbi2xxNkOoxuWUY5LhTYc8f/T6x8wpUs+/Ph5/ux8u045+UWQTpdCHUeJ WLXyqXfEmMkC/27NyVj0f4fcwpzKNRLS+JuNyS9/GAsc7qlFIWOZrltl1C2nuMyP9xqh HLzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=9FtHMCAlXtM+w7IvnyP39ZseiHkcN5tYNbRqrb2VitU=; b=MsOF7PenRRJQfiu1vtSXBEB4pj4GvfJ5VxNA0hggG7Po/xDYYCabVVh74hwAvkiDEr 44NRGg3oY9tFZlRd99SpKcWCjnU6vv3hI/X0ZKU93+fGSj8pWUILWerZDrcMQXb5SNxq su3/X3daDLP1M9Yd+gcm2h2Kkj8qQQz9zNFMeYFSQk8lybP/XHPYD1UsbtpXlvKfTR9Y /ooC8eFFOADG0OaVxna4Hcq8jYtZJA31lzfDteFNPkt6rSZl4d6HbKKx/H8lX9aBcUp4 avevHS0bvU5t9gc0+CsZiM3ZaHZ4SejWG/ODO1FC2b7QzkkHFXBxkVAZ8sMEq5R3judL khbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=gTAeHBqt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h13-v6si9066614pgq.138.2018.05.03.17.06.00; Thu, 03 May 2018 17:06:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=gTAeHBqt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751236AbeEDAFu (ORCPT + 99 others); Thu, 3 May 2018 20:05:50 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:41690 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829AbeEDAFt (ORCPT ); Thu, 3 May 2018 20:05:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9FtHMCAlXtM+w7IvnyP39ZseiHkcN5tYNbRqrb2VitU=; b=gTAeHBqt3/RofPBLjeOEhrLVK CvIltA/g3UpcU7KsrnjCqEVVXlyeyhRAiI85earePoFZ+zD3FgzIFl1Ux9f7l4IFEGPmDC9ylzOX/ fRsBLueYzg6siiQZ2tr5woAugbQnfidFsmVI2trlFuRQRtHy+Kg8+utFZcB6x/oWWns/eoNi6mIYk 7vXn7AfRowq/YpTaMBCxow40CK6X+Kam6s/iuDtKE2gi1CWgtK1sHypt+jyQBMZg+NuIpghrB6gZ8 VRA8uwBlDzQtrgvd14MA27vQBXL2xRKKNI1bXvtiVKYFL9MuSfeaX14syBL50frIx6P5FlZemAgsH k5ZAEsZ9Q==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEOEO-00018A-EX; Fri, 04 May 2018 00:05:48 +0000 Subject: Re: [ANNOUNCE] Kconfiglib menuconfig implementation To: Ulf Magnusson Cc: Linux Kbuild mailing list , Linux Kernel Mailing List References: <3d9be2f2-3fbe-411b-8529-0e0847f01346@infradead.org> From: Randy Dunlap Message-ID: <2e646e4d-4d3d-a81e-83e3-59875b425ea8@infradead.org> Date: Thu, 3 May 2018 17:05:46 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/03/2018 03:48 PM, Ulf Magnusson wrote: > On Thu, May 3, 2018 at 10:28 PM, Randy Dunlap wrote: >> Hi, >> >> (with new kconfiglib.py and menuconfig.py) >> >> Thanks for the fixes. >> >> If I use "LC_CTYPE=C.UTF-8" then I get the down arrows in the bottom colored >> bar. Without that, I get an upside-down T (that is 193, 0xc1, line drawing >> character in the IBM extended character set). >> >> Hm. With LC_CTYPE=C.UTF-8, the upper colored bar prints up arrows. >> Without that, it prints ^^^^^^^^^^^^^^. >> That's nice that it can do either. > > The arrows use ACS_U/DARROW from the alternate character set. You get > nice Unicode arrows for those with ncurses/PDCurses, plus "fallbacks" > (strictly speaking the Unicode arrows are fallbacks too). Too bad it doesn't use "vvvvvvvvvvvvvv" for the down-arrow fallbacks. Instead of that funky IBM PC line drawing stub. > Unicode text entry is still broken with LC_CTYPE=C, because ncurses > respects it. Having the menuconfig just force C.UTF-8 if it's > available might fix a bunch of problems in practice, even if it feels > a bit iffy to force settings. > > Python 3.7 will improve things at least. It converts LC_CTYPE=C into > LC_CTYPE=. > > Cleanest would be if all environments sanely defaulted to UTF-8, but > that's not how it is in practice, unfortunately. :) thanks, -- ~Randy