简体   繁体   中英

Backspace in Emacs has effect but does not update display in term and ansi-term (Emacs 23, cygwin)

In Mx term , I type ab , press backspace, then ab_ is visible (_ is space). Hitting enter tells no such command a , so the deletion has effect but the the terminal is not updated correctly. Likewise for home and end buttons.

I start Emacs from cygwin using dos prompt or mintty, same effect. What chould be wrong?

I have just had this exact problem, also in cygwin, rather than any proper Linux.

As suggested by the comments, the TERM seems the key. Mine was already eterm-color . Setting it to xterm fixed it for me.

export TERM=xterm

Obviously there are other values to try if xterm doesn't work for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM