Re: use "--" to mark start of command w/ neww etc to avoid quoting

2014-04-25 Thread J Raynor
Sorry, I made an off-by-one error in cmd_stringify_argv. I've attached a new patch. On Thu, Apr 24, 2014 at 5:42 PM, J Raynor wrote: >> Only bit I don't like now is passing return from xstrdup() to xrealloc() >> in cmd_stringify_argv, better just to start len = 1 and x = 0. > > I've attached a

Re: [PATCH 1/2] Enable mouse wheel scrolling in man pages, basically.

2014-04-25 Thread Marcel Partap
> I am still not convinced by this, I don't need more tests, I need good > reasons why we should do this - what is it useful for apart from > scrolling in less? Why shouldn't this be done in less itself? It can't > be that hard to make less support the mouse. Because it gives all CLI programs (even

Re: Can tmux access environment variables of specific panes?

2014-04-25 Thread Vardhan Varma
OOps, I'm So sorry .. just thought this was reply to my post. Feeling Stupid (-: The answer to this is : tmux list-panes -F '#{pane_pid}' followed by Thomas's suggesion. -Regards On Fri, Apr 25, 2014 at 2:50 PM, Vardhan Varma wrote: > On Thu, Apr 24, 2014 at 6:37 PM, Thomas Koch wrote: > >>

Re: Can tmux access environment variables of specific panes?

2014-04-25 Thread Vardhan Varma
On Thu, Apr 24, 2014 at 6:37 PM, Thomas Koch wrote: > On Linux you can access the environment variables of processes of your own > user by inspecting /proc/$PROCESS_ID/environ. Maybe tmux could provide the > process id of a process running in a pane? > IMHO, tmux can already print the pid of pro

Re: Can tmux access environment variables of specific panes?

2014-04-25 Thread Thomas Koch
On Linux you can access the environment variables of processes of your own user by inspecting /proc/$PROCESS_ID/environ. Maybe tmux could provide the process id of a process running in a pane? -- Start Your Social Networ