-# extend the vt100 desciption by some sequences.
-#termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
-#terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
-
-# https://savannah.gnu.org/bugs/?14930
-#termcapinfo linux|xterm|rxvt|xterm-color ti@:te@:XT
-
-################
+# on backspace send ^H
+#bindkey -d -k kb stuff "\010"
+
+# Remap keypad
+#KP_Home
+bindkey \033Ow stuff \033[1~
+#KP_Up
+bindkey \033Ox stuff \033OA
+#KP_PgUp
+bindkey \033Oy stuff \033[5~
+#KP_Left
+bindkey \033Ot stuff \033OD
+#KP_Right
+bindkey \033Ov stuff \033OC
+#KP_End
+bindkey \033Oq stuff \033[4~
+#KP_Down
+bindkey \033Or stuff \033OB
+#KP_PgDn
+bindkey \033Os stuff \033[6~
+#KP_minus
+bindkey \033Om stuff -
+#KP_plus
+bindkey \033Ok stuff +
+#KP_slash
+bindkey \033Oo stuff /
+#KP_asterisk
+bindkey \033Oj stuff *
+#KP_Enter
+bindkey \033OM stuff \015
+
+# ------------------------------------------------------------------------------
+# TERMINAL SETTINGS
+# ------------------------------------------------------------------------------
+
+# The vt100 description does not mention "dl". *sigh*
+termcapinfo vt100 dl=5\E[M
+
+# turn sending of screen messages to hardstatus off
+hardstatus off
+# Set the hardstatus prop on gui terms to set the titlebar/icon title
+termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
+# use this for the hard status string
+#hardstatus string "%h%? users: %u%?"
+
+# An alternative hardstatus to display a bar at the bottom listing the
+# windownames and highlighting the current windowname in blue. (This is only
+# enabled if there is no hardstatus setting for your terminal)