Terminator question

Associate
Joined
13 Jan 2010
Posts
2,032
Location
A box in the Astral Plane
Hey guys!

I've been using GNS3 in Ubuntu to emulate some Cisco kit and I generally like to have all of my telnet sessions open at once.

I've downloaded Terminator because I saw that it's really easy to have a lot of sessions open on a single window, normally I use 12-16.
Basically when I open Terminator, it opens one terminal for every one of my devices which is quite useful, but it could be better.

Every time I want to start my lab over, I need to manually telnet all 12-16 devices. Is there a way to automate this process, using some kind
of script? It's a bit of a PITA having to do it every time, and I'm not very familiar with this kind of thing. Cheers. :)

Also, I forgot to reply to my thread about SSH, thanks to those who helped me out there. :)
 
I'm not sure I follow the question exactly.

I use tmux as my terminal multiplexer with urxvtd/urxvtc.

tmux is very versatile once you get the hang of it.

You can write scripts to ... launch multiple panes, say 16 tmux panes in one urxvtc instance, where each pane is also a urxvtc served by urxvtd. urxvtd/urxvtc is the client/server version or rxvt-unicode and will be more efficient then running several instances of urxvt. It also supports eyecandy if you're into that, transparency, fonts, colors etc...

As far as I remember you can also target your scripts to each pane, i.e. launch ssh client in each pane to a separate remote server.

Not that you will need it but you can also launch a nested tmux session within each pane (nested session), though this is not recommended.

Tmux saves it's state in a session, so you can connect via SSH to the box hosting the 16 panes and attach to the session since it runs fully within the terminal.

As I said, not sure if this what you're after, but hope it helps.

Edit:
http://www.linuxquestions.org/quest...ux-bash-script-create-new-windows-4175417898/
 
Last edited:
Back
Top Bottom