X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.screenrc;h=279a1204662c7f8e404802bc9e448b53ad9a309a;hp=070b58656efcf0e369c1d434916639c66e2b6b2e;hb=5251876e9b3158749e93584439916c7a68d635f2;hpb=bdb608b1e8948ca8610be068efdf005cfbb2f3a3 diff --git a/.screenrc b/.screenrc index 070b586..279a120 100644 --- a/.screenrc +++ b/.screenrc @@ -13,6 +13,11 @@ startup_message off deflogin on shell -$SHELL +# For this to work PS1 prompt must include empty "k\" sequence +# and ends with "$ ". +#shelltitle "\$ |$SHELL" +#bind R screen -t '# |root:' sudo su - + # define a bigger scrollback, default is 100 lines defscrollback 1024 @@ -37,22 +42,32 @@ bind ^\ #bindkey -d -k kb stuff "\010" # Remap keypad -#Home +#KP_Home bindkey \033Ow stuff \033[1~ -#Up +#KP_Up bindkey \033Ox stuff \033OA -#PgUp +#KP_PgUp bindkey \033Oy stuff \033[5~ -#Left +#KP_Left bindkey \033Ot stuff \033OD -#Right +#KP_Right bindkey \033Ov stuff \033OC -#End +#KP_End bindkey \033Oq stuff \033[4~ -#Down +#KP_Down bindkey \033Or stuff \033OB -#PgDn +#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