Node:Using eshell, Next:, Previous:Large directories, Up:Tips and tricks



Optimal using of eshell in ECB

ECB offers a very smart integration of the "eshell" if you are using a compile window (see Temp- and compile-buffers)1

Here is a short summary of provided features:

Here comes a detailled explanation of these features and how to use it:

Just call ecb-eshell-goto-eshell (bound to C-c . e) and eshell will displayed in the compile-window of ECB (if eshell is not already alive then it will be started automatically).

ECB tries to display the contents of the eshell-buffer as best as possible, means ECB can autom. enlarge and shrink the compile-window so the contents of the eshell are fitting the window. See option ecb-eshell-enlarge-when-selecting. Normally this is done autom. but you can also do it on demand with the command ecb-eshell-enlarge.

ECB tries also to recenter the eshell-buffer as best as possible. Normally this is done autom but you can do it on demand with the command ecb-eshell-recenter.

If option ecb-eshell-synchronize is true then ECB always syncronizes the command prompt of eshell with the directory of current source-buffer of the edit-window.

With the option ecb-eshell-auto-activate you can start eshell autom. in the compile-window when ECB is started but of course if a compile-window exists.


Footnotes

  1. Of course you can use eshell also if there is no compile-window. Then it is just displayed in the edit-window and there is no special integration.