thanks
I can reproduce it
the set -o emacs is not necessary
On Wed, 6 Feb 2008 17:28:40 -0800 Len Lattanzi wrote:
> Looks like this needs the following customization to repro.
> set -o emacs
> typeset -A Keytable
> trap 'eval "${Keytable[${.sh.edchar}]}"' KEYBD
> function keybind # key action
> {
> typeset key=$(print -f "%q" "$2")
> case $# in
> 2) Keytable[$1]='.sh.edchar=$
> {.sh.edmode}'"$key"
> ;;
> 1) unset Keytable[$1]
> ;;
> *) print -u2 "Usage: $0 key [action]"
> ;;
> esac
> }
> keybind $'\t' $'\E\E'
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers