• Heads up about bash, version 5.1.4 paste

    From Bit Twister@2:250/1 to All on Thu Jan 7 14:51:05 2021
    Just a heads up about bash, version 5.1.4 paste (Mga8)
    A new "Feature" enable-bracketed-paste is enabled. :(

    What that means is you have to enter a New line character (Enter) to
    execute anything you paste in a terminal.

    Research indicates you can disable it with
    bind 'set enable-bracketed-paste off'
    in ~/.bash_profile.

    or "set enable-bracketed-paste off" in ~/.initrc.

    Neither of the above worked for me.

    What works for me is send an escape sequence to disable the "Feature"
    via printf in ~/.bash_profile and ~/.bashrc. I left the bind command
    assuming the off failure is a bug. Resulting code is
    bind 'set enable-bracketed-paste off'
    printf "\e[?2004l"
    in ~/.bash_profile and ~/.bashrc

    Feel free to use "enable-bracketed-paste" in your favorite search engine
    if you want more information.






    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)