I'm still finding my way around tmux, I wish I had come across it ten years ago!Autologin if you want it entirely automatic. (Did you get that issue in the thread resolved? I recall it being a little fiddly)
And then in your .profile, you will want something like:
Code:if [ "$(tty)" = "/dev/ttyv0" ]; then exec tmux fi
(There are tmux arguments that attach to an existing one if running or starting a new one if not but I don't have my old scripts on me to check currently)
I find the following steps work quite well for tmux autostart
- start tmux in background
- start irssi in tmux
- start mutt in tmux
- attach to tmux
One thing I've found, and I don't if it's just me, but when I run under Xterm I can switch between windows using C-> or C-< where
as in text mode it's C-b > or C-b < . (I actually use q as my prefix.)
I'm still looking for a script which will start three programs, but prog2 and prog3 should be in a vertically split window.
It sounds simple enough but getting this working has escaped me so far.
In addition I'm not sure if this can be achieved via tmux.conf or via a separate script.

