Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: configure - use ncurses (not only ncursesw) before tinfo



Just one more thing – 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 – tinfo – is an
extracted terminal-sequences sublibrary taken out of ncurses.

On Tue, 27 Aug 2019 at 04:32, Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> 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="$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="$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



-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org



Messages sorted by: Reverse Date, Date, Thread, Author