Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Ncurses and shortcuts in tty
- X-seq: zsh-workers 31103
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: fulvio marro <fulmare90@xxxxxxxxx>
- Subject: Re: Ncurses and shortcuts in tty
- Date: Sun, 03 Mar 2013 18:38:12 +0100
- Cc: zsh-workers@xxxxxxx
- In-reply-to: <CALv82gNqHROKY9_BV8JXxjS7+f5LZsHTAB-PV=d0herjPHdBkw@mail.gmail.com> (fulvio marro's message of "Sun, 3 Mar 2013 17:15:43 +0100")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CALv82gNqHROKY9_BV8JXxjS7+f5LZsHTAB-PV=d0herjPHdBkw@mail.gmail.com>
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