Re: Bug in bash 4.3.30 with --disable-job-control

2015-06-10 Thread Chet Ramey
On 6/10/15 12:55 PM, Eduardo A. Bustamante López wrote: > Notice that it doesn't happen if you don't use the interactive mode. Thanks. This might be the key. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS

Re: Bug in bash 4.3.30 with --disable-job-control

2015-06-10 Thread Eduardo A . Bustamante López
On Wed, Jun 10, 2015 at 11:00:51AM -0400, Chet Ramey wrote: > On 6/2/15 1:07 PM, Roy Keene wrote: > > All, > > > > There is a bug of some sort in bash 4.3.30 (and likely others) when > > compiled with --disable-job-control on Linux/x86_64. > > I can't reproduce this on RHEL 6 or Fedora 22 wit

Re: Bug in bash 4.3.30 with --disable-job-control

2015-06-10 Thread Chet Ramey
On 6/2/15 1:07 PM, Roy Keene wrote: > All, > > There is a bug of some sort in bash 4.3.30 (and likely others) when > compiled with --disable-job-control on Linux/x86_64. I can't reproduce this on RHEL 6 or Fedora 22 with bash-4.3.39. -- ``The lyf so short, the craft so long to lerne.'' - Ch

[PATCH] document the -p invocation flag

2015-06-10 Thread Adam Endrodi
--- bash-4.2/doc/bash.1.orig2015-06-10 15:09:04.0 +0200 +++ bash-4.2/doc/bash.1 2015-06-10 15:19:55.0 +0200 @@ -117,6 +117,18 @@ This option allows the positional parameters to be set when invoking an interactive shell. .TP +.B \-p +If the +.B \-p +is +.B not +present and th

Please improve documentation of "history -a"

2015-06-10 Thread Reuben Thomas
At least in bash 4.3, the documentation for history -a says: Append the new history lines (history lines entered since the beginning of the current Bash session) to the history file. This is unfortunately misleading, since it suggests that the technique of adding "history -a"

Re: Finding the last foreground command in the current session

2015-06-10 Thread Stephane Chazelas
2015-06-09 19:44:44 +, Debarshi Ray: > Hey Stephane, > > On Fri, May 22, 2015 at 02:38:31PM +0100, Stephane Chazelas wrote: > > Can you not just do a tcgetpgrp() periodically > > If by "periodically" you mean "polling", then no, I don't want to do > that. I know a few terminal emulators do t