Posts Tagged ‘screen’

Shenanigans with screen

Friday, January 30th, 2009

I just had a neat learning experience with screen.  My session became locked to me accidentally hitting Ctrl s instead of Ctrl a.  Thanks to this post, I now understand what happened and a few ways to fix and/or prevent.  The original is pretty concise so feel free to stop reading this and browse there; or just read on.

  • Ctrl s sends an XOFF which stops character flow.
  • Ctrl q sends an XON which starts character flow.

That is the short term fix, Ctrl q will right the ship.  For longer-term prevention, add this line to your ~/.bashrc:

  • stty ixoff -ixon

In short, thanks to Morgy for a great post.