after rosbag play, terminal can't enter password
There is a matter in rosbag play. I just open a Terminal of ubuntu 18.04, which has been installed ros-melodic. Then I play a bag in the terminal, and stop it by 'ctrl+c'. And later, I can't switch terminal to root user, because terminal can't enter any interactive command, as shown in image below:
Please do not use screenshots of text. Instead, we'd prefer that you copy/paste the text and format it with the 101010 button.
I replicated this issue. As a workaround, use this command at the terminal prompt:
This command resets the tty settings.
Thanks for reply my question, and it is solved when I do that. Then I tried to find which param of stty changed by 'rosbag play'. I type below command at the terminal prompt:
then I get this:
And after I play a bag and retype 'stty' , just find stty control param was added two uncanonical input :
So enable canonical input maybe great solution, just type below at the terminal prompt:
When check 'stty' in terminal, it change to normal, and terminal can enter interactive command again.