Prompt color reset after using arrow keys

2024-08-07 Thread Gioele Barabucci
Hi, in bash 5.2.21 the following PS1 assignment PS1=$'\[\e[0;34;42m\]'$(printf x%.0s {1..111})$'\[\e[0m\]\$ ' should make the prompt a long list of "x", displayed in blue on a red background. This is in fact the case. However, if the terminal window is smaller than 111 characters and, t

Re: whats wrong , exit code 11 on android termux

2024-08-07 Thread alex xmb sw ratchev
okay ill look i suggest u add release version patch ? thxx .. greets .. On Wed, Aug 7, 2024, 21:52 Chet Ramey wrote: > On 8/7/24 3:51 PM, alex xmb sw ratchev wrote: > > that means .. its in devel patch ? cause its 2023 .. > > Yes, it's in devel and has been since June, 2023. > > -- > ``The lyf

Re: whats wrong , exit code 11 on android termux

2024-08-07 Thread Chet Ramey
On 8/7/24 3:51 PM, alex xmb sw ratchev wrote: that means .. its in devel patch ? cause its 2023 .. Yes, it's in devel and has been since June, 2023. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU

Re: whats wrong , exit code 11 on android termux

2024-08-07 Thread alex xmb sw ratchev
that means .. its in devel patch ? cause its 2023 .. On Wed, Aug 7, 2024, 21:43 Chet Ramey wrote: > On 8/7/24 1:14 PM, alex xmb sw ratchev wrote: > > mr chet .. any answer to this .. > > You already saw the right answer. > > https://lists.gnu.org/archive/html/bug-bash/2024-08/msg00040.html > > -

Re: whats wrong , exit code 11 on android termux

2024-08-07 Thread Chet Ramey
On 8/7/24 1:14 PM, alex xmb sw ratchev wrote: mr chet .. any answer to this .. You already saw the right answer. https://lists.gnu.org/archive/html/bug-bash/2024-08/msg00040.html -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippo

Re: 'wait -n' with and without id arguments

2024-08-07 Thread Zachary Santer
On Wed, Aug 7, 2024 at 11:06 AM Chet Ramey wrote: > > On 7/31/24 11:40 AM, Zachary Santer wrote: > > > > I think I was missing more than that. Was the original 'wait -n' > > discussion from January specific to its use within the interactive > > shell? > > No, it was due to processes exiting due to

Re: whats wrong , exit code 11 on android termux

2024-08-07 Thread alex xmb sw ratchev
mr chet .. any answer to this .. On Tue, Aug 6, 2024, 20:18 alex xmb sw ratchev wrote: > ~ $ alias tm='timemark+=( $EPOCHREALTIME )' > ~ $ tm > > [Process completed (signal 11) - press Enter] > > btw is it to send to bug and help .. ? >

Re: waiting for process substitutions

2024-08-07 Thread Zachary Santer
On Wed, Aug 7, 2024 at 10:27 AM Chet Ramey wrote: > > On 8/5/24 11:00 PM, Zachary Santer wrote: > > On Mon, Aug 5, 2024 at 5:10 PM Chet Ramey wrote: > >> > >> But in the end, if you're waiting for a process that isn't going to > >> terminate, you're going to be waiting for a long time. > > > > So

Re: 'wait -n' with and without id arguments

2024-08-07 Thread Chet Ramey
On 7/31/24 11:40 AM, Zachary Santer wrote: On Fri, Jul 26, 2024 at 10:37 AM Chet Ramey wrote: On 7/20/24 1:50 PM, Zachary Santer wrote: 'wait' without -n or pid arguments doesn't look in the list of saved pids and statuses simply because it would serve no purpose for it to do so. The return

Re: proposed BASH_SOURCE_PATH

2024-08-07 Thread Chet Ramey
On 8/6/24 3:09 AM, konsolebox wrote: I just saw the new changes and tested it. It's not useful because BASH_SOURCE still expands to the relative form after `shopt -s bash_source_fullpath` is executed in the main script. You mean for the paths that were added to BASH_SOURCE before setting the

Re: waiting for process substitutions

2024-08-07 Thread Chet Ramey
On 8/5/24 11:00 PM, Zachary Santer wrote: On Mon, Aug 5, 2024 at 5:10 PM Chet Ramey wrote: But in the end, if you're waiting for a process that isn't going to terminate, you're going to be waiting for a long time. So, even with wait without id arguments restricted to the final procsub, if it

Re: 'wait -n' with and without id arguments

2024-08-07 Thread Chet Ramey
On 7/31/24 11:40 AM, Zachary Santer wrote: Thanks for your updates to the manual. "Wait for each specified child process id and return the termination status of the last id." Would it be better to say "Wait for each specified child process id and return the termination status of the last id arg

Re: Potentially misleading documentation of SECONDS variable

2024-08-07 Thread Chet Ramey
On 8/7/24 10:10 AM, G. Branden Robinson wrote: At the risk of splitting hairs, I would cast the added phrase as: "at a resolution of one second". I used "one-second resolution," actually. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevi

Re: Potentially misleading documentation of SECONDS variable

2024-08-07 Thread G. Branden Robinson
At 2024-08-07T10:07:23-0400, Chet Ramey wrote: > On 8/6/24 12:25 PM, Koichi Murase wrote: > > > diff --git a/doc/bash.1 b/doc/bash.1 > > index 1f0a23d3..3ace21e9 100644 > > --- a/doc/bash.1 > > +++ b/doc/bash.1 > > @@ -2091,7 +2091,7 @@ the value returned upon subsequent > > references is > >

Re: Potentially misleading documentation of SECONDS variable

2024-08-07 Thread Chet Ramey
On 8/6/24 12:25 PM, Koichi Murase wrote: diff --git a/doc/bash.1 b/doc/bash.1 index 1f0a23d3..3ace21e9 100644 --- a/doc/bash.1 +++ b/doc/bash.1 @@ -2091,7 +2091,7 @@ the value returned upon subsequent references is the number of seconds since the assignment plus the value assigned. The num