make barf command friendly to terminal emacs