The Computer Oracle

Text no longer shows after killing program, using tmux

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puddle Jumping Looping

--

Chapters
00:00 Text No Longer Shows After Killing Program, Using Tmux
00:35 Accepted Answer Score 27
01:12 Thank you

--

Full question
https://superuser.com/questions/533578/t...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#linux #commandline #ssh #tmux

#avk47



ACCEPTED ANSWER

Score 27


Your description indicates that the tty was left in a non-echoing mode after you stopped the server.
This often happens when an “interactive” program exits unexpectedly and does not have a chance to restore the various tty modes it adjusted when it started. If it happens regularly when exiting the program normally, then there is a bug in the program.

You can probably reproduce the effect with a command like this:

stty -echo ; printf 'Type something (there will be no echo); Enter/Control-C to resume...' ; read ; echo

You should be able to use this command (typed “blindly”; since there is no echo) to restore normal tty functionality:

stty sane