Received: by 10.192.165.148 with SMTP id m20csp5230694imm; Tue, 1 May 2018 11:13:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpND6kEAdLH1oOP8sMCfzhYq2x/dMQtMu84dO4AHt83wfU380C54nLhwY1Y26o+jlS4oOA2 X-Received: by 2002:a17:902:5382:: with SMTP id c2-v6mr17260016pli.335.1525198418575; Tue, 01 May 2018 11:13:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525198418; cv=none; d=google.com; s=arc-20160816; b=HFP7BdlP20FyC2gBx94o6WXFaxCaNCjYZca4i61pYBbzmHWwhvCOwocuWk0lQpz6KF rx0EqPzHZq0mjiu+Wkt/rVPLOphByEFmcNoliGgcfP6FcMgpdLXeDpIDdGy81wiHP+5u fhmCKAI0wNq82fxjiAosU/cmL2xLKpfsJ580/RXv55St1tnSnx7ABzoA8mOaufzNv8+B v32GsBhDim0GB/NzxpH2Dnds1qFhpbwAlh6iS2Nx/0pOh1lzFM7k4QiwDcgCUOWr+hsL ur0SH1IGGDXPj3FtA7MEmhmRnLUSA28s2UY7fjXz+tzAQDYiVZHGR7pvvJpL5k49SUr7 DsZg== 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:to:subject:dkim-signature :arc-authentication-results; bh=QI8xv+Yk1FK6wy2nlkVXJy/fRrLTs8qPtFdQxqRvWEo=; b=NZvf/hYkw+BjSoH4BZayjyMm+t8cWo6tFNY3kd/XZvtXCj5lv+poISdgClNA1kKf49 uopK5hGbYjGLfDTyE6Vv9l657KSanjSgRa6+9yaaDx+UCGn/6BMiVBykYdfkbkqIngrY YGPkxA2pw63ZI+jpqub/xyhON56KUNCDbPP2kHkzQhaM2rPYlxBTpK+7NEfIeb69BPym GxMHs/q0N6hmMKyAkCurXET+Z27uZwh94ecNIFXkl65eXtrEmOT+GPnrHqXpSNTCY43o IH8dcZtsSPinNuyydFArKhwPyMDT7EhyHej2W3lzLJct4Tx1he8mQAPT0Qt8r1ki3Ue1 9Dig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=UivP/uj8; 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 bh5-v6si9454394plb.599.2018.05.01.11.13.24; Tue, 01 May 2018 11:13:38 -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=UivP/uj8; 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 S1756295AbeEASNO (ORCPT + 99 others); Tue, 1 May 2018 14:13:14 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:32828 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756175AbeEASNM (ORCPT ); Tue, 1 May 2018 14:13:12 -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:To: Subject:Sender:Reply-To:Cc: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=QI8xv+Yk1FK6wy2nlkVXJy/fRrLTs8qPtFdQxqRvWEo=; b=UivP/uj8NTbK3imnvos2UVKCD ry5j/Hz/1jNaNhgnpFPV9oO7JmgGPnjPCe3X0+wabThKd4BomNg7uVXuTCbbL6+tYKKDigjEHiBwG PBilVwib425hmrmuGLmo8dGo0pkRRC4TiFnXxla4TDdxCL+6+J8iGjlRoR+345geDj4KDK6jHKbt3 S7bdTWo/6Idb/BsfyEtLodCYYJVjSlSmgfeG2HjjqP2LGzF1jQVIBp/bjD8J20knzC6J9C6SvLonU 7SIPHp1dUaMYuj7cpAZ6xSt658usq4/TjK3X+FRxzfkCBYxiM9Ivpf+zK4B6x+AvcNQkftMMpE7pj GK2Sw+Fsg==; 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 1fDZm3-0006TI-SC; Tue, 01 May 2018 18:13:11 +0000 Subject: Re: [ANNOUNCE] Kconfiglib menuconfig implementation To: Ulf Magnusson , Linux Kbuild mailing list , Linux Kernel Mailing List References: From: Randy Dunlap Message-ID: <25f6b309-9346-7e28-beeb-a37e69a91ce8@infradead.org> Date: Tue, 1 May 2018 11:13:11 -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: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/01/2018 10:56 AM, Randy Dunlap wrote: > On 04/30/2018 05:57 PM, Ulf Magnusson wrote: >> Hello, >> >> Kconfiglib (https://github.com/ulfalizer/Kconfiglib) now has a >> terminal menuconfig implementation, implemented in plain curses >> (which is in the Python standard library). >> >> The interface should feel familiar to people used to mconf. It has >> some features that mconf lacks: >> >> - Seamless resizing >> >> - Unicode support >> >> - Runs on Windows (via 'pip install windows-curses', which uses >> PDCurses) >> >> - Improved information displays: >> >> * All expressions are split into readable chunks >> >> * Menus and comments have information displays >> >> - Relatively easy-to-read and easy-to-tweak code. >> >> Kconfiglib automatically invalidates symbols as needed, and >> values can never get stale, which helps. >> >> Some upcoming features are mouse support and a search feature that >> can jump directly to the definition of a symbol. The jump-to feature >> will use a "show-all" mode in case the symbol isn't visible. >> >> See the Kconfiglib GitHub page for screenshots. The menuconfig >> implementation is at >> https://github.com/ulfalizer/Kconfiglib/blob/master/menuconfig.py. >> The docstring at the top has some more information. > > Hi, > > I'm probably missing some python additive (I hope it's that easy), but > menuconfig.py is not liking the "degree" symbol in drivers/net/can/peak_canfd/Kconfig: > > config CAN_PEAK_PCIEFD > depends on PCI > tristate "PEAK-System PCAN-PCIe FD cards" > ---help--- > This driver adds support for the PEAK-System PCI Express FD > CAN-FD cards family. > These 1x or 2x CAN-FD channels cards offer CAN 2.0 a/b as well as > CAN-FD access to the CAN bus. Besides the nominal bitrate of up to > 1 Mbit/s, the data bytes of CAN-FD frames can be transmitted with > up to 12 Mbit/s. A galvanic isolation of the CAN ports protects the > electronics of the card and the respective computer against > disturbances of up to 500 Volts. The PCAN-PCI Express FD can be > operated with ambient temperatures in a range of -40 to +85 °C. > > > kconfiglib.KconfigSyntaxError: > Malformed ascii in drivers/net/can/peak_canfd/Kconfig > Context: b't temperatures in a range of -40 to +85 \xc2\xb0C.\n' > Problematic data: b'\xc2' > Reason: ordinal not in range(128) BTW, after modifying 4 other instances of this "error," I have it running. Now looking/testing. :) -- ~Randy