LFS6.5 - Bash question

David Shaw dj.shaw at btconnect.com
Thu Mar 4 04:14:42 PST 2010


Chris Staub wrote:
> On 03/03/2010 04:07 AM, David Shaw wrote:
>   
>> After compiling Bash in chapter 6 and switching to using the new
>> version, I've noticed that long commands, instead of wrapping to the
>> next line, scroll off the left hand edge of the screen.
>>
>> How do I restore the former, wrapping behaviour?  I've had a look at the
>> manpage for bash and tried googling for information, but can't see what
>> I'm looking for.
>>
>> Many thanks,
>>
>> David Shaw
>>     
>
> This is the typical result when Ncurses is not installed, causing Bash 
> to use its own internal version. I'd check whether you've got Ncurses 
> and Readline correctly installed...
>
> ls -l /{usr/,}lib/lib*{readline,curses}*
>   


root:/# ls -l /{usr/,}lib/lib*{readline,curses}*
lrwxrwxrwx 1 root root     18 Feb 25 00:27 /lib/libncursesw.so.5 -> 
libncursesw.so.5.7
-rwxr-xr-x 1 root root 341934 Feb 25 00:27 /lib/libncursesw.so.5.7
lrwxrwxrwx 1 root root     18 Feb 27 02:45 /lib/libreadline.so.6 -> 
libreadline.so.6.0
-r-xr-xr-x 1 root root 495550 Feb 27 02:45 /lib/libreadline.so.6.0
lrwxrwxrwx 1 root root     12 Feb 25 00:34 /usr/lib/libcurses.a -> 
libncurses.a
lrwxrwxrwx 1 root root     13 Feb 25 00:35 /usr/lib/libcurses.so -> 
libncurses.so
lrwxrwxrwx 1 root root     13 Feb 25 00:34 /usr/lib/libcursesw.a -> 
libncursesw.a
-rw-r--r-- 1 root root     18 Feb 25 00:33 /usr/lib/libcursesw.so
lrwxrwxrwx 1 root root     15 Feb 25 00:32 /usr/lib/libncurses++.a -> 
libncurses++w.a
-rw-r--r-- 1 root root 144480 Feb 25 00:27 /usr/lib/libncurses++w.a
lrwxrwxrwx 1 root root     13 Feb 25 00:32 /usr/lib/libncurses.a -> 
libncursesw.a
-rw-r--r-- 1 root root     17 Feb 25 00:32 /usr/lib/libncurses.so
-rw-r--r-- 1 root root 476978 Feb 25 00:27 /usr/lib/libncursesw.a
lrwxrwxrwx 1 root root     16 Feb 25 00:27 /usr/lib/libncursesw.so -> 
libncursesw.so.5
-rw-r--r-- 1 root root 675644 Feb 27 02:45 /usr/lib/libreadline.a
lrwxrwxrwx 1 root root     26 Feb 27 02:47 /usr/lib/libreadline.so -> 
../../lib/libreadline.so.6


Not entirely sure what I'm looking for, so I don't know whether that's 
right or not.

David



More information about the lfs-support mailing list