Why are random letters inserted in my tmux session?

Are there any causes and resolutions for locked-up tmux windows?

  • Recently, any tmux session's windows will lock up at least once a day for me. I'll have to force-quit the window. This is especially prevalent (and annoying) when the I'm using vim in a tmux window via Putty. Is this a known issue? Are there any solutions? Is there a chance I'm accidentally hitting some tmux shortcut I'm not aware of? Note that I can navigate to the next and previous window, create new windows, etc. A given window (usually running vim) will just get "stuck".

  • Answer:

    The Ctrl-S Ctrl-Q buttons are control characters to turn on and off input in most terminal emulators.  You can turn them off by adding stty -ixon to your ~/.bashrc file as documented here: http://blog.sanctum.geek.nz/terminal-annoyances/. Also, is it possible that your vim process is the process that's crashed? I've had that problem sometimes with certain extensions causing Vim to crash.

Christopher Burnor at Quora Visit the source

Was this solution helpful to you?

Other answers

Same here. Control-R fixed it. That's all I know, sorry.

Shawn Lower

To answer my own question, I ran into this problem *again* and just held down 'ctrl' while randomly mashing some keys in the upper part of my keyboard (q a w e r t a s d o i, etc) and one of them did the trick and unstuck the window. There's probably a shortcut I'm accidentally hitting that I'm not aware of that gets the session in this state, but I'm not sure which...

Vaibhav Mallya

Had the same issue this morning after asking around: Control s = stop Control q = resume ctrl-q solved my problem, hope it helps!

David Lavrove

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.