Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Key bindings not working under screen



On Feb 16, 12:41pm, Thorsten Kampe wrote:
} Subject: Re: Key bindings not working under screen
}
} > # at the top of .zshrc
} > exec 2> /tmp/zshrc$$
} > setopt xtrace
} 
} It reaches the end ("setopt noxtrace") in both cases (screen call in 
} .zlogin and without) and the generated log files in $TMP (zshrcnnnn) are 
} exactly the same...

Then it's time to look for something in /etc/zlogin or ~/.zlogin that
may be causing it (assuming screen starts zsh as a login shell).  If
that's not the problem the only thing I could suggest is to create a
verbose shell function wrapper for bindkey, something like

    zmodload -i zsh/parameter
    bindkey() {
      print -u2 -- "$functrace[@]": bindkey "$@"
      builtin bindkey "$@"
    }

and install that very early, perhaps in ~/.zshenv.

-- 



Messages sorted by: Reverse Date, Date, Thread, Author