Re: Tmux multi-pane scripting

2013-01-04 Thread El Spliffo
Hi, thanks for your answer, guys. The "-F" option is refused by my tmux version in combination with the spliw command. I used the list-panes command result to condition my behaviour and it works really fine, as advised by jimeh. Thanks, Alex 2013/1/3 Thomas Adam > Hi, > > On 3 January 2013 13

Re: Tmux multi-pane scripting

2013-01-03 Thread Thomas Adam
Hi, On 3 January 2013 13:27, El Spliffo wrote: > Hi Thomas, > > thanks for your reply. > My problem is i don't know how to specify an id when automatically creating > my pane since i use a command send-keys to create my new pane. > Indeed, i did not find a new-pane command (similar to new-window)

Re: Tmux multi-pane scripting

2013-01-03 Thread El Spliffo
Hi Thomas, thanks for your reply. My problem is i don't know how to specify an id when automatically creating my pane since i use a command send-keys to create my new pane. Indeed, i did not find a new-pane command (similar to new-window). Thanks, Alex 2012/12/27 Thomas Adam > Hi, > > Look at

Re: Tmux multi-pane scripting

2012-12-27 Thread Thomas Adam
Hi, Look at the FORMATS section in the tmux man page, there's a variable for the count of panes per window. On Dec 27, 2012 8:12 AM, "El Spliffo" wrote: > Hi everybody, > > i made a script to open automatically my SSH sessions in a few > windows/panes, here it is : >

Tmux multi-pane scripting

2012-12-27 Thread El Spliffo
Hi everybody, i made a script to open automatically my SSH sessions in a few windows/panes, here it is : #!/bin/sh tmux new-session -d -s hawkhost tmux new-window -t hawkhost:1 -n 'VPN' 'ssh ovpn@10.10.1.70' tmux new-window -t hawkhost:2 -n 'Halo' 'ssh roo