Re: Memory leak in wait

2014-11-07 Thread Jean Delvare
Hi Chet, Thanks for the fast reply and the explanations, very appreciated. On Thu, 06 Nov 2014 20:57:11 -0500, Chet Ramey wrote: > On 11/6/14 8:09 AM, Jean Delvare wrote: > > A memory leak has been reported in a bash script I maintain [1]. After > > investigation, I was able to shrink the test ca

Re: PROMPT_COMMAND='history -a; history -n' causes shell hang in OX 10.10 Yosemite / bash 3.2.53

2014-11-07 Thread Piotr Grzybowski
On Thu, Nov 6, 2014 at 3:15 PM, Chet Ramey wrote: > > There is no "standard ipc" except pipes across the range of systems bash > runs on. thanks. good to know, before I open the flood gate of git commits ;-) can I assume that this includes named pipes? cheers, pg

Re: PROMPT_COMMAND='history -a; history -n' causes shell hang in OX 10.10 Yosemite / bash 3.2.53

2014-11-07 Thread Eric Blake
On 11/07/2014 12:23 PM, Piotr Grzybowski wrote: > On Thu, Nov 6, 2014 at 3:15 PM, Chet Ramey wrote: >> >> There is no "standard ipc" except pipes across the range of systems bash >> runs on. > > thanks. good to know, before I open the flood gate of git commits ;-) > can I assume that this inclu

Re: [PATCH] Support configurable mode strings in prompt

2014-11-07 Thread alex . ford
On Thursday, September 4, 2014 5:22:58 AM UTC-6, Dylan Cali wrote: > Hi Chet, > > Just curious if it will be possible to merge this enhancement? > > Thanks, > Dylan This is what it looks like right now. It's still really helpful as is, but it doesn't really fit in with the theme I was going for

Re: [PATCH] Support configurable mode strings in prompt

2014-11-07 Thread alex . ford
On Thursday, September 4, 2014 7:00:16 AM UTC-6, Chet Ramey wrote: > On 9/4/14, 7:22 AM, Dylan Cali wrote: > > Hi Chet, > > > > Just curious if it will be possible to merge this enhancement? > > I haven't looked at it yet. > > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer >

Re: PROMPT_COMMAND='history -a; history -n' causes shell hang in OX 10.10 Yosemite / bash 3.2.53

2014-11-07 Thread Piotr Grzybowski
On Fri, Nov 7, 2014 at 1:26 PM, Eric Blake wrote: > > Named pipes (aka fifos) are notorious for being buggy on Cygwin and > non-available on mingw. thanks Eric. good news. so this means, that shared history can only be implemented using regular files. is that right? cheers, pg

Re: PROMPT_COMMAND='history -a; history -n' causes shell hang in OX 10.10 Yosemite / bash 3.2.53

2014-11-07 Thread Graham Jones
Guys thanks so much for taking this discussion further than just the reported bug that prevented the existing workaround. I’ve often considered putting this work in myself but wasn’t sure what the reason was for this not being in bash already and if there was an architectural difficulty with im

Re: [PATCH] Support configurable mode strings in prompt

2014-11-07 Thread Dylan Cali
On Thu, Nov 6, 2014 at 11:53 PM, wrote: > I hope this gets merged in soon. I love the bash vi mode and I love the > realtime mode indicator that we now have with show-mode-in-prompt. If I could > customize that portion of my command line I could add that portion of the > prompt in a much more

Re: Memory leak in wait

2014-11-07 Thread Chet Ramey
On 11/7/14, 3:49 AM, Jean Delvare wrote: > Hi Chet, > > Thanks for the fast reply and the explanations, very appreciated. > > On Thu, 06 Nov 2014 20:57:11 -0500, Chet Ramey wrote: >> On 11/6/14 8:09 AM, Jean Delvare wrote: >>> A memory leak has been reported in a bash script I maintain [1]. After

Re: PROMPT_COMMAND='history -a; history -n' causes shell hang in OX 10.10 Yosemite / bash 3.2.53

2014-11-07 Thread Piotr Grzybowski
Good point Graham, definitely good place to start. If you are interested we can discuss further, privately. Mainly because I want to say some nasty things about implementing sharing and locking resources withouth ipc. :)) cheers, pg On Fri, Nov 7, 2014 at 1:38 PM, Graham Jones wrote: > Guys

bash version: 4.3.27(1) and .bashrc / .bash_profile

2014-11-07 Thread jmiguel . rodriguez
Hi all! I patched 4 servers some weeks ago ( bash version: 4.3.27(1) ) following the https://shellshocker.net/ guide (which it's a simple easy way for downloading https://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz plus patches and compile it) Today I realized some processes were not working as expe