Re: Pinentry prompt showing up on seemingly-random terminals

2013-04-08 Thread Ben Boeckel
On Sat, 06 Apr, 2013 at 19:31:33 GMT, Erik Johnson wrote: > I use gpg-agent (with ssh support enabled), and when I use pinentry-curses > from within tmux, the pinentry prompt rarely appears in the current pane. > Sometimes it appears in a different window, sometimes it appears on tty1, > there does

[PATCH 1/2] Define hooks infrasructure

2013-04-08 Thread Thomas Adam
This adds an implementation hooks using a RB tree to store the name of the hook and the command-list it uses. These will be accessed via commands to add/remove hooks. --- hooks.c | 114 + session.c |2 ++ tmux.c|2 ++ tmux

Re: Pinentry prompt showing up on seemingly-random terminals

2013-04-08 Thread Nicholas Marriott
Did you get this resolved? On Sat, Apr 06, 2013 at 02:50:35PM -0700, Ashwin G wrote: >There was one old bug about this on >pinentry-curses:*[1]https://bugs.g10code.com/gnupg/issue1203 >Are you using an older version by any chance ? >-Ashwin > >On Sat, Apr 6, 2013 at 12:31 PM

Re: Suggestion: conditional mappings

2013-04-08 Thread Nicholas Marriott
Hi Can't this be done with if-shell easily enough? if "[ $(tmux display -pF '#{pane_current_command}') = vim ]" "send-keys foo" On Sun, Apr 07, 2013 at 02:47:52PM -0300, Thiago Padilha wrote: > Hi > > It would be nice to have a tmux command that conditonally send keys > based on the program ru

Re: mouse copy-mode rectangle-toggle?

2013-04-08 Thread Nicholas Marriott
There is not a way to do it now. If someone wants to add it I'd suggest right dragging although I can't remember if it possible to detect this. On Sat, Apr 06, 2013 at 07:51:58PM -0400, Alan P wrote: > In tmux in copy-mode, with the keyboard one can select line oriented > text using start select

[PATCH 0/2] Hook support

2013-04-08 Thread Thomas Adam
Hi, Here's two rough patches outlining hook support. As discussed before (although never finalised, which I hope to do this time), I've implemented two new commands: set-hook show-hooks I think the naming might be a little inconsistent. Hooks have a before/after concept with the long-name of t