How can I reset my terminal in a GNU screen session after accidentally printing binary garbage?

Solution 1:

The GNU screen terminals maintain part of the terminal state, too. To reset that in GNU screen do:

  • Press Ctrl-A.
  • Enter :reset and press enter.

Done. You may also need to enter reset in the terminal itself as well as usual.