From f1eb7d5f6ef4605026483e6c02ee6a6bc65a6a752ca83287c2a4ac73939dae46 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 21 Jul 2007 16:11:35 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcsh?expand=0&rev=5 --- bindkey.tcsh | 54 +++++++++++++++++++++++----------------------------- tcsh.changes | 5 +++++ tcsh.spec | 4 +++- 3 files changed, 32 insertions(+), 31 deletions(-) diff --git a/bindkey.tcsh b/bindkey.tcsh index 30f1c0f..fd71b14 100644 --- a/bindkey.tcsh +++ b/bindkey.tcsh @@ -432,6 +432,17 @@ if ( "$TERM" == "xterm" ) then bindkey -s "^[Ow" "7" bindkey -s "^[Ox" "8" bindkey -s "^[Oy" "9" + # Shift+Alt+KP_<0...9> of konsole + bindkey "^[0" yank + bindkey "^[1" end-of-line + bindkey "^[2" down-history + bindkey "^[3" history-search-forward + bindkey "^[4" backward-word + bindkey -c "^[5" "source /etc/csh.cshrc" + bindkey "^[6" forward-word + bindkey "^[7" beginning-of-line + bindkey "^[8" up-history + bindkey "^[9" history-search-backward endif # if ( "$TERM" == "kterm" ) then @@ -556,16 +567,17 @@ if ( "$TERM" == "mlterm" ) then bindkey "^[[21;8~" undefined-key bindkey "^[[23;8~" undefined-key bindkey "^[[24;8~" undefined-key - bindkey -s "^[1" "1" - bindkey -s "^[2" "2" - bindkey -s "^[3" "3" - bindkey -s "^[4" "4" - bindkey -s "^[5" "5" - bindkey -s "^[6" "6" - bindkey -s "^[7" "7" - bindkey -s "^[8" "8" - bindkey -s "^[9" "9" - bindkey -s "^[0" "0" + # Shift+Alt+KP_<0...9> + bindkey "^[0" yank + bindkey "^[1" end-of-line + bindkey "^[2" down-history + bindkey "^[3" history-search-forward + bindkey "^[4" backward-word + bindkey -c "^[5" "source /etc/csh.cshrc" + bindkey "^[6" forward-word + bindkey "^[7" beginning-of-line + bindkey "^[8" up-history + bindkey "^[9" history-search-backward endif # if ( "$TERM" == "rxvt-unicode" ) then @@ -648,26 +660,8 @@ if ( "$TERM" == "rxvt-unicode" ) then bindkey '^[^[[7$' beginning-of-line bindkey '^[^[[8$' end-of-line bindkey "^[=" newline - bindkey "\000" yank - bindkey "\001" end-of-line - bindkey "\002" down-history - bindkey "\003" history-search-forward - bindkey "\004" backward-word - bindkey -s "\005" "source /etc/csh.cshrc" - bindkey "\006" forward-word - bindkey "\007" beginning-of-line - bindkey "\010" up-history - bindkey "\011" history-search-backward - bindkey "^[0" yank - bindkey "^[1" end-of-line - bindkey "^[2" down-history - bindkey "^[3" history-search-forward - bindkey "^[4" backward-word - bindkey -c "^[5" "source /etc/csh.cshrc" - bindkey "^[6" forward-word - bindkey "^[7" beginning-of-line - bindkey "^[8" up-history - bindkey "^[9" history-search-backward + # Shift+Ctrl+(Alt+)KP_<0...9> generates + # \000 ... \011 (^@ upto TAB) we ignore these endif # # EMACS line editing diff --git a/tcsh.changes b/tcsh.changes index 763d51c..6b0fa9b 100644 --- a/tcsh.changes +++ b/tcsh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 19 12:21:34 CEST 2007 - werner@suse.de + +- Small correction in bindkey.tcsh: for urxvt, mlterm, and konsole + ------------------------------------------------------------------- Mon Jul 16 14:41:03 CEST 2007 - werner@suse.de diff --git a/tcsh.spec b/tcsh.spec index 2a1b1ea..e824e3f 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -18,7 +18,7 @@ Group: System/Shells Requires: gawk textutils Autoreqprov: on Version: 6.15.00 -Release: 1 +Release: 3 Summary: The C SHell Source: ftp.astron.com:/pub/tcsh/tcsh-6.15.00.tar.bz2 Source1: nls-iconv @@ -128,6 +128,8 @@ Authors: %{_datadir}/locale/*/LC_MESSAGES/tcsh %changelog +* Thu Jul 19 2007 - werner@suse.de +- Small correction in bindkey.tcsh: for urxvt, mlterm, and konsole * Mon Jul 16 2007 - werner@suse.de - Update to tcsh version V6.15.00 * fix extension eating windows code