Fixed emacs function on Ubuntu
Fixed prompt on screen