--- screen-5.0.0/termcap.c~ +++ screen-5.0.0/termcap.c @@ -449,8 +449,6 @@ } else break; } - if (n < KMAP_KEYS) - domap = 1; if (map == 0 && domap) return 0; if (map && !domap)