Re: My script makes a defunct subshell and sticks on read

2018-01-30 Thread Øyvind Hvidsten
On 30/01/18 22:51, Chet Ramey wrote: On 1/30/18 3:04 PM, Øyvind Hvidsten wrote: Bash Version: 4.4 Patch Level: 12 Release Status: release Description:     Running the included script, which does nothing useful but is cut down a lot to demonstrate the issue, my main computer (amd64 based)

Re: My script makes a defunct subshell and sticks on read

2018-01-30 Thread Chet Ramey
On 1/30/18 3:04 PM, Øyvind Hvidsten wrote: > Bash Version: 4.4 > Patch Level: 12 > Release Status: release > > Description: >     Running the included script, which does nothing useful but is cut down > a lot to demonstrate the issue, my main computer (amd64 based) counts to > several million,

My script makes a defunct subshell and sticks on read

2018-01-30 Thread Øyvind Hvidsten
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale'

Re: error: ‘eval_builtin’ undeclared

2018-01-30 Thread Chet Ramey
On 1/30/18 2:07 PM, Larissa Braz wrote: > I was running it using Ubuntu 14.04 LTS. I used the README instructions: > "To compile Bash, type `./configure', then `make'. " > > git clone http://git.savannah.gnu.org/git/bash > > ./configure > make >   > >

Re: error: ‘eval_builtin’ undeclared

2018-01-30 Thread Larissa Braz
Hi, 2018-01-30 12:01 GMT-03:00 Chet Ramey : > On 1/30/18 8:51 AM, Chet Ramey wrote: > > > So if there's a problem with this kind of thing in gcc-4.8, I'd like to > > get some more information about what it is. > > I was running it using Ubuntu 14.04 LTS. I used the README

Re: error: ‘eval_builtin’ undeclared

2018-01-30 Thread Chet Ramey
On 1/30/18 8:51 AM, Chet Ramey wrote: > So if there's a problem with this kind of thing in gcc-4.8, I'd like to > get some more information about what it is. There doesn't seem to be. Running these commands on an ubuntu 14.04 system with gcc-4.8 results in a working bash binary: git clone

Re: error: ‘eval_builtin’ undeclared

2018-01-30 Thread Chet Ramey
On 1/30/18 8:44 AM, Chet Ramey wrote: >> > I found the error bellow when I tried to compile the code. >> > >> > execute_cmd.c:4293:14: error: ‘eval_builtin’ undeclared (first use in >> this >> > function) >> >> That's interesting, since none of the patches mention

Re: anomalous behaviour of ls command

2018-01-30 Thread Ilkka Virta
On 30.1. 20:54, ken young wrote: I have a directory with four files A Z a z only. "ls [A-Z]" displays only 3 files A Z z ;a is missing "ls [a-z]" displays only 3 files A a z ;Z is missing Basically, your locale orders the letters as aAbBcC...yYzZ, so Z

Re: error: ‘eval_builtin’ undeclared

2018-01-30 Thread Chet Ramey
On 1/30/18 8:39 AM, Larissa Braz wrote: > > 2018-01-30 10:34 GMT-03:00 Chet Ramey >: > > On 1/30/18 8:10 AM, Larissa Braz wrote: > > Bash version: last commit in repository ( > > http://git.savannah.gnu.org/cgit/bash.git >

Re: error: ‘eval_builtin’ undeclared

2018-01-30 Thread Larissa Braz
2018-01-30 10:34 GMT-03:00 Chet Ramey : > On 1/30/18 8:10 AM, Larissa Braz wrote: > > Bash version: last commit in repository ( > > http://git.savannah.gnu.org/cgit/bash.git) > > GCC version: gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) > > > > Hi, > > I found the error

Re: error: ‘eval_builtin’ undeclared

2018-01-30 Thread Chet Ramey
On 1/30/18 8:10 AM, Larissa Braz wrote: > Bash version: last commit in repository ( > http://git.savannah.gnu.org/cgit/bash.git) > GCC version: gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) > > Hi, > I found the error bellow when I tried to compile the code. > > execute_cmd.c:4293:14: error:

Re: anomalous behaviour of ls command

2018-01-30 Thread Greg Wooledge
On Tue, Jan 30, 2018 at 01:54:36PM -0500, ken young wrote: > uname output: Linux Microknoppix 4.12.7-64 #13 SMP PREEMPT Tue Aug 15 > 04:56:38 CEST 2017 x86_64 GNU/Linux > Machine Type: i686-pc-linux-gnu > > Bash Version: 4.4 > Patch Level: 12 > Release Status: release > > I have a

anomalous behaviour of ls command

2018-01-30 Thread ken young
Please find enclosed bashbug file. From: knoppi To: bug-bash@gnu.org,b...@packages.debian.org Subject: [behaviour of ls] Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'

error: ‘eval_builtin’ undeclared

2018-01-30 Thread Larissa Braz
Bash version: last commit in repository ( http://git.savannah.gnu.org/cgit/bash.git) GCC version: gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) Hi, I found the error bellow when I tried to compile the code. execute_cmd.c:4293:14: error: ‘eval_builtin’ undeclared (first use in this function)

Re: Bracketed paste mode breaks cooked mode's tab + backspace

2018-01-30 Thread Phi Debian
Hi Egmont On Tue, Jan 30, 2018 at 9:47 AM, Egmont Koblinger wrote: > Not sure why you don't see this bug. (You have at least v4.4, and > started a new shell after enabling bracketed paste, is that right?) > One theoretical explanation could be that your kernel's tty driver is

Re: Bracketed paste mode breaks cooked mode's tab + backspace

2018-01-30 Thread Egmont Koblinger
Hi Chet, > It seems like adding \r to the end of the sequence to turn off bracketed > paste mode should do the trick. Yup, I confirm that adding \r to BRACK_PASTE_FINI fixes the problem, this looks the simplest approach. cheers, egmont

Re: Bracketed paste mode breaks cooked mode's tab + backspace

2018-01-30 Thread Egmont Koblinger
Hi Phi, > This is not directly related to bash, it depend on the line discipline > on the tty, I use ^H as erase and got no problems with . For me the same bug occurs after "stty erase ^H" and pressing ^H, too. I would be really surprised if the kernel's logic on backspacing over tabs (which is