Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11799

Re: $PS0 patch

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: $PS0 patch
Date 2015-10-29 19:35 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.1282.1446161733.7904.bug-bash@gnu.org> (permalink)
References <CAEf4Emc81Yg4Ymg98vAAEJurRb4GpKWKGfm2qF0veHfZffwN9Q@mail.gmail.com>

Show all headers | View raw


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 subcommand in a pipeline - it's just once for the thing you typed. 

Thanks for the patch.  It looks like you did it the right way.  This will
probably make it into bash-4.4.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: $PS0 patch Chet Ramey <chet.ramey@case.edu> - 2015-10-29 19:35 -0400

csiph-web