[blfs-support] Wrong prompt and "file not found" with xterm - BLFS 7.6
delgarde at ihug.co.nz
Tue Dec 16 14:56:29 PST 2014
On 17/12/2014 10:40, rhubarbpieguy at gmail.com wrote:
> My BLFS 7.6 xterm window displays the wrong prompt, doesn't recognize
> aliases, and doesn't allow sourcing scripts. Its prompt is "sh-4.3"
> although I have PS1="/w >" in /etc/bashrc. Aliases don't execute and
> attempting to source a script results in "file not found."
Whatever the cause is, the effect seems to be that you're not running
bash-as-bash, you're running bash-as-sh... it's not reading bash config
files, not recognising bash commands, etc. Something is presumably
causing bash to run in backward mode, as if invoked as /bin/sh...
More information about the blfs-support