If you are interested in it from a code rather than a user perspective there is
another element called a winlink which sits between a session and its
windows. It is what allows a window to be attached to many sessions.


On Wed, Feb 10, 2010 at 10:45:56PM +0000, Nicholas Marriott wrote:
> Exactly right.
> 
> A server contains one or more sessions, each of which contains one or more
> windows, each of which contains one or more panes.
> 
> A target (used with -t) is a 3-tuple represented as session:window.pane.
> 
> The server is specified with -L (or sometimes -S) on the command line, servers
> do not communicate with other servers but you can think of it as the fourth
> element of a tuple of you like.
> 
> The terminal (or "screen" in the man page) is the outside tty (eg an xterm) in
> which tmux runs.
> 
> The client is usually best thought of as the tmux display engine which 
> occupies
> the terminal and shows a window (although in fact it actually does very 
> little,
> just prevents other programs trying to run on the same terminal).
> 
> Only terminals are really anywhere near complicated because every pane inside
> tmux displays another terminal...
> 
> 
> 
> On Wed, Feb 10, 2010 at 02:36:17PM -0800, Hibiki Kanzaki wrote:
> > I am trying to come up with a mental model for all the
> > entities (terminal, client, server, session, window, pane).
> > 
> > It seems like for me it might be simplest to imagine
> > that conceptually it is always a pane that is closest
> > to the program I see inside a window/pane, even a
> > window with only one pane.  Otherwise it would seem like
> > sometimes a program is running in a window and sometimes
> > in a pane inside a window... which might make sense to
> > me if they were client-side things, but it seems like for
> > tmux the window/pane model is really on the server side.
> > In any case it seems like I should always be able to
> > identify a single terminal by using a tuple (server,
> > session, window, pane)... always a 4-tuple.
> > 
> > ------------------------------------------------------------------------------
> > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> > http://p.sf.net/sfu/solaris-dev2dev
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to