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.

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
1  
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
1  
from this question, superuser.com/questions/75130/how-to-remove-ths-symbol-with-vim 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

1 Answer 1

up vote 2 down vote accepted

enter image description here

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

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.