Thanks a lot Tom,The `eshell/cd' function is what is executed when you type 'cd' into
eshell, unless you have changed this. It doesn't change what you see in eshell though, so the `eshell-send-input' should send an empty command,