---
** [tickets:#75] Detect and prohibit attaching other tmux instances that would
cause a cycle**
**Status:** open
**Created:** Thu Oct 31, 2013 02:18 PM UTC by Tom
**Last Updated:** Thu Oct 31, 2013 02:18 PM UTC
**Owner:** nobody
## Steps to reproduce
1. Take two tmux sessions: A, B.
2. In A, attach B.
3. In B, attach A.
## What happens
Infinite loop!
## What should happen
tmux detects the infinite loop, and stops B from attaching A.
## Notes
I'm aware to get to the infinite loop the user must have unset TMUX, and then
have been careless, but it can happen, and it's frustrating when it does.
GNU Screen, for example, denies attempts to attach A from A, but not mutually
recursive attaches, like A and B above.
https://en.wikipedia.org/wiki/Cycle_detection might be a good place to start.
---
Sent from sourceforge.net because tmux-users@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/tmux/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users