Screen and the delete key

Found on http://mike.magin.org/2008/02/20/making-the-delete-key-work-in-screen-termcap-capabilities/

This did however remind me of what was wrong. My termcap (well, terminfo) was missing the proper capability for the delete key. So, I looked what the terminal type claimed by OS X’s Terminal.app was:

\$ echo \$TERM

xterm-color

I poked around some .screenrc examples and an old termcap file and composed this line to put in my .screenrc :

termcapinfo xterm-color kD=\E[3~

[permalink] · Unknown ·