[PATCH] Disable bracketed paste mode in GDB tests
Andreas Schwab
schwab@linux-m68k.org
Mon Jan 18 19:26:30 GMT 2021
On Jan 18 2021, Tom Tromey wrote:
> + # Don't let a .inputrc file or an existing setting of INPUTRC mess
> + # up the test results. Certain tests (style tests and TUI tests)
> + # want to set the terminal to a non-"dumb" value, and for those we
> + # want to disable bracketed paste mode. It seems harmless to
> + # simply always do this.
> + setenv INPUTRC [cached_file inputrc "set enable-bracketed-paste off"]
Note that readline will barf if it finds an unknown variable in INPUTRC.
When using --with-system-readline and the system readline is < 8.1 this
will fail.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Gdb-patches
mailing list