Re: Unicode range and enumeration support.

2019-12-20 Thread L A Walsh
On 2019/12/18 11:46, Greg Wooledge wrote: To put it another way: you can write code that determines whether an input character $c matches a glob or regex like [Z-a]. (Maybe.) But, you CANNOT write code to generate all of the characters from Z to a This generates characters from decimal 8300

Re: Crash when moving full-width glyphs across lines

2019-12-20 Thread Chet Ramey
On 12/19/19 2:00 PM, Kirill Chibisov wrote: I was able to capture the stack trace under gdb. However you should probably use the following command in it to repro the issue. `set disable-randomization off` The issue happens quite randomly, however the important thing is exit code from bash (139)

Re: Crash when moving full-width glyphs across lines

2019-12-20 Thread Chet Ramey
On 12/16/19 10:37 AM, Christian Dürr wrote: Bash Version: 5.0 Patch Level: 11 Release Status: release Description: Bash will crash when moving full-width unicode glyphs like `こ` across line boundaries. Repeat-By: Paste `https://こんにち` into bash and add whitespace before it until

Re: Fwd: read -t 0 fails to detect input.

2019-12-20 Thread Chet Ramey
On 12/19/19 3:07 PM, Bize Ma wrote: > To: Chester Ramey > > On thu., dec. 19 of 2019 at 12:40, Chet Ramey () wrote: > >> On 12/18/19 6:40 PM, Bize Ma wrote: >> > > > The exit status is 0 if input is available on the specified file >>> descriptor, non-zero otherwise. >> >> Bash-5.0 uses s

Re: Fwd: read -t 0 fails to detect input.

2019-12-20 Thread Greg Wooledge
On Fri, Dec 20, 2019 at 10:40:26AM -0400, Bize Ma wrote: > I am not the one making those comments. I don't have enough C expertise > to neither confirm or deny them. But that also makes me unable to answer to > the > author of the comments in the proper way. I intended to receive something to > cor

Re: Fwd: read -t 0 fails to detect input.

2019-12-20 Thread Bize Ma
On Fri., 20 dec. 2019 at 3:57, Martin Schulte () wrote: > Hello! > > > Could you please comment about this assertions: > > > > 1.- bash will either do a select() or an ioctl(FIONREAD), or neither > > of them, but not both, as it should for it to work. read -t0 is broken. > > 2.- Conclusion: re