For the first of these you can already use the tmux global environment
or use user options which were added very recently you only need to
worry about the second.

I do not see compelling uses that can't be solved with existing shell or
Unix features, can you give us some examples?

tmux is not a programming language or a shell so features need to fit
with it's purpose :-).


On Fri, Feb 22, 2013 at 10:19:45AM -0300, Thiago Padilha wrote:
> There are some features I feel are missing in tmux:
> 
> 1- Shared key value storage
> 
>    tmux shm set KEY VALUE  # set a value
>    tmux shm get KEY VALUE [DEFAULT] # gets a value if exists, or set
> and return a default value, if provided(in one atomic operation)
>    tmux shm pop KEY # pops a value
> 
> 2- Shared/exclusive locks and semaphores:
> 
>    tmux lock shared KEY # blocks until a shared lock can be acquired on KEY
>    tmux lock exclusive KEY # blocks until a exclusive lock can be
> acquired on KEY
>    tmux wait KEY # blocks until a signal is received on KEY
>    tmux signal KEY # unblocks processes waiting on KEY
> 
> I think those commands would open possibilities for a new level of
> tmux scripting.
> 
> I want to try to implement these features, but since I have never
> contributed to tmux(not familiar with the code either) I have a few
> questions:
> 
> 1- If I did implement those, would them be accepted?(what are the
> requirements for accepting patches?)
> 2- Do the developers see any 'big obstables' in the way of implementing this?
> 3- Is there some kind of documentation that can help me understand how
> to implement new commands?
> 
> Thanks
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to