An alias named `done` breaks for loops

2021-08-14 Thread George Nachman
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: darwin20.5.0 Compiler: gcc Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-security uname output: Darwin Georges-Mac-Pro.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-

Enabling the fix for echo_input_at_read in run_debug_trap?

2020-05-02 Thread George Nachman
One of my users complained that the debug trap was printing their command after edit-and-execute-command when using my script, which depends on debug traps. I noticed that bash 5.0 made this change to run_debug_trap() that would fix the problem: + old_verbose = echo_input_at_read; +#if 0 /*

Re: Writing to bash's tty too fast: workarounds?

2012-04-10 Thread George Nachman
Thanks for getting back to me, Chet. The theory about the kernel's handling of a full input queue seems likely. In the case of bash + readline, would it be feasible to avoid readline changing the terminal settings while reading a here document? Seems like the only remedy if the kernel is misbehavin