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-
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 /*
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