cursor control in console

Dan Nicholson dbn.lists at gmail.com
Tue Oct 7 09:41:14 PDT 2008


On Tue, Oct 7, 2008 at 9:34 AM, Scott Castaline <hscast at charter.net> wrote:
>>
> both ldd /bin/bash & ldd /bin/sh get the following responses:
>
> linux-gat.so.1 => (0xffffe000)
> libdl.so.2 => /lib/libdl.so.2 (0xb7ee5000)
> libc.so.6 => /lib/libc.so.6 (0x7dbe000)
> /lib/ld-linux.so.2 (0xb7ef6000)

Bash isn't using readline, although I suppose it would be using it's
own internal copy in that case.

$ ldd /bin/bash
        linux-gate.so.1 =>  (0xb7f84000)
        libreadline.so.5 => /lib/libreadline.so.5 (0xb7f3d000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7f39000)
        libc.so.6 => /lib/libc.so.6 (0xb7df6000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7da9000)
        /lib/ld-linux.so.2 (0xb7f85000)

You may want to rebuild bash and make sure you use the
--with-installed-readline option. Again, that might not be a big deal
since bash should be using readline one way or another. Also, ensure
that you've setup /etc/inputrc or ~/.inputrc as described here:

http://www.linuxfromscratch.org/lfs/view/development/chapter07/inputrc.html

--
Dan



More information about the blfs-support mailing list