Re: man page updates (was Re: launch tmux with several window and command)

2010-01-23 Thread Robin Lee Powell
Hold off on that diff; I'm going to see about incorporating Sudish's suggestions. -Robin On Sat, Jan 23, 2010 at 12:02:52PM -0800, Robin Lee Powell wrote: > On Sat, Jan 23, 2010 at 06:15:00PM +, Nicholas Marriott wrote: > > Hi > > > > Thanks for the diff, > > > > > Index: tmux.1 > > > =

Re: man page updates (was Re: launch tmux with several window and command)

2010-01-23 Thread Robin Lee Powell
On Sat, Jan 23, 2010 at 06:15:00PM +, Nicholas Marriott wrote: > Hi > > Thanks for the diff, > > > Index: tmux.1 > > === > > RCS file: /cvsroot/tmux/tmux/tmux.1,v > > retrieving revision 1.221 > > diff -u -r1.221 tmux.1 > > --- t

Re: man page updates (was Re: launch tmux with several window and command)

2010-01-23 Thread Nicholas Marriott
Hi Thanks for the diff, > Index: tmux.1 > === > RCS file: /cvsroot/tmux/tmux/tmux.1,v > retrieving revision 1.221 > diff -u -r1.221 tmux.1 > --- tmux.119 Jan 2010 00:46:30 - 1.221 > +++ tmux.121 Jan 2010 09:33:23 -00

Re: man page updates (was Re: launch tmux with several window and command)

2010-01-21 Thread Nicholas Marriott
I'll have a look at your diff later. On Thu, Jan 21, 2010 at 01:33:56AM -0800, Robin Lee Powell wrote: > For most of what you said: You are so right, I hadn't thought it > through. > > As long as I'm tweaking the man page anyways, a few other questions > I had before, or that I've come across as

man page updates (was Re: launch tmux with several window and command)

2010-01-21 Thread Robin Lee Powell
For most of what you said: You are so right, I hadn't thought it through. As long as I'm tweaking the man page anyways, a few other questions I had before, or that I've come across as I'm working on it. If you can answer these, I will see about updating the man page as appropriate. What is tmu

Re: launch tmux with several window and command

2010-01-20 Thread Nicholas Marriott
On Wed, Jan 20, 2010 at 03:06:45PM -0800, Robin Lee Powell wrote: > On Wed, Jan 20, 2010 at 11:39:40PM +0100, Michel Le Cocq wrote: > > With my old screen I had an alias : smail wich launch screen with > > a special .screenrc like this : > > > > screen -t boiteA mutt -F $HOME/.mutt/config/.muttrc_

Re: launch tmux with several window and command

2010-01-20 Thread Nicholas Marriott
You can also do it from the command line: tmux new -d\; neww 'exec foo2'\; neww 'exec foo3'\; attach Although in this case would probably want something like: smail() { tmux attach -tmail 2>/dev/null || \ tmux new -dsmail\; neww 'exec mutt blah'\; neww 'exec foo3'\; attach } On

Re: launch tmux with several window and command

2010-01-20 Thread Robin Lee Powell
On Wed, Jan 20, 2010 at 11:39:40PM +0100, Michel Le Cocq wrote: > With my old screen I had an alias : smail wich launch screen with > a special .screenrc like this : > > screen -t boiteA mutt -F $HOME/.mutt/config/.muttrc_A > screen -t boiteB mutt -F $HOME/.mutt/config/.muttrc_B > screen -t BoiteC

Re: launch tmux with several window and command

2010-01-20 Thread Thomas Adam
On Wed, Jan 20, 2010 at 11:39:40PM +0100, Michel Le Cocq wrote: > With my old screen I had an alias : > smail wich launch screen with a special .screenrc like this : > > screen -t boiteA mutt -F $HOME/.mutt/config/.muttrc_A > screen -t boiteB mutt -F $HOME/.mutt/config/.muttrc_B > screen -t BoiteC

launch tmux with several window and command

2010-01-20 Thread Michel Le Cocq
With my old screen I had an alias : smail wich launch screen with a special .screenrc like this : screen -t boiteA mutt -F $HOME/.mutt/config/.muttrc_A screen -t boiteB mutt -F $HOME/.mutt/config/.muttrc_B screen -t BoiteC mutt -F $HOME/.mutt/config/.muttrc_C screen -t sync offlineimap How can I