From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id a0bb8ed8 for ; Wed, 28 Aug 2019 00:52:53 +0000 (UTC) Received: (qmail 24552 invoked by alias); 28 Aug 2019 00:52:43 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 44716 Received: (qmail 16584 invoked by uid 1010); 28 Aug 2019 00:52:43 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk1-f169.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25552. spamassassin: 3.4.2. Clear:RC:0(209.85.221.169):SA:0(-2.0/5.0):. Processed in 4.133686 secs); 28 Aug 2019 00:52:43 -0000 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.221.169 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=DMtOcV9FhKYxbIGhV1TtnKqCxSHp1CstETeCjP9Vz9I=; b=q1B93CQc411zl3WYZxLNvGQ1/y1Im/LZ7hJu6DDh6/yQxTwvEn0KZd+dz32qQkoeTW vOWS5gCWhjyiGFk1MAIQDvUpOlmuwkoqwz/EItdEpRvL2+UQzm3kU1YEWjo+3JHhnd1+ ZbOmLl0rr1Xs5SN2CNH7tmLcNTlJRg+bi+YEiHSMFC8jmkYm6X91AhBHPQQ45KkiFszr bzpINjWrKTl9dDD/qhmRkMRW70sTfzgmM4U1jPCfQpQrjruj1w2pvEHQkQYx8L7memHb KEYO2GxQJzCex1mRT0kPrxP6J3WhI6GbFVXROMsDSGIhf7bSO15szQF83DA8ABbKcW2h xQFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=DMtOcV9FhKYxbIGhV1TtnKqCxSHp1CstETeCjP9Vz9I=; b=r3k8LEUo51GCUowFmPt9selC/gVs7Pv/Y79pbUy8LrkUzFVjXZ8+U+yFDc0szT96xY 13nwAneeDkkkf8d/yzOKp52Ns8er47Z5M2IOQaW7lOkOSRM/S1wqvdTgswXnGvUqn7es fbC4X0P/d19MbDZYsb3FSdMmzrNnTmyz6wEY70Xn47PPY8LQ0N6uESWxUxDtfqjADPXw gSA5Jjbi/HNZ3XQ3wZmisImTz+GyJp01JRvL9udcU7bMUenhXD10ldDhE+E5HF1UEnRx nZpUPYHNtvUiYVVAyby1v3oMfWDLdOa/fKGNpYdZIZArk/FZuVYP45j+P/te3WF+7Vr5 MrRw== X-Gm-Message-State: APjAAAW8VWmJpUa/+3eP9MySVWGG8xZ/SSiXJWY8ub/Iw8WNZCNos30k ef5LVl8u1yT/lxKv2bJmUL8cv5pOUs2oapnN/WLRH6mh X-Google-Smtp-Source: APXvYqxmsXO5yScIZYgPnJmDNrIryPXAYY1UJrxxHKWoKk1UqCwt3vENDNMS0C8h/2ONhZskNmYmEtH5lxy1n0CSVYA= X-Received: by 2002:a1f:858b:: with SMTP id h133mr958320vkd.11.1566953525356; Tue, 27 Aug 2019 17:52:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sebastian Gniazdowski Date: Wed, 28 Aug 2019 02:51:18 +0200 Message-ID: Subject: Re: PATCH: configure - use ncurses (not only ncursesw) before tinfo To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Just one more thing =E2=80=93 if someone would have doubts as whether we should so one directionally bind Zsh to ncurses, then let's notice that the second library in the order enumeration =E2=80=93 tinfo =E2=80=93 = is an extracted terminal-sequences sublibrary taken out of ncurses. On Tue, 27 Aug 2019 at 04:32, Sebastian Gniazdowski wrote: > > Hello, > I've noticed that Zsh shipped with Mageia doesn't include zsh/curses > module. Trying to build Zsh revealed the cause: Mageia ships with > libncurses, not libncursesw and the relevant part in configure.ac > says: > > termcap_curses_order=3D"$ncursesw_test tinfo termcap $ncurses_test curses= " ;; > > The width of the curses library is irrelevant to Zsh - it only needs > the terminal sequences from the library, which aren't associated to > any Unicode topic. As for the part that actually is relevant to the > Unicode - the zsh/curses module - it is still better to build it > without the multibyte support than not to build it at all. > > Not to say that libncurses libraries today do have multibyte support. > So the conservative terminal-library order doesn't have any support in > reality. The patch changes the order to: > > termcap_curses_order=3D"$ncursesw_test $ncurses_test tinfo termcap curses= " ;; > > -- > Sebastian Gniazdowski > News: https://twitter.com/ZdharmaI > IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin > Blog: http://zdharma.org --=20 Sebastian Gniazdowski News: https://twitter.com/ZdharmaI IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin Blog: http://zdharma.org