Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2006 20:57:15 +0800
From:      Rong-En Fan <rafan@infor.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: bash & bash-completion
Message-ID:  <20060406125715.GA6038@svm.csie.ntu.edu.tw>
In-Reply-To: <p06230902c05a7b3abf50@[128.113.24.47]>
References:  <20060405193514.GA71781@svm.csie.ntu.edu.tw> <p06230902c05a7b3abf50@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 06, 2006 at 04:06:34AM -0400, Garance A Drosihn wrote:
> At 3:35 AM +0800 4/6/06, Rong-En Fan wrote:
> >Hi folks,
> >
> >I have bash-3.1.10_1 and bash-completion-20060301 installed on
> >a 6-STABLE box. However, each time when I want to use <tab>
> >to completion a name, some wired things will happen:
> >
> >$ ls ~/out<TAB>
> >$ ls /home/rafan/output/<ENTER>
> >$
> >
> >See, nothing happens. If I continue
> >
> >$ <UP-ARROW>
> >$ ls /home/rafan/output/<ENTER>
> >>
> >
> >PS2 shows up. If I hit ^C and did a <UP-ARROW> again
> >
> >$ ls /home/rafan/output/; ls /home/rafan/output/
> >
> >That's really wired. I have tried to remove all my .bash*,
> >.profile, .shrc, .inputrc away and login, source bash_completion.
> >The situation is the same.
> 
> Which version of bash?

As I said, it is bash-3.1.10_1, which is the latest in the ports
tree.

> There have been times when the bash port compiles itself
> into a version-skew problem.  Some versions of bash use a
> different version of readline than the base system uses.
> In some cases, the code which is supposed to handle this
> does not make the right decision, and it *compiles* with
> one version of readline.h, but *links* to the library-form
> of a different version.

I'm a bit confused, ldd shows

/usr/local/bin/bash:
        libncurses.so.6 => /lib/libncurses.so.6 (0x2810e000)
        libintl.so.6 => /usr/local/lib/libintl.so.6 (0x2814f000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28158000)
        libc.so.6 => /lib/libc.so.6 (0x2824c000)

I don't see it links to libreadline?

Regards,
Rong-En Fan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060406125715.GA6038>