On Fri, Dec 04, 2020 at 18:06:22 -0500, Brendon Higgins wrote: > The culprit is libreadline8 (and/or readline-common). Octave GUI has no > complaints with the prior version 8.0-4, but after upgrading to version > 8.1~rc3-1, Octave GUI now complains about "undecodable token: \001b(hex)[? > 2004h" and messes-up the command interface, as per the original report. > > So, does libreadline8 cause this "bracketed paste mode" to be enabled by > default, now? Or perhaps something else is going on - like, perhaps /etc/ > inputrc should have been updated along with readline-common, in which case > we're actually getting bitten by bug #504793?
Yes, Readline version 8 enables this setting by default without any inputrc changes. If you only use Octave in GUI mode, you might want to use the ~/.inputrc snippet that Rafael mentioned earlier. Octave version 6 has modified the GUI command window to silently ignore these escapes to suppress the "undecodable token" messages. -- mike