Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Ncurses and shortcuts in tty
- X-seq: zsh-workers 31102
- From: fulvio marro <fulmare90@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Ncurses and shortcuts in tty
- Date: Sun, 3 Mar 2013 17:15:43 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=ZXGGOKY4e7nO7i8ynP41iwG08Q44Vj7yeZPLccqYCc4=; b=lasBXdluATidKfjrbWddFECgasq4LN2HZUW02XTp4zbUdnixkjdBz3u7mFcIA1rs5v SVoy+KEajnVTjz/OefIn59VvNn0soxVoU+WBAhE5WNwAaDCDGjQvZAy5vEVWFjUppEON cAc3+/4zca86uMmMszHPNCmgssJdWg6W3GoQWPg8r9B/M3qElg0otxSIWMxZR96JxCWM HtqNJCmW5MTdQHvRi6ZK+J5P8FjmbSZTBLWR8yIOjfUL3y8dQuBVosQcgI/+m6d/QfRn Q9sZGCM/IrLK1BigKtia+y3+FeepLeJpqrcukSy6hATUd/Zvp70ekFtBxKfH+AO82LDv w+EQ==
- 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
The following code is supposed to open a ncurses program (ncmpcpp)
using Alt+\ in a tty
ncmpShow(){ ncmpcpp; }
zle -N ncmpShow
bindkey '^[\' ncmpShow
It works, but I can't interact with it.
It is the same if I try with other ncurses programs.
Nethack tells me "You must play nethack from a terminal"
I have put the code in /etc/zsh/zshrc
The analog bash code I have put in /etc/inputrc is
"\e\\":"ncmpcpp\n"
but zsh does not source /etc/inputrc, right?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author