On Tue, Apr 01, 2014 at 06:15:05PM -0500, rhubarbpie...@gmail.com wrote: > > My BLFS 7.5 xterm displays a “sh-4.2#” prompt. My xterm prompt in BLFS > 7.4 is “/ >” and “PS1=”\w > “ is in my BLFS 7.5 /etc/bashrc file. In > addition to the wrong prompt, I can't “source” scripts, and receive > “file not found.” LFS 7.5 seems to be working fine, with the correct > prompt and without “file not found” or sourcing problems. > > I've apparently done something wrong with X. I've re-read the > documentation but am flat-out not seeing my error. What should I check?
Since you are running as root (the '#' in the prompt), check root's .bashrc (if it exists) and .bash_login. In particular, check anything setting the path. Also, if bash is invoked as 'sh' the behaviour is apparently different. See the "source filename" explanation in 'man bash'. Alternatively, perhaps ~/ (i.e. /root) is not writable by root. Or even not readable. I was going to suggest you checked that '/' and '/tmp' were not full [ that would be 100% full for root, including any reserved space ], but I guess that if X starts then it has managed to write in /tmp. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page