2

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!

2
  • 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, 2011 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, 2011 at 23:27

2 Answers 2

5

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.

1
  • In some cases, you might have to press Ctrl-j before and after (and type reset blindly). Jan 25, 2011 at 7:43
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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