title: Mac Terminal Strange Behaviour (no newline when hitting enter, no visible text )
body: <p>I'm on Mac OS X 10.11.3 My terminal looks like this:</p>
  
  <pre><code>[Fabian@MacBook-Pro] &gt; 
  [Fabian@MacBook-Pro] &gt; pyspark
  Python 2.7.11 (default, Jan 29 2016, 17:48:19) 
  [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  16/03/17 10:08:22 WARN NativeCodeLoader: Unable to load native-hadoop library     for your platform... using builtin-java classes where applicable
  Welcome to
  
        ____              __
       / __/__  ___ _____/ /__
      _\ \/ _ \/ _ `/ __/  '_/
     /__ / .__/\_,_/_/ /_/\_\   version 1.6.1
        /_/
  
  Using Python version 2.7.11 (default, Jan 29 2016 17:48:19)
  SparkContext available as sc, HiveContext available as sqlContext.
  &gt;&gt;&gt; print 'hello'
  &gt;&gt;&gt; hello
  
  &gt;&gt;&gt; quit()
  &gt;&gt;&gt; [Fabian@MacBook-Pro] &gt; [Fabian@MacBook-Pro] &gt; [Fabian@MacBook-Pro] &gt; [Fabian@MacBook-Pro] &gt; -bash:     printsf: command not found
  </code></pre>
  
  <p>in the first line I press enter, and as you see, the prompt starts at another line, then I launch pyspark, do something and quit, then when I return to the prompt I press enter and as you can see, the prompt doesn't appear in a newline! I actually type and nothing is printed to the screen, however the commands are executed as you can see</p>
  
  <pre><code> -bash:     printsf: command not found
  </code></pre>
  
  <p>my .bash_profile (located in /Users/Fabian folder) looks like this</p>
  
  <pre><code># Setting PATH for Python 3.4
  # The orginal version is saved in .bash_profile.pysave
  PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"
  export PATH
  export LC_ALL=en_US.UTF-8
  export LANG=en_US.UTF-8
  export PYTHONPATH=$PYTHONPATH:/Users/Fabian/Library/Python
  
  ##
  # Your previous /Users/Fabian/.bash_profile file was backed up as /Users/Fabian/.bash_profile.macports-saved_2016-02-07_at_11:26:24
  ##
  
  # MacPorts Installer addition on 2016-02-07_at_11:26:24: adding an appropriate PATH variable for use with MacPorts.
  export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
  # Finished adapting your PATH environment variable for use with MacPorts.
  
  export JAVA_HOME=$(/usr/libexec/java_home)
  export PATH=$PATH:/Users/Fabian/apache-maven-3.3.9/bin
  export PS1="[\u@\h] &gt; "
  export PATH=$PATH:/Users/Fabian/spark-1.6.1-bin-hadoop2.6/bin
  </code></pre>
  
  <p>How Can I fix this behavior??
  Thanks!</p>