Can't launch new terminal via cli

Bug #599635 reported by Michael Lustfield on 2010-06-29
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

This would be a pretty big feature request... but....

It would be amazing if we could launch a new terminal inside of a named terminator instance.

terminator --title=MyStuff
terminator --title=MyStuff --new-term=vertical
terminator --title=MyStuff --new-term=horizontal

If you're up for doing that - maybe also allowing input to be moved that way too - example: terminator --title=MyStuff --move=right

Chris Jones (cmsj) on 2010-07-03
Changed in terminator:
status: New → Confirmed
importance: Undecided → Wishlist
Kejope (kejope) wrote :

Anything that makes things scriptable is beautiful to me.

I would suggest for consideration, instead of cluttering the parameter interface, do as awk does:
you can include 'quoted; script; commands;' on the command line, or you can supply a filename containing said commands, or you can just pipe it in.

Chris Jones (cmsj) wrote :

Any of these ideas need to consider that splits can be arbitrarily nested - expressing a tree structure with simple command-line arguments or quoted script commands is extremely subtle and tricky. I'd want to agree on some really awesome syntax before doing any work on this!

Heh.. maybe an API?....

get pid of launched terminator instance..

terminator_cmd --pid=``pid'' --window=``window_number'' --split-horizontal --width=75%
terminator_cmd --pid=``pid'' --window=``window_number'' --split-vertical
terminator_cmd --pid=``pid'' --window=``window_number'' --split-close
terminator_cmd --pid=``pid'' --window=``window_number'' --execute="irssi"

cat > terminator_commands <<TERM
create_window id=t1
split_vertical win=t1 id=t2
split_horizontal win=t1 id=t3
execute win=t3 irssi

terminator --cmd-file=terminator_commands

something like that sounds pretty darned spiffy! :)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers