Re: $PS0 patch

2015-10-29 Thread Dan Stromberg
On Thu, Oct 29, 2015 at 4:35 PM, Chet Ramey wrote: > On 10/24/15 10:00 PM, Dan Stromberg wrote: > > > > I've created a small diff against tonight's bash master branch for > > displaying a (single!) prompt after reading a command but before > executing > > said command. > > > > It's kind of like t

Re: $PS0 patch

2015-10-29 Thread Chet Ramey
On 10/29/15 5:03 PM, Dan Stromberg wrote: > > Hello? I sent the message I'm replying to 5 days ago, and no one has replied. Hi. I take these things on a more-or-less FIFO basis, unless there's a serious bug report in the stream. I finished the BASH_ALIASES thing earlier and just got to yours.

Re: $PS0 patch

2015-10-29 Thread Chet Ramey
On 10/24/15 10:00 PM, Dan Stromberg wrote: > > I've created a small diff against tonight's bash master branch for > displaying a (single!) prompt after reading a command but before executing > said command. > > It's kind of like trapping debug, but it doesn't output the prompt once for > each sub

Re: $PS0 patch

2015-10-29 Thread Eduardo A . Bustamante López
On Thu, Oct 29, 2015 at 02:03:50PM -0700, Dan Stromberg wrote: > Hello? I sent the message I'm replying to 5 days ago, and no one has > replied. Hi Dan, the only one with commit access to bash is Chet Ramey. You'll have to wait a bit more than 5 days for him to see and review your patch, since th

Re: $PS0 patch

2015-10-29 Thread Dan Stromberg
Hello? I sent the message I'm replying to 5 days ago, and no one has replied. Is there anyone on the list with commit access for bash? The reason I don't just use trap DEBUG is that trap debug can be prohibitively verbose at times: $ for i in $(seq 5); do echo $((i*3)); done cmd started 2015 Th

Re: $PS0 patch

2015-10-24 Thread Dan Stromberg
I just noticed there's an fprintf buglet in there. I've put a fixed version of at http://stromberg.dnsalias.org/~strombrg/diffs/ps0-diffs - rather than inflict another shar on the list :) Thanks again.

Re: $PS0 patch

2015-10-24 Thread Dan Stromberg
On Sat, Oct 24, 2015 at 7:00 PM, Dan Stromberg wrote: > > > dstromberg@server:~/src/bash/src$ export PS0='fred> > > ' > I have no idea where that second > came from; please ignore it.

$PS0 patch

2015-10-24 Thread Dan Stromberg
I've created a small diff against tonight's bash master branch for displaying a (single!) prompt after reading a command but before executing said command. It's kind of like trapping debug, but it doesn't output the prompt once for each subcommand in a pipeline - it's just once for the thing you t