Issue
I use Mediawiki to store all the commands I need to do to rebuild my system from scratch when a Fedora upgrade is available.
Until now, I would simply copy/paste a huge set of commands into a terminal window and let it run free.
I am trying to upgrade my Fedora 32 to 34 and this no longer works. When anything in my script enters a CLI - like mysql or even a new bash shell, execution stops until I type 'exit'. Then, the SQL commands or whatever are executed in bash and makes an ugly display.
Here is the most simplified example of this that I could create. This works fine in Fedora 32 but gets stuck in Fedora 34:
echo 'AAA'
echo 'AAA'
echo 'AAA'
bash
echo 'BBB'
echo 'BBB'
echo 'BBB'
I am guessing something changed within Fedora, I just do not know what. I have searched and can't seem to find an answer.
My question is - what do I need to change so that I can get the old (F32) behavior back?
Solution
I can confirm this in Fedora 34 / GNU bash, version 5.1.0(1)-release (x86_64-redhat-linux-gnu.
This is a new feature in the underlying readline
library and the feature is enabled by default. Currently, the only way to turn it off is to edit your ~/.inputrc
and add the line:
set enable-bracketed-paste off
Then, after logging out and in again, you should have the old behavior.
Answered By - Ted Lyngmo Answer Checked By - Candace Johnson (WPSolving Volunteer)