Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running a Minecraft server and whenever I "sh rtoolkit.sh" to start the server, everything works fine however once I stop the server and return to the command line ready to enter a command, text I type doesn't show up and the cursor remains in the same position, yet if I enter a command and hit enter, I see the result. For example ls doesn't show up when I'm typing it, but after hitting enter I see the output. I've tried clear, but still the same problem.

The only way I've found to fix the issue is to kill the current tmux window and re-create it.

I'm doing all this over SSH from Mint.

share|improve this question
up vote 8 down vote accepted

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
share|improve this answer
    
Thanks-stty sane fixes the problem, I guess there is a bug as stopping it properly (not using ^C) still causes the same problem. – Torvero Jan 14 '13 at 8:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .