Search code examples
emacsbazaar

term / eshell -- how to display `bzr` output in the buffer?


Is there any way to have Emacs display everything that is happening when running term / eshell?

For example, when I try to build Emacs in the tmp directory, there should be a downloading message in the terminal window that tells me the status. However, nothing is displayed. I believe it might be silently doing the job, but I want to see what the normal terminal window application usually displays when running?

M-x eshell
$ cd /tmp
$ bzr branch --stacked bzr://bzr.savannah.gnu.org/emacs/trunk emacs-trunk

I'm not seeing the usual message: 6167kB 243kB/s | Finding revisions


Solution

  • This issue was resolved by @Stefan in a related thread: https://stackoverflow.com/a/23388276/2112489

    (defun lawlist-eshell ()
    (interactive)
      (let ((process-environment (cons "TERM=xterm" process-environment)))
        (eshell)))