Преглед изворни кода

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 година
родитељ
комит
8adcd4c4be
2 измењених фајлова са 9 додато и 0 уклоњено
  1. 4 0
      chapter01/changelog.xml
  2. 5 0
      chapter06/bash-inst.xml

+ 4 - 0
chapter01/changelog.xml

@@ -6,6 +6,10 @@
 
 <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
 to linux-2.4.22, man-pages-1.60, expect-5.39.0,
 findutils-4.1.20 and tcl-8.4.4</para></listitem>

+ 5 - 0
chapter06/bash-inst.xml

@@ -3,6 +3,11 @@
 <sect2>
 <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 
 way it is expected at times. Fix this behaviour with the following
 patch:</para>