Hello.

2012/12/01 21:31:51 +0000 Thomas Adam <tho...@xteddy.org> => To Peter 
Vereshagin :
TA> On 1 December 2012 20:22, Peter Vereshagin <pe...@vereshagin.org> wrote:
TA> > Should also like to know if the DSL (e. g., Perl) interface for Tmux 
protocol
TA> > client implementation shall ever be available which way to be notified 
about
TA> > that in time (before too long) is the best?
TA> 
TA> I do not understand the question.  Are you asking if there's already a
TA> way of manipulating tmux from perl (a la tmux-ruby [1]) or that you're
TA> wanting to create one?

tmux-ruby seems to invoke_command(). Is this the only possible way to send a
request to tmux-server and receive a response?

What I'm expecting is: the 'server and clients' concept sound about a protocol
and its spec to me. It's far from always needed to provide a special 'not a
data' response to a client, e. g., the file handle of a terminal device.

For this case, the request is send to tmux-server asking to create a window and
return its tty name. It's obvious for me to have an interest about performing
such a request-response stuff without tmux command line interaction.

Because there is the communication protocol, there are the specifications of
that protocol and one day there are other implementation(s) of the protocol
happening here and there. Like, say, mysql has a C api for its client library
and a Perl/XS module to wrap it.

Why Tmux shouldn't then?

Question was: if it happens, I'd like to know that. There are several ways to
be notified, Which is the best?

TA> I'd personally wait for my hook support patches which will help with
TA> this greatly.
TA> 
TA> [1]  https://github.com/dominikh/tmux-ruby

--
Peter Vereshagin <pe...@vereshagin.org> (http://vereshagin.org) pgp: A0E26627 

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to