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

Re: Ncurses and shortcuts in tty



fulvio marro wrote:
> The following code is supposed to open a ncurses program (ncmpcpp)
> using Alt+\ in a tty
> ncmpShow(){ ncmpcpp; }

ncmpShow() {
  BUFFER="ncmpcpp"
  zle accept-line
}

> zle -N ncmpShow
> bindkey '^[\' ncmpShow
[...]
> but zsh does not source /etc/inputrc, right?

Zsh does not use the readline library. inputrc is a readline facility.

Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925



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