Re: [Fwd: Re: [Fwd: SIGTTIN when exec-ing from .profile/.bashrc]]
From:
Chet Ramey
Subject:
Re: [Fwd: Re: [Fwd: SIGTTIN when exec-ing from .profile/.bashrc]]
Date:
Thu, 12 Jul 2001 11:05:57 -0400
> it's a console login under solaris 5.5.1. my default shell is bash 2.01.1(1).
> my .bash_profile says:
>
> if [ ${BASH_VERSINFO[1]} -lt 5]; then exec ~/local/bin/bash --login "$@"
>
> and ~/local/bin/bash is 2.05.0(1). not sure what /usr/bin/login does under
> solaris 2.5.1.
>
> what was the patch (the code fragment listed earlier) supposed to do?
It fixed the problem in `exec' that caused the terminal process group to
be set incorrectly. That problem existed, I presume, as far back as
bash-2.01.1 and possibly earlier.
Since the problem is in bash-2.01.1, you will have to upgrade your login
shell to get it fixed.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/