Hi

You can use tmux control mode.


On Wed, Apr 29, 2015 at 10:19:48AM -0500, Tony Narlock wrote:
>    Greetings,
>    I notice that tmux uses libevent. I maintain a project for interfacing
>    with tmux through Python.** It's pretty robust, essentially it lets you
>    control tmux servers, sessions, windows and panes as tmux objects [1+2].
>    This is the only external language binding I've seen with tmux:
>    -
>    
> [1]https://github.com/redbrain/cython-book/blob/master/chapter3/tmux-project/tmux-1.8/cmdpython.pyx
>    -
>    
> [2]https://github.com/redbrain/cython-book/blob/master/chapter3/tmux-project/tmux-1.8/cmdpython.pxd
>    The issue I have is portability. Typically tmux installed via a package
>    manager doesn't have access to a tmux.h. I think that would be necessary
>    to interact with the tmux socket?
>    Is there a way to interact with tmux *without* subprocess / shell? Such as
>    through libevent?
>    Is there any intention of optional bindings for tmux for other languages?
>    Shared lib headers?** What would be the implications of adding / not
>    adding that?
>    [1]:**[3]http://tmuxp.readthedocs.org/en/latest/quickstart_python.html
>    [2]:**[4]http://tmuxp.readthedocs.org/en/latest/api.html
> 
> References
> 
>    Visible links
>    1. 
> https://github.com/redbrain/cython-book/blob/master/chapter3/tmux-project/tmux-1.8/cmdpython.pyx
>    2. 
> https://github.com/redbrain/cython-book/blob/master/chapter3/tmux-project/tmux-1.8/cmdpython.pxd
>    3. http://tmuxp.readthedocs.org/en/latest/quickstart_python.html
>    4. http://tmuxp.readthedocs.org/en/latest/api.html

> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud 
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to