When I start M-x eshell it gives me message "term-set-escape-char: Key sequence M-x starts with non-prefix key". It doesn't give me prompt in the eshell window.
eshell-prompt-regexp is
"^[^#$\n]* [#$] ".
eshell-prompt-function is:
(lambda nil (concat (abbreviate-file-name (eshell/pwd)) (if (= (user-uid) 0) " # " " $ ")))