** Eric Eric [2011-09-12 11:21:51 -0400]:

> Vladimir, thanks for the quick response.  I added -g and that did in fact
> fix the index numbering option, which is great.  Nicholas, you are correct,
> I was just starting tmux with "tmux", which I was expecting to cause it to
> read the configuration file (I guess I'm still thinking in terms of
> screen).  So starting with attach works the first time, but subsequent
> invocations of course cause tmux to attach to the current session.  Is there
> a way to start multiple sessions of tmux with the windows specified in the
> config file?

I'm not realy sure what do you mean (though I used to use screen). But
nevertheless, do you read man page (it actually great :), see
`attach-session' command. For example, if you have sessions `main' and
`misc' you can run in terminal
$ tmux -2 -u attach-session -t misc
and in another one (I assume you use some kind of WM and graphical
terminal emulator like xterm/urxvt/...)
$ tmux -2 -u attach-session -t main

But, of course, you could any time to `switch' between session in one
terminal window using `prefix'-s (see man page).

About setting session and windows in tmux config file. I use a bit
differnt approach (though I don't achieve the goal), you could see my
conf file and tmux `scripts' here:
https://github.com/vp1981/scripts/tree/master/tmux

> I forgot to include the version info last time.  It's 1.3-2 on Linux Mint 11
> running 2.6.38.

I'm suing Archlinux x86_64, tmux (svn rev. 2588),
so some conf settings might work only with tmux ver. >= 1.6.

> Thanks again for the fast and helpful response.

> - Eric

---
WBR, Vladimir Lomov

-- 
The words fly away, the writings remain.

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to