X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.screenrc;h=2e3ff3e66b90305d3f55e87df8cb332bc0537ed2;hp=db73a6ad1054369b787c10142ac279043e76d91f;hb=beb132417ed67221b35d50e3bf35b5fca8225e1d;hpb=35e45d987994a80c514e19963605ddb4b18f26ac diff --git a/.screenrc b/.screenrc index db73a6a..2e3ff3e 100644 --- a/.screenrc +++ b/.screenrc @@ -36,6 +36,34 @@ bind ^\ # 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 # ------------------------------------------------------------------------------ @@ -61,7 +89,7 @@ termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007 # for inactive windows - black on cyan # for active window - white on blue hardstatus alwayslastline -hardstatus string "%{= ck}%-w%{= bw}%n%f %t%{-}%+w %-=" +hardstatus string "%{= yk}%-w%{= gk}%n%f %t%{-}%+w %-=" # set these terminals up to be 'optimal' instead of vt100 termcapinfo xterm*|rxvt*|linux*|Eterm* OP @@ -84,7 +112,7 @@ termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l' # Do not use the alternate screen at all # run `tput smcup; screen -S test; tput rmcup` -#termcapinfo xterm*|rxvt* 'ti=:te=' +termcapinfo xterm*|rxvt* 'ti=:te=' # Enable non-blocking mode to better cope with flaky ssh connections. defnonblock 5