SHA256
1
0
forked from pool/tcsh

Accepting request 63011 from shells

Accepted submit request 63011 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/63011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcsh?expand=0&rev=37
This commit is contained in:
Sascha Peilicke 2011-03-01 08:54:11 +00:00 committed by Git OBS Bridge
commit 5252748280
2 changed files with 79 additions and 0 deletions

View File

@ -700,5 +700,79 @@ if ( "$CSHEDIT" == "emacs" ) then
bindkey "^^[[B" down-history
endif
#
# Screen
#
if ( "$TERM" == "screen" ) then
bindkey "\e[1;2D" backward-word
bindkey "\e[1;2C" forward-word
bindkey "\e[1;2A" up-history
bindkey "\e[1;2B" down-history
bindkey "\e[1;2H" beginning-of-line
bindkey "\e[1;2F" end-of-line
bindkey "\e[2;2~" yank
bindkey "\e[3;2~" delete-char
bindkey "\e[5;2~" history-search-backward
bindkey "\e[6;2~" history-search-forward
bindkey "\e[1;5D" backward-word
bindkey "\e[1;5C" forward-word
bindkey "\e[1;5A" up-history
bindkey "\e[1;5B" down-history
bindkey "\e[1;5H" beginning-of-line
bindkey "\e[1;5F" end-of-line
bindkey "\e[2;5~" yank
bindkey "\e[3;5~" delete-char
bindkey "\e[5;5~" history-search-backward
bindkey "\e[6;5~" history-search-forward
bindkey "\e[1;3D" backward-word
bindkey "\e[1;3C" forward-word
bindkey "\e[1;3A" up-history
bindkey "\e[1;3B" down-history
bindkey "\e[1;3H" beginning-of-line
bindkey "\e[1;3F" end-of-line
bindkey "\e[2;3~" yank
bindkey "\e[3;3~" delete-char
bindkey "\e[5;3~" history-search-backward
bindkey "\e[6;3~" history-search-forward
#
bindkey "\e[1;2P" undefined-key
bindkey "\e[1;2Q" undefined-key
bindkey "\e[1;2R" undefined-key
bindkey "\e[1;2S" undefined-key
bindkey "\e[15;2~" undefined-key
bindkey "\e[17;2~" undefined-key
bindkey "\e[18;2~" undefined-key
bindkey "\e[19;2~" undefined-key
bindkey "\e[20;2~" undefined-key
bindkey "\e[21;2~" undefined-key
bindkey "\e[23;2~" undefined-key
bindkey "\e[24;2~" undefined-key
#
bindkey "\e[1;5P" undefined-key
bindkey "\e[1;5Q" undefined-key
bindkey "\e[1;5R" undefined-key
bindkey "\e[1;5S" undefined-key
bindkey "\e[15;5~" undefined-key
bindkey "\e[17;5~" undefined-key
bindkey "\e[18;5~" undefined-key
bindkey "\e[19;5~" undefined-key
bindkey "\e[20;5~" undefined-key
bindkey "\e[21;5~" undefined-key
bindkey "\e[23;5~" undefined-key
bindkey "\e[24;5~" undefined-key
#
bindkey "\e[1;3P" undefined-key
bindkey "\e[1;3Q" undefined-key
bindkey "\e[1;3R" undefined-key
bindkey "\e[1;3S" undefined-key
bindkey "\e[15;3~" undefined-key
bindkey "\e[17;3~" undefined-key
bindkey "\e[18;3~" undefined-key
bindkey "\e[19;3~" undefined-key
bindkey "\e[20;3~" undefined-key
bindkey "\e[21;3~" undefined-key
bindkey "\e[23;3~" undefined-key
bindkey "\e[24;3~" undefined-key
endif
#
# end bindkey.tcsh
#

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 28 14:59:52 CET 2011 - werner@suse.de
- Add key support for screen terminal emluator
-------------------------------------------------------------------
Mon Feb 7 12:45:48 UTC 2011 - werner@suse.de