add script for piping STDIN to emacs