On Tue, Sep 22, 2009 at 04:47:31AM +0200, frantisek holop wrote: > hmm, on Mon, Sep 21, 2009 at 06:36:17PM -0700, Aaron Stellman said that > > take a look at > > ./examples/n-marriott.conf in > > http://downloads.sourceforge.net/tmux/tmux-1.0.tar.gz > > thanks for the pointer. > it seems that i am missing new-session before creating new-window's.
Yes, you can't create a window without a session to put it in. > this is probably up to personal preference, but i think in the case of > sessions/windows explicitly specified in the config file, attach-session > would be a more intuitive assumed command. those sessions/windows are > probably the ones the user will want to use and creating an entirely new > and isolated session would be probably a much less often used scenario.. > (not that typing "tmux a" is so much more than "tmux", it's just the > principle) Perhaps, I'll have to think about it. It would have to use attach only when starting the server IF one or more sessions are created in the config file. Although, this kind of special-case has the potential to be just as confusing. > one could also look at it from an ontogenetic perspective: just before > starting tmux the sessions/windows inside .tmux.conf do not exist as > such, that's why i haven't thought of starting tmux with attach -- there > was nothing to attach to basically. The correct way to look at it is as a series of commands, the configuration file is executed first followed by those on the command line. I have the text of an FAQ entry written that explains what you were trying to do and some other issues but I haven't had time to finish it off yet. > as a (very) long time screen user, let me state it that tmux > is looking great and i will be holding a screen good bye party > one of these days. it was a great idea to include it in base. > (now only if apache would get the boot) thanks for the great job. > > -f > -- > the worst vice of a fanatic is his sincerity.