Emacs mode to split shell input from output