1. fix the value of term-prompt-regexp
2. update the eshell function
3. add TERMINFO env variable in term mode