bash & bash-completion
Rong-En Fan
rafan at infor.org
Thu Apr 6 12:57:21 UTC 2006
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
More information about the freebsd-ports
mailing list