| 1234567891011121314151617181920212223242526272829303132333435363738 | <sect2><title> </title><para> </para></sect2><sect2><title>Installation of Bash</title><para>Bash has different default behavior when called as an interactive anda non-interactive shell.  It is possible to change this by opening the config-top.h file and commenting out the line:</para><para><filename>#define NON_INTERACTIVE_LOGIN_SHELLS</filename></para><para>Bash has a number of bugs in it that cause it to not behave the way it is expected at times. Fix this behaviour with the followingpatch:</para><para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para><para>Prepare Bash for compilation:</para><para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para><para>Compile the package:</para><para><screen><userinput>make</userinput></screen></para><para>Test the results:</para><para><screen><userinput>make tests</userinput></screen></para><para>Install the package:</para><para><screen><userinput>make install</userinput></screen></para><para>And reload the newly compiled <userinput>bash</userinput> program:</para><para><screen><userinput>exec /bin/bash --loginset +h</userinput></screen></para></sect2>
 |