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

When I SSH into a Linux server via iTerm on OS X, running a PHP script, there are some strange characters printed on the screen

^@ funny character

What is this ^@ representing? These characters are not generated through the script, as you can see, they don't appear on every line.

share|improve this question
Have you entered anything on your Mac while or before the script was executing? What is the script outputting? Do these characters appear for other scripts as well? Do you see these characters when logging in from another terminal or computer? – slhck Apr 17 '12 at 10:41
I connected to the server via iTerm, I guess is nothing to do with the Mac. – ajreal Apr 17 '12 at 10:44
from this question, suggesting ^@ is a null character – ajreal Apr 17 '12 at 10:49
Yes, it is caret notation for the null character, but the question is why it even shows up. Do you get it for other scripts as well? Or when using another machine to connect to? – slhck Apr 17 '12 at 10:54
tail -f sometime might return this null character. It did appear in other scripts. Did not try on other machine. But ssh into another linux will return same null character. – ajreal Apr 17 '12 at 11:09
up vote 3 down vote accepted

enter image description here

By disabled the "When idle, send ASCII code: 0" will help

share|improve this answer

You must log in to answer this question.

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