Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 3 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. –  Nysepho Jan 14 '13 at 8:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.