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

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

Feature Request: show client's environment, fix to SSH_AUTH_SOCK type issuers

2014-04-24 Thread Vardhan Varma
Hi, A search for 'tmux SSH_AUTH_SOCK' brings up about 8000 pages of hacked up scripts. The solution can be simpler if one can just do something like: $ export SSH_AUTH_SOCK=$(tmux show-environment -t SSH_AUTH_SOCK) where '' is some way to refer to current client, and '-t target-cl