> After some further investigation it turned out that you also need to use
> a function in your bash scripts to reproduce the bug.
>
> I have the following in my .bashrc
> mc () { MC=`/usr/bin/mc -P "$@"`; [ -n "$MC" ] && cd "$MC"; unset MC; }
>
> This was the recommended way for mc to 'remember'
Emil wrote:
Bash runs interactive.
Not the one you traced; see below.
After some further investigation it turned out that you also need to use
a function in your bash scripts to reproduce the bug.
I have the following in my .bashrc
mc () { MC=`/usr/bin/mc -P "$@"`; [ -n "$MC" ] && cd "$MC";
On 11 September 2008, Chet Ramey <[EMAIL PROTECTED]> wrote:
> > On 4 September 2008, Chet Ramey <[EMAIL PROTECTED]> wrote:
> > > > Description:
> > > > Regradless of the huponexit setting ('shopt -s huponexit'
> > > > doesn't
> > > > help) bash does not send SIGHUP to its children
> On 4 September 2008, Chet Ramey <[EMAIL PROTECTED]> wrote:
> > > Description:
> > > Regradless of the huponexit setting ('shopt -s huponexit' doesn't
> > > help) bash does not send SIGHUP to its children when it receives
> > > one
> > > itself. Previous version of bash 3.1.17 w
On 4 September 2008, Chet Ramey <[EMAIL PROTECTED]> wrote:
> > Description:
> > Regradless of the huponexit setting ('shopt -s huponexit' doesn't
> > help) bash does not send SIGHUP to its children when it receives one
> > itself. Previous version of bash 3.1.17 was behaving pro
> Description:
> Regradless of the huponexit setting ('shopt -s huponexit' doesn't
> help) bash does not send SIGHUP to its children when it receives one
> itself. Previous version of bash 3.1.17 was behaving properly
> even with huponexit set to off
>
> Repeat-By:
>
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba