Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: Chet Ramey Newsgroups: gnu.bash.bug Subject: Re: $PS0 patch Date: Thu, 29 Oct 2015 19:35:24 -0400 Organization: ITS, Case Western Reserve University Lines: 19 Approved: bug-bash@gnu.org Message-ID: References: Reply-To: chet.ramey@case.edu NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1446161734 7155 208.118.235.17 (29 Oct 2015 23:35:34 GMT) X-Complaints-To: action@cs.stanford.edu Cc: Dan Stromberg , chet.ramey@case.edu To: Dan Stromberg , Bash - Bug Envelope-to: bug-bash@gnu.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.5632AD3D.005E,ss=1,re=0.000,fgs=0, ip=173.191.75.166, so=2015-08-12 04:07:17, dmn=2011-05-27 18:58:46 X-Mirapoint-Loop-Id: 96c7a8fd8c9cbc97420894a9831bf583 X-Junkmail-Whitelist: YES (by domain whitelist at mpv1-2015.case.edu) X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.5632AD3D.00F2,ss=1,re=0.000,fgs=0, ip=173.191.75.166, so=2015-08-12 04:07:17, dmn=2011-05-27 18:58:46 X-Mirapoint-Loop-Id: b20caaff2039adee96455ec6d20e6a4d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 129.22.103.226 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11799 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/