diff --git a/bindkey.tcsh b/bindkey.tcsh index fd71b14..2f6569c 100644 --- a/bindkey.tcsh +++ b/bindkey.tcsh @@ -124,6 +124,13 @@ endif # bindkey "^?" backward-delete-char bindkey "^H" backward-delete-char +if ( "$TERM" == "xterm" ) then + # + # XTerm in UTF-8 mode + # + bindkey "^[\303\277" backward-delete-word + bindkey "^[ΓΏ" backward-delete-word +endif # # Home and End # diff --git a/tcsh.changes b/tcsh.changes index 5b8a8da..ee1e247 100644 --- a/tcsh.changes +++ b/tcsh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 21 15:00:49 CET 2009 - werner@suse.de + +- Reenable Alt-BackSpace for delete word in XTerm in UTF-8 mode + ------------------------------------------------------------------- Wed Nov 26 18:30:26 CET 2008 - werner@suse.de diff --git a/tcsh.spec b/tcsh.spec index 3eb555a..2ed2639 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -1,7 +1,7 @@ # # spec file for package tcsh (Version 6.15.00) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ Group: System/Shells Requires: gawk textutils AutoReqProv: on Version: 6.15.00 -Release: 93 +Release: 94 Summary: The C SHell Source: ftp.astron.com:/pub/tcsh/tcsh-6.15.00.tar.bz2 Source1: nls-iconv @@ -150,6 +150,8 @@ Authors: %{_datadir}/locale/*/LC_MESSAGES/tcsh %changelog +* Wed Jan 21 2009 werner@suse.de +- Reenable Alt-BackSpace for delete word in XTerm in UTF-8 mode * Wed Nov 26 2008 werner@suse.de - For commands with full execution path bypass correction algorithm if the command is found (bnc#444992)