Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-14-2010, 10:32 PM
|
#16
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Original Poster
|
set | grep -i input comes up null
|
|
|
09-15-2010, 01:42 AM
|
#17
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
Hi,
How about the other point I mentioned in post #15 (permissions of /etc/inputrc)??
Another thing that comes to mind: Did you create the /etc/profile.d/readline.sh file as mentioned here? (halfway down the page).
BTW: Most of the files mentioned in The Bash Shell Startup Files are needed for a smooth bash experience.
Hope this helps.
|
|
|
09-15-2010, 02:16 AM
|
#18
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Original Poster
|
hmm that sort of helped but now it wraps to the second line, pushes the prompt off the left side of the screen in the process, and then scrolls on into infinity on the second line
|
|
|
09-15-2010, 02:38 AM
|
#19
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
Hi,
I get the feeling that not everything bash related is (correctly?) installed (yet?). Which chapters did you do and which (parts of) chapters did you skip? Most of BLFS chapter 3 should be done already.
Don't focus on X at the moment. Log out and log in into a normal console and check if all the files needed are actually present, have the correct content and permissions. I'm especially referring to the The Bash Shell Startup Files chapter, but you need to check the others too.
For example:
- Is horizontal-scroll-mode still set to off,
- Are /etc/profile and /etc/bashrc present and correct,
- etc.
Hope this helps.
|
|
|
09-15-2010, 10:07 AM
|
#20
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Original Poster
|
hmm well i went back and did the bash shell files and thats what got me to the above part
yes there is a /etc/profile
and yes there is a /etc/bashrc
are they correct? well as correct as they can be having copy/pasted the echo << .. EOF statements into an xterminal
and yes horiz scroll mode is still off
|
|
|
09-15-2010, 10:43 AM
|
#21
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
Hi,
Quote:
yes there is a /etc/profile
and yes there is a /etc/bashrc
are they correct? well as correct as they can be having copy/pasted the echo << .. EOF statements into an xterminal
|
Did you actually check the content or assumed all was well after the copy-paste........
How did you copy and paste from an xterminal at that stage? X wasn't installed yet, you only have the CLI terminal to work with at that time. Or did you redo this chapter just now? As I already mentioned in post #19: Don't focus on X at the moment. Do all your editing, checking and debugging from the CLI. X is just an extra layer of uncertainty at the moment and it might not even work correctly due to the bash environment that seems to be incomplete and/or incorrect.
I hope it is the way you communicate, but I get the feeling that you haven't been checking much yourself. You only give short (half) answers to questions asked. For example: It seemed that you did not have the /etc/profile.d/readline.sh in place (I cannot be sure because this was your answer: hmm that sort of helped). Was it present but not correct, was it missing are any of the other files missing in /etc/profile.d?
What do you mean by this:
Quote:
hmm well i went back and did the bash shell files and thats what got me to the above part
|
If I read that correctly it says: I did that part already and that is what got me in trouble in the first place. But that cannot be correct, we did find one error already......
Please elaborate a bit more and try to be as detailed as possible.
Not to much to go on, but hope's it helps anyway!
|
|
|
09-16-2010, 11:14 PM
|
#22
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Original Poster
|
there, i attached a file with the contents of my inputrc and my profile.d scripts
and a copy of the output of 'set'
|
|
|
All times are GMT -5. The time now is 05:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|