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 have a very strange problem. Here is what happens:

  • I log into one of my machines via SSH (server is Mac OS 10.5)
  • I start a program and while it is running I type (CTRL+C) to quit it (i.e. tail -f)
  • Afterward I cannot see ANYTHING I type
  • I can type commands (without seeing them) and execute them and see the output.

Does anyone have any idea what could be causing this?

Thanks!

share|improve this question
    
Do you get a prompt (i.e. PS1) when this happens? Or no prompt either? What happens when you press ^C repeatedly? –  Daniel Beck Jan 25 '11 at 14:36
    
Yes, I do get a prompt. Also, I can change the prompt and the PS1 is fine. When I press ^C repeatedly nothing changes –  Harold Jan 26 '11 at 23:27

2 Answers 2

up vote 3 down vote accepted

You might try typing "reset" in the terminal to reset the terminal settings.

Sounds like your stdout is getting redirected somewhere other then your pty.

share|improve this answer
    
In some cases, you might have to press Ctrl-j before and after (and type reset blindly). –  Dennis Williamson Jan 25 '11 at 7:43

As Kyle suggested, try to reset your terminal window - I´d suggest using the shortcut "cmd + R" for that though, assuming the computer from that your ssh´ing in is also a Mac.

share|improve this answer

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.