Author: arekm Date: Thu Feb 19 08:23:16 2009 GMT
Module: setup Tag: HEAD
---- Log message:
- apply to all xterm/konsole/rxvt variations
---- Files affected:
setup/etc:
profile (1.50 -> 1.51)
---- Diffs:
================================================================
Index: setup/etc/profile
diff -u setup/etc/profile:1.50 setup/etc/profile:1.51
--- setup/etc/profile:1.50 Tue May 27 12:57:39 2008
+++ setup/etc/profile Thu Feb 19 09:23:11 2009
@@ -62,11 +62,11 @@
# to work properly under different terminal emulators.
#
case $TERM in
- nxterm|xterm|xterm-color)
+ nxterm|xterm*|konsole*)
bind '^[[H'=beginning-of-line >/dev/null 2>&1
bind '^[[F'=end-of-line >/dev/null 2>&1
;;
- linux|rxvt)
+ linux|rxvt*)
bind '^[[1~'=beginning-of-line >/dev/null 2>&1
bind '^[[4~'=end-of-line >/dev/null 2>&1
;;
@@ -92,10 +92,10 @@
set -o nolog
set -o emacs
case $TERM in
- nxterm|xterm|xterm-color)
+ nxterm|xterm*|konsole*)
trap 'case ${.sh.edchar} in "[F") .sh.edchar="" ;; "[H")
.sh.edchar="" ;; esac' KEYBD
;;
- linux|rxvt)
+ linux|rxvt*)
trap 'case ${.sh.edchar} in "[4~") .sh.edchar="" ;; "[1~")
.sh.edchar="" ;; esac' KEYBD
;;
esac
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/setup/etc/profile?r1=1.50&r2=1.51&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit