bug-bash
[Top][All Lists]
Advanced

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

Re: tab completion with variable expansion broken


From: Chet Ramey
Subject: Re: tab completion with variable expansion broken
Date: Tue, 11 Dec 2012 22:21:33 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

On 12/11/12 6:38 PM, njhwang wrote:
> I actually did this with a stock Ubuntu .bashrc/PS1 setting, and also tried
> it with no .bashrc at all and also tried completely clearing PS1, none of
> which had any effect on this issue. Any other ideas? Thanks

You don't have the ncurses library installed.  Bash will build without it,
but line editing will be severely limited.  It will not know how to move
the cursor up, and will default to horizontal scrolling.  There are
problems with horizontal scrolling and prompts containing invisible
characters (I'll fix them, but that's little-used code, and I haven't
gotten there yet.)

You can install the ncurses library using

sudo apt-get install libncurses5-dev

Then remove any cache created by configure (rm config.cache) and re-run
configure and make.

Chet



-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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