Re: ! in PS1 in posix mode

2015-10-15 Thread Bob Proulx
Linda Walsh wrote: > Haven't used ksh for some timeI thought the '!' stuff came > from csh? It seemed so pointless, since having to look up > things by command number I thought, was way too much work... searching > via a string in the line seemed so much faster... You are not thinking about t

Re: updating shopt compat settings to include current version

2015-10-15 Thread Mike Frysinger
On 15 Oct 2015 16:06, Chet Ramey wrote: > On 10/15/15 3:27 PM, Mike Frysinger wrote: > > our build environment relies heavily on bash. in our ebuild standard, we > > declare the min version of bash that is supported (3.2 currently). this > > way we don't have people using features found only in n

Re: updating shopt compat settings to include current version

2015-10-15 Thread Linda Walsh
Mike Frysinger wrote: our build environment relies heavily on bash. in our ebuild standard, we declare the min version of bash that is supported (3.2 currently). this way we don't have people using features found only in newer versions and breaking on systems with older versions of bash. -

Re: updating shopt compat settings to include current version

2015-10-15 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/15/15 3:27 PM, Mike Frysinger wrote: > On 15 Oct 2015 14:28, Chet Ramey wrote: >> On 10/15/15 1:34 PM, Mike Frysinger wrote: >>> with bash-4.0, new compat options were introduced: >>> shopt -s compat32 You've picked the story up in the middl

[PATCH] Remove bash.pc in distclean, not clean

2015-10-15 Thread Andreas Schwab
diff --git a/support/Makefile.in b/support/Makefile.in index 905cc10..9ed7021 100644 --- a/support/Makefile.in +++ b/support/Makefile.in @@ -80,9 +80,9 @@ man2html$(EXEEXT): $(OBJ1) clean: $(RM) man2html$(EXEEXT) - $(RM) bash.pc distclean maintainer-clean mostlyclean: clean

Re: updating shopt compat settings to include current version

2015-10-15 Thread Mike Frysinger
On 15 Oct 2015 14:28, Chet Ramey wrote: > On 10/15/15 1:34 PM, Mike Frysinger wrote: > > with bash-4.0, new compat options were introduced: > > shopt -s compat32 > > and with bash-4.3, a variable was added: > > export BASH_COMPAT=3.2 > > > > but things get a little weird when you want to s

Re: updating shopt compat settings to include current version

2015-10-15 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/15/15 1:34 PM, Mike Frysinger wrote: > with bash-4.0, new compat options were introduced: > shopt -s compat32 > and with bash-4.3, a variable was added: > export BASH_COMPAT=3.2 > > but things get a little weird when you want to set

Re: updating shopt compat settings to include current version

2015-10-15 Thread Linda Walsh
Mike Frysinger wrote: with bash-4.0, new compat options were introduced: shopt -s compat32 and with bash-4.3, a variable was added: export BASH_COMPAT=3.2 shopt -p|grep compat43 # (no output) --- Maybe if you could check if there is a compat setti

updating shopt compat settings to include current version

2015-10-15 Thread Mike Frysinger
with bash-4.0, new compat options were introduced: shopt -s compat32 and with bash-4.3, a variable was added: export BASH_COMPAT=3.2 but things get a little weird when you want to set the compat level to the current version: $ echo $BASH_VERSION 4.3.42(1)-release

Re: Bash-4.4-beta available for FTP

2015-10-15 Thread Greg Wooledge
On Thu, Oct 15, 2015 at 11:23:35AM -0400, Greg Wooledge wrote: > Building on HP-UX 10.20 with gcc 3.3: > [...] > casemod.c:133: error: `mb_cur_max' undeclared (first use in this function) FYI it compiles out of the box on HP-UX 11.11 with gcc 4.2.4.

Re: Bash-4.4-beta available for FTP

2015-10-15 Thread Greg Wooledge
On Thu, Oct 15, 2015 at 10:23:21AM -0400, Chet Ramey wrote: > The first beta release of bash-4.4 is now available with the URL > > ftp://ftp.cwru.edu/pub/bash/bash-4.4-beta.tar.gz Building on HP-UX 10.20 with gcc 3.3: imadev:/var/tmp/bash/bash-4.4-beta$ CC=/net/appl/gcc-3.3/bin/gcc ./configure [

Re: Running procs in bg, +Ctl-C, then Ctl-C again after they complete + NL==?

2015-10-15 Thread Chet Ramey
On 10/15/15 10:28 AM, Chet Ramey wrote: > On 10/15/15 1:05 AM, Linda Walsh wrote: > >> Was just playing around seeing how the sigint >> being ignored in children acted. wrote short >> function: This behavior seems limited to testing >> this as a foregnd function, not a shell script. >> I.e, sour

Re: Running procs in bg, +Ctl-C, then Ctl-C again after they complete + NL==?

2015-10-15 Thread Chet Ramey
On 10/15/15 1:05 AM, Linda Walsh wrote: > Was just playing around seeing how the sigint > being ignored in children acted. wrote short > function: This behavior seems limited to testing > this as a foregnd function, not a shell script. > I.e, sourcing the function, then > execute the function:

Bash-4.4-beta available for FTP

2015-10-15 Thread Chet Ramey
The first beta release of bash-4.4 is now available with the URL ftp://ftp.cwru.edu/pub/bash/bash-4.4-beta.tar.gz This tar file includes the formatted documentation (you should be able to generate updated versions yourself). This release fixes many outstanding bugs in bash-4.3 and introduces sev