1
0
Prechádzať zdrojové kódy

Added note to Bash regarind interactive vs non-interactive shell invocation

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2693 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley 22 rokov pred
rodič
commit
8adcd4c4be
2 zmenil súbory, kde vykonal 9 pridanie a 0 odobranie
  1. 4 0
      chapter01/changelog.xml
  2. 5 0
      chapter06/bash-inst.xml

+ 4 - 0
chapter01/changelog.xml

@@ -6,6 +6,10 @@
 
 
 <itemizedlist>
 <itemizedlist>
 
 
+<listitem><para>August 28, 2003 [jeremy] - Chapter 06 -
+Bash: Added a note regarding interactive vs non-interactive
+shells.</para></listitem>
+
 <listitem><para>August 28, 2003 [matt] - Updated packages
 <listitem><para>August 28, 2003 [matt] - Updated packages
 to linux-2.4.22, man-pages-1.60, expect-5.39.0,
 to linux-2.4.22, man-pages-1.60, expect-5.39.0,
 findutils-4.1.20 and tcl-8.4.4</para></listitem>
 findutils-4.1.20 and tcl-8.4.4</para></listitem>

+ 5 - 0
chapter06/bash-inst.xml

@@ -3,6 +3,11 @@
 <sect2>
 <sect2>
 <title>Installation of Bash</title>
 <title>Installation of Bash</title>
 
 
+<para>Bash has different default behavior when called as an interactive and
+a 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 
 <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 following
 way it is expected at times. Fix this behaviour with the following
 patch:</para>
 patch:</para>