[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build Bash using wide Ncurses?

From: Chet Ramey
Subject: Re: Build Bash using wide Ncurses?
Date: Thu, 7 Jan 2021 15:22:22 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

On 1/7/21 2:14 PM, Jeffrey Walton wrote:

How do I tell Bash to use the wide character versions of Ncurses?

The easiest way is probably to configure bash as normal and use
`make TERMCAP_LIB=-ltinfow' or `make TERMCAP_LIB=-lncursesw' and
add LOCAL_LDFLAGS as appropriate. If you have your private curses
version in a directory in which `ld' will not look, you'll have to
add LOCAL_LDFLAGS=-L/path/to/my/directory to that command line.

You don't really need to use the wide version of curses, since
readline only uses the termcap/terminfo part of the library, but it
will work if you have the wide and non-wide versions installed. If
you only have ncursesw installed, the bash configure will find it.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU

reply via email to

[Prev in Thread] Current Thread [Next in Thread]